diff --git a/livecd-tools-027-make-liveusb-work-damnit.patch b/livecd-tools-027-make-liveusb-work-damnit.patch new file mode 100644 index 0000000..d2bd307 --- /dev/null +++ b/livecd-tools-027-make-liveusb-work-damnit.patch @@ -0,0 +1,13 @@ +diff --git a/imgcreate/live.py b/imgcreate/live.py +index 85de975..ed3d563 100644 +--- a/imgcreate/live.py ++++ b/imgcreate/live.py +@@ -416,7 +416,7 @@ menu hiddenrow 5 + + def __get_image_stanza(self, is_xen, isDracut, **args): + if isDracut: +- args["rootlabel"] = "live:LABEL=%(fslabel)s" % args ++ args["rootlabel"] = "live:CDLABEL=%(fslabel)s" % args + else: + args["rootlabel"] = "CDLABEL=%(fslabel)s" % args + diff --git a/livecd-tools.spec b/livecd-tools.spec index 32a3d10..a1d5deb 100644 --- a/livecd-tools.spec +++ b/livecd-tools.spec @@ -5,11 +5,12 @@ Summary: Tools for building live CDs Name: livecd-tools Version: 027 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: System Environment/Base URL: http://git.fedorahosted.org/git/livecd Source0: %{name}-%{version}.tar.bz2 +Patch0: livecd-tools-027-make-liveusb-work-damnit.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: python-imgcreate = %{version}-%{release} Requires: mkisofs @@ -51,6 +52,7 @@ like live image or appliances. %prep %setup -q +%patch0 -p1 %build make @@ -81,6 +83,10 @@ rm -rf $RPM_BUILD_ROOT %{python_sitelib}/imgcreate/*.pyc %changelog +* Tue Sep 15 2009 Warren Togami - 027-2 +- test patch to make LiveUSB work again, need to be sure it doesn't + break LiveCD before committing in the next version + * Thu Sep 10 2009 Warren Togami - 027-1 - Support new dracut output filename /boot/initramfs-* - Fix cleanup of fake /selinux directory during teardown Bug #522224