wok rev 131
Creat base dir with slitaz-base-files receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 06 21:17:31 2008 +0100 (2008-01-06) |
parents | 34227d699aa0 |
children | d703295403ca |
files | slitaz-base-files/receipt |
line diff
1.1 --- a/slitaz-base-files/receipt Sun Jan 06 21:08:42 2008 +0100 1.2 +++ b/slitaz-base-files/receipt Sun Jan 06 21:17:31 2008 +0100 1.3 @@ -12,7 +12,35 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/dev $fs/tmp 1.8 + mkdir -p \ 1.9 + $fs/bin 1.10 + $fs/dev 1.11 + $fs/home 1.12 + $fs/media/cdrom 1.13 + $fs/media/flash 1.14 + $fs/media/usbdisk 1.15 + $fs/mnt 1.16 + $fs/proc 1.17 + $fs/root 1.18 + $fs/sbin 1.19 + $fs/sys 1.20 + $fs/tmp 1.21 + $fs/usr/bin 1.22 + $fs/usr/games 1.23 + $fs/usr/lib 1.24 + $fs/usr/local 1.25 + $fs/usr/sbin 1.26 + $fs/usr/share/doc 1.27 + $fs/var/cache 1.28 + $fs/var/games 1.29 + $fs/var/lib 1.30 + $fs/var/lock 1.31 + $fs/var/log 1.32 + $fs/var/run 1.33 + $fs/var/spool 1.34 + $fs/var/tmp 1.35 + 1.36 + 1.37 # Copy all rootfs from the stuff and set permissions. 1.38 cp -a $src/rootfs/* $fs 1.39 1.40 @@ -62,7 +90,7 @@ 1.41 fi 1.42 fi 1.43 1.44 - # Add crond to daemons confi file 1.45 + # Add crond to daemons confi file (compatibility) 1.46 if ! grep -q CROND_OPTIONS $root/etc/daemons.conf; then 1.47 echo '# Cron daemon options.' >> $root/etc/daemons.conf 1.48 echo 'CROND_OPTIONS="-b"' >> $root/etc/daemons.conf