wok-current annotate slitaz-boot-scripts/receipt @ rev 15770
Up tazinst-gui (3.94)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Jan 07 21:52:00 2014 +0100 (2014-01-07) |
parents | 125f73a1fa50 |
children | 0677483d2636 |
rev | line source |
---|---|
pankso@16 | 1 # SliTaz package receipt. |
pankso@16 | 2 |
pankso@16 | 3 PACKAGE="slitaz-boot-scripts" |
pascal@15532 | 4 VERSION="5.3.3" |
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" |
pascal@15021 | 8 LICENSE="GPL3" |
gokhlayeh@8012 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@12224 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" |
pankso@12880 | 12 HOST_ARCH="i486 arm" |
pankso@12880 | 13 |
pascal@1269 | 14 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf" |
pankso@16 | 15 |
pankso@12161 | 16 # Needed to fetch the keymaps and test the filesystem. |
pascal@13929 | 17 DEPENDS="kbd-base e2fsprogs busybox" |
pankso@12161 | 18 |
pankso@16 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16 | 20 # |
pankso@16 | 21 # This package is all build by genpkg, it provide the boot scripts found |
pankso@16 | 22 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also |
pankso@16 | 23 # the default inittab and the network config file used with network.sh |
pankso@16 | 24 # |
pankso@16 | 25 genpkg_rules() |
pankso@16 | 26 { |
pankso@12977 | 27 mkdir -p $fs/usr/share |
pankso@16 | 28 cp -a $src/etc $fs |
pankso@12977 | 29 cp -a $src/bin $fs/usr |
pascal@11620 | 30 cp -a $src/init $fs |
pankso@396 | 31 cp -a $src/applications $fs/usr/share |
pankso@806 | 32 |
pankso@16 | 33 # Perms |
pankso@2787 | 34 chown -R root.root $fs |
pankso@16 | 35 chmod 755 $fs/etc/init.d/*.sh |
pankso@16 | 36 chmod 755 $fs/etc/init.d/rc* |
pascal@11620 | 37 chmod 755 $fs/init |
pankso@16 | 38 } |
pankso@16 | 39 |
pankso@12977 | 40 # Post install commands. |
pankso@16 | 41 # |
pankso@16 | 42 post_install() |
pankso@16 | 43 { |
pascal@13160 | 44 chroot $1/ /usr/bin/rcSconf up |
pankso@16 | 45 } |