# HG changeset patch # User Christophe Lincoln # Date 1210881310 -7200 # Node ID be8d7caf2c51a49c71a5f7edfb7e5cbc6fc8cecb # Parent 7ad99a8f4fdea0b672ac4e5992025a945b639e28 Up: slitaz-base-files (2.2) diff -r 7ad99a8f4fde -r be8d7caf2c51 slitaz-base-files/receipt --- a/slitaz-base-files/receipt Thu May 15 21:41:53 2008 +0200 +++ b/slitaz-base-files/receipt Thu May 15 21:55:10 2008 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="slitaz-base-files" -VERSION="2.1" +VERSION="2.2" CATEGORY="base-system" SHORT_DESC="Linux tree and the necessary files for the base system." MAINTAINER="pankso@slitaz.org" @@ -38,20 +38,20 @@ $fs/var/log \ $fs/var/run \ $fs/var/spool \ - $fs/var/tmp - + $fs/var/tmp + # Copy all rootfs from the stuff and set permissions. cp -a $src/rootfs/* $fs - + chown -R root.root $fs/* chmod 1777 $fs/tmp chmod 640 $fs/etc/shadow chmod 640 $fs/etc/gshadow chmod 0750 $fs/root - + # Populate /dev with /$fs/sbin/mktazdevs.sh. ./$fs/sbin/mktazdevs.sh $fs/dev - + # Creat /etc/mtab symlink. cd $fs/etc ln -s /proc/mounts mtab @@ -74,11 +74,11 @@ echo "Restoring files from /etc/etc.bak..." cp -a $root/tmp/etc.bak/* $root/etc 2>/dev/null rm -rf $root/tmp/etc.bak - + # Reset permission. chmod 640 $root/etc/shadow chmod 640 $root/etc/gshadow - + if ! grep -q audio $root/etc/group; then if [ -n "$root" ]; then cp /etc/group $root/etc/group @@ -86,7 +86,7 @@ addgroup -g 20 audio fi fi - + # daemons.conf (tftp + dnsd) if ! grep -q ^TFTPD_OPTIONS $root/etc/daemons.conf; then echo '# Tftp daemon options.' >> $root/etc/daemons.conf