wok-next view slitaz-boot-scripts/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
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 }