commit 5cb8d4cf240fe8554e87e17bc6ea4e4da27b1953
Author: Dave <dcr226(a)fedoraproject.org>
Date: Tue Nov 16 21:10:09 2010 +0000
fix for CHECKSUM files. Disabled large copy to test
multiboot-media-creator-0.1 | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/multiboot-media-creator-0.1 b/multiboot-media-creator-0.1
index 7de045c..68bf3e1 100644
--- a/multiboot-media-creator-0.1
+++ b/multiboot-media-creator-0.1
@@ -23,7 +23,7 @@ do
grep -q live tmp/isolinux/isolinux.cfg && status="Live" ||
status="NotLive"
echo $status
if [ $status = "Live" ]; then
- cp -rfv tmp/* image/${BN}/
+# cp -rfv tmp/* image/${BN}/
cat >> image/boot/grub/grub.conf <<EOT
title ${BN}
kernel /${BN}/isolinux/vmlinuz0 root=live:LABEL=Multi-Boot live_dir=/${BN}/LiveOS/
rootfstype=auto ro liveimg quiet rhgb
@@ -44,7 +44,9 @@ title ${BN}
kernel /${BN}/boot/vmlinuz repo=hd:LABEL=Multi-Boot:/${BN}/
initrd /${BN}/boot/initrd.img
EOT
- cp -fv $i* image/${BN}/
+# cp -fv $i image/${BN}/
+ CS=$(echo ${BN} | sed "s/DVD/CHECKSUM/g")
+ cp -fv $CS* image/${BN}/CHECKSUM/
umount -v tmp
fi
done
Show replies by date