wok-tiny diff busybox/receipt @ rev 187

Add bootlife (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 04 18:58:39 2024 +0000 (4 months ago)
parents eb617e43dc08
children
line diff
     1.1 --- a/busybox/receipt	Wed Jul 14 09:04:04 2021 +0000
     1.2 +++ b/busybox/receipt	Sun Feb 04 18:58:39 2024 +0000
     1.3 @@ -151,9 +151,9 @@
     1.4  	ln -fs /proc/mounts $1/etc/mtab
     1.5  	cat >> $1/boot/mkrootfs.pre_exec <<EOT
     1.6  if [ -s modules ]; then
     1.7 -	while read mod; do
     1.8 +	tac modules | while read mod; do
     1.9  		sed -i "s/LOAD_MODULES=./&\$mod /" etc/rcS.conf
    1.10 -	done < modules
    1.11 +	done
    1.12  	grep ^LOAD_MODULES= etc/rcS.conf >> etc/packages.conf
    1.13  	cp etc/packages.conf boot/packages.conf
    1.14  	rm -f modules