wok-next view slitaz-boot-scripts/receipt @ rev 16156

Up slitaz-boot-scripts (5.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 28 15:00:50 2014 +0000 (2014-03-28)
parents 7b0dd84e835d
children 978bed95e0f5
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="5.4.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Provide all the initialisation scripts used at boot time."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf"
16 # Needed to fetch the keymaps and test the filesystem.
17 DEPENDS="kbd-base e2fsprogs busybox"
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 #
21 # This package is all build by genpkg, it provide the boot scripts found
22 # in /etc/init.d with the main config file : /etc/rcS.conf. It provide also
23 # the default inittab and the network config file used with network.sh
24 #
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $src/etc $fs
29 cp -a $src/bin $fs/usr
30 cp -a $src/init $fs
31 cp -a $src/applications $fs/usr/share
33 # Perms
34 chown -R root.root $fs
35 chmod 755 $fs/etc/init.d/*.sh
36 chmod 755 $fs/etc/init.d/rc*
37 chmod 755 $fs/init
38 }
40 # Post install commands.
41 #
42 post_install()
43 {
44 chroot $1/ /usr/bin/rcSconf up
45 }