wok diff busybox-pam/receipt @ rev 7236

Fixed unzip to have all packgaes in bin folder instead of just unzip. This way you can unzip packages with xarchive when it needs zipinfo.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 12 21:36:21 2010 +0000 (2010-11-12)
parents a841d189e474
children ca2a832193d8
line diff
     1.1 --- a/busybox-pam/receipt	Tue Oct 12 16:37:45 2010 +0200
     1.2 +++ b/busybox-pam/receipt	Fri Nov 12 21:36:21 2010 +0000
     1.3 @@ -54,38 +54,35 @@
     1.4      cp -a stuff/etc $fs
     1.5      mkdir -p $fs/etc/init.d
     1.6      # Busybox config files.
     1.7 -    # genpkg busybox-pam depends on busybox config files
     1.8 -    # Note: no space/tab before WANTED
     1.9 -WANTED="busybox"
    1.10 -    cd $WOK/$SOURCE
    1.11      fs=$WOK/$PACKAGE/taz/$PACKAGE-$VERSION/fs
    1.12 -    cp stuff/busybox.conf $fs/etc
    1.13 +    busybox_stuff=$WOK/$SOURCE/stuff
    1.14 +    cp $busybox_stuff/busybox.conf $fs/etc
    1.15      chmod 600 $fs/etc/busybox.conf
    1.16 -    cp stuff/dnsd.conf $fs/etc
    1.17 -    cp stuff/udhcpd.conf $fs/etc
    1.18 +    cp $busybox_stuff/dnsd.conf $fs/etc
    1.19 +    cp $busybox_stuff/udhcpd.conf $fs/etc
    1.20      touch $fs/etc/resolv.conf
    1.21 -    cp stuff/inetd.conf $fs/etc
    1.22 -    cp stuff/daemon $fs/etc/init.d
    1.23 +    cp $busybox_stuff/inetd.conf $fs/etc
    1.24 +    cp $busybox_stuff/daemon $fs/etc/init.d
    1.25      for i in crond dnsd ftpd httpd inetd klogd ntpd syslogd telnetd tftpd \
    1.26  	     udhcpd zcip ; do
    1.27  	grep -qi config_$i=y $src/.config &&
    1.28  	ln -s daemon $fs/etc/init.d/$i
    1.29      done
    1.30 -    cp stuff/init $fs
    1.31 +    cp $busybox_stuff/init $fs
    1.32      rm $fs/linuxrc
    1.33      mkdir -p $fs/etc/modprobe.d
    1.34      # Udhcpc stuff.
    1.35      mkdir -p $fs/usr/share/udhcpc
    1.36 -    cp stuff/udhcp.script $fs/usr/share/udhcpc/default.script
    1.37 +    cp $busybox_stuff/udhcp.script $fs/usr/share/udhcpc/default.script
    1.38      chmod +x $fs/usr/share/udhcpc/default.script
    1.39      # ZeroConf stuff.
    1.40 -    cp stuff/zcip.script $fs/etc
    1.41 +    cp $busybox_stuff/zcip.script $fs/etc
    1.42      # Httpd stuff.
    1.43 -    cp stuff/httpd_helper.sh $fs/usr/bin
    1.44 +    cp $busybox_stuff/httpd_helper.sh $fs/usr/bin
    1.45      chmod +x $fs/usr/bin/httpd_helper.sh
    1.46      # .desktop stuff
    1.47      mkdir -p $fs/usr/share
    1.48 -    cp -a stuff/applications $fs/usr/share
    1.49 +    cp -a $busybox_stuff/applications $fs/usr/share
    1.50  }
    1.51  
    1.52  # Force glibc-2.7 reinstall if 2.3.6 still in use.