[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r11673: Fixed a small bug in create-usb where a redundant directory (incognito/trunk/root_overlay/usr/sbin)



Author: anonym
Date: 2007-09-27 13:47:28 -0400 (Thu, 27 Sep 2007)
New Revision: 11673

Modified:
   incognito/trunk/root_overlay/usr/sbin/create-usb
Log:
Fixed a small bug in create-usb where a redundant directory was copied.
Qemu is not copied as it doesn't work yet (vvfat is broken)


Modified: incognito/trunk/root_overlay/usr/sbin/create-usb
===================================================================
--- incognito/trunk/root_overlay/usr/sbin/create-usb	2007-09-27 17:30:00 UTC (rev 11672)
+++ incognito/trunk/root_overlay/usr/sbin/create-usb	2007-09-27 17:47:28 UTC (rev 11673)
@@ -123,9 +123,9 @@
 # Required files
 IMAGE="image.squashfs"
 REQUIRED_FILES="isolinux/isolinux.cfg isolinux/vesamenu.c32 isolinux/splash.png isolinux/gentoo isolinux/gentoo.igz ${IMAGE}"
-EXCLUDE="System.map-gentoo|isolinux.bin|boot.cat|kernels.msg"
+EXCLUDE="System.map-gentoo|isolinux.bin|boot.cat|kernels.msg|qemu"
 COPY_FILES=$( find ${MEDIAROOT} ! -type d | egrep -v "$EXCLUDE" | sed "s|${MEDIAROOT}/||g" )
-DIRS=$( find ${MEDIAROOT} -type d | egrep -v "$EXCLUDE" | sed "s|${MEDIAROOT}/||g" | sed "s|isolinux|syslinux|g")
+DIRS=$( find ${MEDIAROOT} -type d | egrep -v "$EXCLUDE" | sed "s|${MEDIAROOT}||g" | sed "s|isolinux|syslinux|g" )
 
 # Find the dialog command
 DIALOG="$(which Xdialog 2>/dev/null)"