wok rev 25588
updated slitaz-boot-scripts (474 -> 475)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 06 15:52:05 2023 +0100 (18 months ago) |
parents | d154d1f5c98a |
children | 30d520e30a62 |
files | slitaz-boot-scripts/receipt |
line diff
1.1 --- a/slitaz-boot-scripts/receipt Tue Jun 06 11:04:30 2023 +0000 1.2 +++ b/slitaz-boot-scripts/receipt Tue Jun 06 15:52:05 2023 +0100 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="slitaz-boot-scripts" 1.7 -VERSION="474" 1.8 +VERSION="475" 1.9 CATEGORY="base-system" 1.10 SHORT_DESC="Provide all the initialisation scripts used at boot time." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="http://www.slitaz.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.slitaz.org/" 1.17 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" 1.18 HOST_ARCH="i486 arm" 1.19 1.20 @@ -18,7 +19,7 @@ 1.21 /etc/network.conf" 1.22 1.23 # Needed to fetch the keymaps and test the filesystem. 1.24 -DEPENDS="kbd-base e2fsprogs busybox slitaz-tools" 1.25 +DEPENDS="busybox e2fsprogs kbd-base slitaz-tools" 1.26 1.27 current_version() 1.28 { 1.29 @@ -29,20 +30,20 @@ 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 # 1.33 -# This package is all build by genpkg, it provide the boot scripts found 1.34 -# in /etc/init.d with the main config file : /etc/rcS.conf. It provide also 1.35 -# the default inittab and the network config file used with network.sh 1.36 +# This package is all build by genpkg, it provides the boot scripts to be found 1.37 +# in /etc/init.d with the main configuration file: /etc/rcS.conf. It provides also 1.38 +# the default inittab and the network configuration file used with network.sh 1.39 # 1.40 genpkg_rules() 1.41 { 1.42 - cp -a $src/etc $fs 1.43 - cp -a $src/usr $fs 1.44 - cp -a $src/init $fs 1.45 + cp -a $src/etc $fs 1.46 + cp -a $src/usr $fs 1.47 + cp -a $src/init $fs 1.48 1.49 - chown -R root.root $fs 1.50 - chmod 755 $fs/etc/init.d/*.sh 1.51 - chmod 755 $fs/etc/init.d/rc* 1.52 - chmod 755 $fs/init 1.53 + chown -R root.root $fs 1.54 + chmod 755 $fs/etc/init.d/*.sh 1.55 + chmod 755 $fs/etc/init.d/rc* 1.56 + chmod 755 $fs/init 1.57 1.58 case "$ARCH" in 1.59 arm*) 1.60 @@ -61,12 +62,15 @@ 1.61 post_install() 1.62 { 1.63 case "$SLITAZ_ARCH" in 1.64 - i?86) 1.65 + (i?86) 1.66 echo 1.67 - chroot "$1/" /usr/bin/rcSconf up ;; 1.68 - arm) 1.69 - if [ ! -d "/var/lib/tazpkg/installed/slitaz-arm-configs" ]; then 1.70 + chroot "$1/" /usr/bin/rcSconf up 1.71 + ;; 1.72 + (arm) 1.73 + if [ ! -d "/var/lib/tazpkg/installed/slitaz-arm-configs" ] 1.74 + then 1.75 spk-add slitaz-arm-configs 1.76 - fi ;; 1.77 + fi 1.78 + ;; 1.79 esac 1.80 }