wok-next annotate slitaz-boot-scripts/receipt @ rev 13499
Add zfs-fuse
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 13 11:15:07 2012 +0200 (2012-10-13) |
parents | e8cae791f03f |
children | d822db9c6f0b |
rev | line source |
---|---|
pankso@16 | 1 # SliTaz package receipt. |
pankso@16 | 2 |
pankso@16 | 3 PACKAGE="slitaz-boot-scripts" |
pascal@13290 | 4 VERSION="5.2" |
pankso@178 | 5 CATEGORY="base-system" |
pankso@16 | 6 SHORT_DESC="Provide all the initialisation scripts used at boot time." |
pankso@16 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8012 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16 | 9 WEB_SITE="http://www.slitaz.org/" |
pascal@12224 | 10 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@12880 | 11 HOST_ARCH="i486 arm" |
pankso@12880 | 12 |
pascal@1269 | 13 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf" |
pankso@16 | 14 |
pankso@12161 | 15 # Needed to fetch the keymaps and test the filesystem. |
pankso@12161 | 16 DEPENDS="kbd-base e2fsprogs" |
pankso@12161 | 17 |
pankso@16 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16 | 19 # |
pankso@16 | 20 # This package is all build by genpkg, it provide the boot scripts found |
pankso@16 | 21 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also |
pankso@16 | 22 # the default inittab and the network config file used with network.sh |
pankso@16 | 23 # |
pankso@16 | 24 genpkg_rules() |
pankso@16 | 25 { |
pankso@12977 | 26 mkdir -p $fs/usr/share |
pankso@16 | 27 cp -a $src/etc $fs |
pankso@12977 | 28 cp -a $src/bin $fs/usr |
pascal@11620 | 29 cp -a $src/init $fs |
pankso@396 | 30 cp -a $src/applications $fs/usr/share |
pankso@806 | 31 |
pankso@16 | 32 # Perms |
pankso@2787 | 33 chown -R root.root $fs |
pankso@16 | 34 chmod 755 $fs/etc/init.d/*.sh |
pankso@16 | 35 chmod 755 $fs/etc/init.d/rc* |
pascal@11620 | 36 chmod 755 $fs/init |
pankso@16 | 37 } |
pankso@16 | 38 |
pankso@12977 | 39 # Post install commands. |
pankso@16 | 40 # |
pankso@16 | 41 post_install() |
pankso@16 | 42 { |
pascal@13160 | 43 chroot $1/ /usr/bin/rcSconf up |
pankso@16 | 44 } |