]> code.delx.au - refind/blobdiff - mkcdimage
Misc. small changes.
[refind] / mkcdimage
index ff58829ce47788bc7fa1cb760c5f5cb15887e13a..a132ee6cf95d9e81179093e7cdbac6ae47ce7c9f 100755 (executable)
--- a/mkcdimage
+++ b/mkcdimage
@@ -74,6 +74,10 @@ mkisofs -A "Bootable rEFInd" -V "rEFInd $Version" -volset "rEFInd $Version" \
 # Create a bootable USB flash drive image, using the FAT filesystem
 # created above and a stored partition table image (plus some empty
 # sectors)....
+#
+# Note: Seems to work on only a few systems, so I'm not distributing
+# the resulting images yet....
+#
 rm ../../refind-flashdrive-$Version.*
 cat $StartDir/flashparts.img refind-bin-$Version.img > refind-flashdrive-$Version.img
 cp $StartDir/README-flashdrive.txt ./
@@ -82,6 +86,7 @@ mv refind-bin-$Version refind-flashdrive-$Version
 zip -9r ../refind-flashdrive-$Version.zip \
     refind-flashdrive-$Version/refind-flashdrive-$Version.img \
     refind-flashdrive-$Version/docs refind-flashdrive-$Version/LICENSE.txt \
+    refind-flashdrive-$Version/install.sh \
     refind-flashdrive-$Version/COPYING.txt \
     refind-flashdrive-$Version/CREDITS.txt \
     refind-flashdrive-$Version/README.txt \
@@ -92,7 +97,7 @@ mv refind-flashdrive-$Version/refind-flashdrive-$Version.img ../
 cd ../
 
 # Zip up the optical disc image....
-rm refind-cd-$Version.zip
+rm -f refind-cd-$Version.zip
 zip -9 refind-cd-$Version.zip refind-cd-$Version.iso
 
-#rm -r temp/
+rm -r temp/