wok-current rev 20217
syslinux: rework post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 25 17:09:18 2018 +0100 (2018-02-25) |
parents | 4a1336eda4f9 |
children | 9b57fc640578 |
files | syslinux/receipt |
line diff
1.1 --- a/syslinux/receipt Sat Feb 24 22:10:29 2018 +0100 1.2 +++ b/syslinux/receipt Sun Feb 25 17:09:18 2018 +0100 1.3 @@ -13,7 +13,6 @@ 1.4 CONFIG_FILES="/boot/isolinux/*.cfg /boot/isolinux/kbd" 1.5 TAGS="boot" 1.6 1.7 -DEPENDS="ipxe memtest" 1.8 BUILD_DEPENDS="wget kbd-base perl nasm dev86 lzma mingw32-gcc upx posixovl \ 1.9 util-linux-uuid-dev advancecomp libidn linld" 1.10 1.11 @@ -149,7 +148,9 @@ 1.12 sed '/MENU TITLE/!d;s/MENU TITLE //' > $1/etc/slitaz-version \ 1.13 < "$1/boot/isolinux/isolinux.cfg" 1.14 for i in $(grep -ls boot/isolinux/isolinux.cfg \ 1.15 - "$1/var/lib/tazpkg/install/*/receipt"); do 1.16 - chroot "$1" tazpkg reconfigure $(basename ${i%/*}) 1.17 + $1/var/lib/tazpkg/installed/*/receipt); do 1.18 + pkg=$(basename ${i%/*}) 1.19 + [ "$pkg" == "$PACKAGE" ] || 1.20 + root=/ chroot "$1" tazpkg reconfigure $pkg 1.21 done 1.22 }