|
From: Serge L. <sma...@us...> - 2009-01-14 19:03:19
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv7070/d Modified Files: build-iso Added Files: squashfs Log Message: - updated bind (openssl bug fixed) - updated EXAMPLES in dst - re-added frandom patch - added initial squashfs support Index: build-iso =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/build-iso,v retrieving revision 1.82 retrieving revision 1.83 diff -u -d -r1.82 -r1.83 --- build-iso 19 May 2008 12:37:20 -0000 1.82 +++ build-iso 14 Jan 2009 19:03:09 -0000 1.83 @@ -417,6 +417,9 @@ -iso-level 2 \ -quiet . + if [ "$CONFIG_SQUASHFS" = "y" ]; then + mksquashfs $CDDIR $WORKDIR/bootcd.squash + fi popd > /dev/null popd > /dev/null --- NEW FILE: squashfs --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/squashfs,v $ # $Revision: 1.1 $ # $Date: 2009/01/14 19:03:09 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: squashfs # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings case $1 in build ) if [ "$CONFIG_SQUASHFS" = "y" ]; then if [ ! -f .dl.patch.done ]; then bzcat $SRCDIR/squashfs3.4-dl.patch.bz2 | patch -p0 || exit 1 touch .dl.patch.done fi # patch kernel SQUASHFS_DIR=`pwd` pushd $KERNELDIR > /dev/null patch -p1 < $SQUASHFS_DIR/kernel-patches/linux-2.6.27-rc4/squashfs3.4-patch || exit 1 echo -e "CONFIG_SQUASHFS=y\n# CONFIG_SQUASHFS_EMBEDDED is not set\nCONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3\n" >> .config || exit 1 popd > /dev/null # Build userspace make -C squashfs-tools/ all || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_SQUASHFS" = "y" ]; then cp -af squashfs-tools/{mksquashfs,unsquashfs} /usr/sbin/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |