tazlito rev 495

fix extract-distro
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 07 20:56:30 2018 +0200 (2018-05-07)
parents a48574f3e429
children 3832db9191ef
files tazlito
line diff
     1.1 --- a/tazlito	Mon May 07 20:42:30 2018 +0200
     1.2 +++ b/tazlito	Mon May 07 20:56:30 2018 +0200
     1.3 @@ -2057,8 +2057,8 @@
     1.4  		# Extract initramfs.
     1.5  		cd "$TARGET/rootfs"
     1.6  		action 'Extracting the rootfs...'
     1.7 -		for i in $(ls -r $TARGET/rootfs*); do
     1.8 -			extract_rootfs "$TARGET/rootcd/boot/$INITRAMFS" "$i"
     1.9 +		for i in $(ls -r $TARGET/rootcd/boot/rootfs*); do
    1.10 +			extract_rootfs "$i" "$TARGET/rootfs"
    1.11  		done
    1.12  		# unpack /usr
    1.13  		for i in etc/tazlito/*.extract; do