tazlito rev 16
Extract both kernel links
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 14 09:19:35 2007 +0000 (2007-12-14) |
parents | aa6ce5d69813 |
children | 6bc856bd158d |
files | tazlito |
line diff
1.1 --- a/tazlito Wed Dec 12 14:25:41 2007 +0100 1.2 +++ b/tazlito Fri Dec 14 09:19:35 2007 +0000 1.3 @@ -366,7 +366,11 @@ 1.4 mkdir -p $TARGET/rootfs 1.5 mkdir -p $TARGET/rootcd/boot 1.6 echo -n "Copying the Linux kernel..." 1.7 - cp $TMP_DIR/boot/bzImage $TARGET/rootcd/boot 1.8 + if cp $TMP_DIR/boot/vmlinuz* $TARGET/rootcd/boot 2> /dev/null; then 1.9 + ln $TARGET/rootcd/vmlinuz* $TARGET/rootcd/bzImage 1.10 + else 1.11 + cp $TMP_DIR/boot/bzImage $TARGET/rootcd/boot 1.12 + fi 1.13 status 1.14 echo -n "Copying isolinux files..." 1.15 cp -a $TMP_DIR/boot/isolinux $TARGET/rootcd/boot