wok-next annotate 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
rev   line source
al@21020 1 # SliTaz package receipt v2.
pankso@16 2
pankso@16 3 PACKAGE="slitaz-boot-scripts"
al@19881 4 VERSION="444"
pankso@178 5 CATEGORY="base-system"
al@19863 6 SHORT_DESC="Provide all the initialisation scripts used at boot time"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15021 8 LICENSE="GPL3"
pankso@16 9 WEB_SITE="http://www.slitaz.org/"
al@20888 10 REPOLOGY="-"
pankso@12880 11
al@19588 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19588 13 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
al@19588 14
pankso@16 15 # This package is all build by genpkg, it provide the boot scripts found
al@19588 16 # in /etc/init.d with the main config file /etc/rcS.conf. It provide also
pankso@16 17 # the default inittab and the network config file used with network.sh
al@21020 18
al@21020 19 genpkg_rules() {
pankso@16 20 cp -a $src/etc $fs
al@17832 21 cp -a $src/usr $fs
pascal@11620 22 cp -a $src/init $fs
pankso@806 23
pankso@2787 24 chown -R root.root $fs
pankso@16 25 chmod 755 $fs/etc/init.d/*.sh
pankso@16 26 chmod 755 $fs/etc/init.d/rc*
pascal@11620 27 chmod 755 $fs/init
al@21020 28 # Needed to fetch the keymaps and test the filesystem.
al@21020 29 DEPENDS="kbd-base e2fsprogs busybox slitaz-tools"
al@21020 30 CONFIG_FILES="/etc/inittab /etc/init.d/local.sh /etc/rcS.conf /etc/network.conf"
pankso@16 31 }
pankso@16 32
al@21020 33 post_install() {
al@21020 34 echo
al@21020 35 chroot "$1/" /usr/bin/rcSconf up
pankso@16 36 }