wok-next view slitaz-boot-scripts/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | cd7906120828 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="slitaz-boot-scripts"
4 VERSION="444"
5 CATEGORY="base-system"
6 SHORT_DESC="Provide all the initialisation scripts used at boot time"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 REPOLOGY="-"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
15 # This package is all build by genpkg, it provide the boot scripts found
16 # in /etc/init.d with the main config file /etc/rcS.conf. It provide also
17 # the default inittab and the network config file used with network.sh
19 genpkg_rules() {
20 cp -a $src/etc $fs
21 cp -a $src/usr $fs
22 cp -a $src/init $fs
24 chown -R root.root $fs
25 chmod 755 $fs/etc/init.d/*.sh
26 chmod 755 $fs/etc/init.d/rc*
27 chmod 755 $fs/init
28 # Needed to fetch the keymaps and test the filesystem.
29 DEPENDS="kbd-base e2fsprogs busybox slitaz-tools"
30 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf"
31 }
33 post_install() {
34 echo
35 chroot "$1/" /usr/bin/rcSconf up
36 }