tazlito rev 483

Russian dolls should update /cdrom/boot too
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 22 22:52:39 2018 +0100 (2018-02-22)
parents 87f7f1cc538c
children aa7849739d84
files tazlito
line diff
     1.1 --- a/tazlito	Tue Feb 06 23:25:04 2018 +0200
     1.2 +++ b/tazlito	Thu Feb 22 22:52:39 2018 +0100
     1.3 @@ -938,7 +938,7 @@
     1.4  	       "$(ls -l "$2"|cut -c1-10)$(stat -c '%a:%u:%g:%t:%T' "$2")" ]; then 
     1.5  			return 0
     1.6  
     1.7 -	fi
     1.8 +	fi 2> /dev/null
     1.9  	return 1
    1.10  }
    1.11  
    1.12 @@ -2709,6 +2709,8 @@
    1.13  
    1.14  				install_list_to_rootfs "$DISTRO/list-packages0$n" "${ROOTFS}0$n"
    1.15  
    1.16 +				cp -a ${ROOTFS}0$n/boot $ROOTCD
    1.17 +				make_bzImage_hardlink $ROOTCD/boot
    1.18  				rm -rf ${ROOTFS}0$n/boot
    1.19  
    1.20  				cd $DISTRO
    1.21 @@ -2740,6 +2742,7 @@
    1.22  			mv $ROOTFS ${ROOTFS}$i
    1.23  			gen_initramfs ${ROOTFS}$i
    1.24  			update_bootconfig "$ROOTCD/boot/isolinux" "$(cat /etc/tazlito/rootfs.list)"
    1.25 +			ROOTFS=${ROOTFS}1
    1.26  		else
    1.27  			# Initramfs and ISO image stuff.
    1.28  			gen_initramfs $ROOTFS