cookutils diff init.d/cooker @ rev 899

Some important changes:
* cook: better die handling; cook can now mark packages as broken by itself; less chatty zip extracting; rename internal function copy() to scopy(); new copy() is the main tool to copy files from $install to $fs (docs to come); automatic patching (if patches are in $stuff/patches and patch list is $stuff/patches/series); better local packages handling; update packages.info database after each successful build, virtual packages are accessible immediately after build.
* doc/cookopts.txt: added "!perlz" and "!rmpod" options description.
* modules/compressor: strip Perl files.
* modules/pkgdb: calculate estimated time for cook:pkgdb too (as well as for cook:package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 11 00:36:43 2017 +0300 (2017-05-11)
parents 4f9d23e13883
children e58a083722aa
line diff
     1.1 --- a/init.d/cooker	Sun Mar 18 00:57:01 2012 +0000
     1.2 +++ b/init.d/cooker	Thu May 11 00:36:43 2017 +0300
     1.3 @@ -15,10 +15,10 @@
     1.4  				echo "Starting $version cooker..."
     1.5  				rootfs=$SLITAZ/$version/chroot
     1.6  				if [ ! -d $rootfs/proc/1 ]; then
     1.7 -					mount -t proc proc $rootfs/proc
     1.8 -					mount -t sysfs sysfs $rootfs/sys
     1.9 +					mount -t proc   proc   $rootfs/proc
    1.10 +					mount -t sysfs  sysfs  $rootfs/sys
    1.11  					mount -t devpts devpts $rootfs/dev/pts
    1.12 -					mount -t tmpfs shm $rootfs/dev/shm
    1.13 +					mount -t tmpfs  shm    $rootfs/dev/shm
    1.14  				fi
    1.15  				if [ ! $(mount | grep -q ${rootfs}$SLITAZ/src) ]; then
    1.16  					mount -o bind $SLITAZ/src ${rootfs}$SLITAZ/src