From apevec at gmail.com Thu Nov 5 22:40:12 2009 From: apevec at gmail.com (Alan Pevec) Date: Thu, 5 Nov 2009 23:40:12 +0100 Subject: [Fedora-livecd-list] tools/livecd-iso-to-disk.sh In-Reply-To: <71b2a8b80910291631v76b99610lfdbedb73c0836c22@mail.gmail.com> References: <20091029212433.20C781201BC@lists.fedorahosted.org> <71b2a8b80910291631v76b99610lfdbedb73c0836c22@mail.gmail.com> Message-ID: <2be7262f0911051440x65faff2fjd3ccd59c9332a71c@mail.gmail.com> On Fri, Oct 30, 2009 at 12:31 AM, Jeremy Katz wrote: >> New commits: >> commit 09678eb9284f2df7618c4609998fd3bd95787251 >> Author: Warren Togami >> Date: ? Thu Oct 29 17:22:58 2009 -0400 >> >> ? ?livecd-iso-to-disk properly configures a Fedora 12 Installer DVD for USB boot >> ? ?Requires: ext3 filesystem on target device > > livecd-iso-to-disk as its name maybe implies is for livecds. ?The > installer images aren't livecds. ?Trying to support them here is the > wrong answer. ?It's already bad enough spaghetti shell code. > I think we already discussed this some time ago: this patch embeds the knowledge about Anaconda install disk so anaconda project would be a better place to maintain it. What if anaconda changed its ISO image layout? From jkeating at redhat.com Sun Nov 8 21:03:12 2009 From: jkeating at redhat.com (Jesse Keating) Date: Sun, 8 Nov 2009 13:03:12 -0800 Subject: [Fedora-livecd-list] [PATCH] Disable iswmd on live images for now Message-ID: <1257714192-8357-1-git-send-email-jkeating@redhat.com> This can lead to corrupt Intel raid arrays (533739) --- imgcreate/live.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/imgcreate/live.py b/imgcreate/live.py index 78cbff7..c4d2025 100644 --- a/imgcreate/live.py +++ b/imgcreate/live.py @@ -465,7 +465,7 @@ menu hiddenrow 5 # tell dracut not to ask for LUKS passwords or activate mdraid sets if isDracut: - kern_opts = kernel_options + " rd_NO_LUKS rd_NO_MD" + kern_opts = kernel_options + " rd_NO_LUKS rd_NO_MD noiswmd" else: kern_opts = kernel_options -- 1.6.5.2 From katzj at fedoraproject.org Mon Nov 9 02:47:10 2009 From: katzj at fedoraproject.org (Jeremy Katz) Date: Sun, 8 Nov 2009 21:47:10 -0500 Subject: [Fedora-livecd-list] [PATCH] Disable iswmd on live images for now In-Reply-To: <1257714192-8357-1-git-send-email-jkeating@redhat.com> References: <1257714192-8357-1-git-send-email-jkeating@redhat.com> Message-ID: <71b2a8b80911081847n19848b5bk2801e833ca554a9f@mail.gmail.com> On Sun, Nov 8, 2009 at 4:03 PM, Jesse Keating wrote: > This can lead to corrupt Intel raid arrays (533739) Just stick it in the spin config. We explicitly have support for passing options so that livecd-creator doesn't have to know about every tiny little detail of how systems are buggy ;-) - Jeremy From jkeating at redhat.com Mon Nov 9 04:09:07 2009 From: jkeating at redhat.com (Jesse Keating) Date: Sun, 08 Nov 2009 20:09:07 -0800 Subject: [Fedora-livecd-list] [PATCH] Disable iswmd on live images for now In-Reply-To: <71b2a8b80911081847n19848b5bk2801e833ca554a9f@mail.gmail.com> References: <1257714192-8357-1-git-send-email-jkeating@redhat.com> <71b2a8b80911081847n19848b5bk2801e833ca554a9f@mail.gmail.com> Message-ID: <1257739747.2468.14.camel@localhost.localdomain> On Sun, 2009-11-08 at 21:47 -0500, Jeremy Katz wrote: > > Just stick it in the spin config. We explicitly have support for > passing options so that livecd-creator doesn't have to know about > every tiny little detail of how systems are buggy ;-) I looked, in a hurry, and didn't find an obvious place for it, so I just went with what everybody else was saying, stuff it where the other options are :/ -- Jesse Keating Fedora -- Freedom? is a feature! identi.ca: http://identi.ca/jkeating -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From jkeating at redhat.com Mon Nov 9 04:50:15 2009 From: jkeating at redhat.com (Jesse Keating) Date: Sun, 08 Nov 2009 20:50:15 -0800 Subject: [Fedora-livecd-list] [PATCH] Disable iswmd on live images for now In-Reply-To: <1257739747.2468.14.camel@localhost.localdomain> References: <1257714192-8357-1-git-send-email-jkeating@redhat.com> <71b2a8b80911081847n19848b5bk2801e833ca554a9f@mail.gmail.com> <1257739747.2468.14.camel@localhost.localdomain> Message-ID: <1257742215.2468.16.camel@localhost.localdomain> On Sun, 2009-11-08 at 20:09 -0800, Jesse Keating wrote: > On Sun, 2009-11-08 at 21:47 -0500, Jeremy Katz wrote: > > > > Just stick it in the spin config. We explicitly have support for > > passing options so that livecd-creator doesn't have to know about > > every tiny little detail of how systems are buggy ;-) > > I looked, in a hurry, and didn't find an obvious place for it, so I just > went with what everybody else was saying, stuff it where the other > options are :/ N/m, I see it in the bug. So yeah, this patch can go nowhere as far as I'm concerned, we can undo the patch in the package at some point in F12's lifespan. -- Jesse Keating Fedora -- Freedom? is a feature! identi.ca: http://identi.ca/jkeating -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: From traxtopel at gmail.com Wed Nov 18 18:32:35 2009 From: traxtopel at gmail.com (Grant Williamson) Date: Wed, 18 Nov 2009 19:32:35 +0100 Subject: [Fedora-livecd-list] Fedora 12 livecd with overlay - plymouth does not prompt for password. In-Reply-To: <2be7262f0910230656j31f12893kfa01014c4ca3117e@mail.gmail.com> References: <20091020022238.95B64120207@lists.fedorahosted.org> <2be7262f0910230656j31f12893kfa01014c4ca3117e@mail.gmail.com> Message-ID: <4B043DC3.4020209@gmail.com> I created a livecd of fedora 12 using the templates provided, and put this on usb with an overlay. livecd-iso-to-disk --home-size-mb 2048 --overlay-size-mb 2048 fedora12.iso /dev/sdb1 I add a luks password, in my case "test". My default plymouth theme is set to spinfinity. During the boot process, plymouth does not prompt me for a password, my machine boots, but /home is not mounted. If I boot in runlevel 3, I am prompted. Is there a problem with plymouth here? From wtogami at fedoraproject.org Mon Nov 23 03:33:24 2009 From: wtogami at fedoraproject.org (=?utf-8?b?V2FycmVuIFRvZ2FtaSDnoKXkuIrli4c=?=) Date: Mon, 23 Nov 2009 03:33:24 +0000 (UTC) Subject: [Fedora-livecd-list] 3 commits - docs/livecd-iso-to-disk.pod tools/livecd-iso-to-disk.sh Message-ID: <20091123033324.0FA7E12030A@lists.fedorahosted.org> docs/livecd-iso-to-disk.pod | 8 ++++++-- tools/livecd-iso-to-disk.sh | 10 +++++----- 2 files changed, 11 insertions(+), 7 deletions(-) New commits: commit e22eee657156d205c10ddbc93afdb006d8152b97 Author: Bernie Innocenti Date: Sun Nov 22 22:31:23 2009 -0500 LANG=C when parted output is being scraped, as localized strings cause it to fail. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 2fd6d29..95ca158 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -147,7 +147,7 @@ createGPTLayout() { read umount ${device}? &> /dev/null /sbin/parted --script $device mklabel gpt - partinfo=$(/sbin/parted --script -m $device "unit b print" |grep ^$device:) + partinfo=$(LANG=C /sbin/parted --script -m $device "unit b print" |grep ^$device:) size=$(echo $partinfo |cut -d : -f 2 |sed -e 's/B$//') /sbin/parted --script $device unit b mkpart '"EFI System Partition"' fat32 17408 $(($size - 17408)) set 1 boot on USBDEV=${device}1 @@ -169,7 +169,7 @@ createMSDOSLayout() { read umount ${device}? &> /dev/null /sbin/parted --script $device mklabel msdos - partinfo=$(/sbin/parted --script -m $device "unit b print" |grep ^$device:) + partinfo=$(LANG=C /sbin/parted --script -m $device "unit b print" |grep ^$device:) size=$(echo $partinfo |cut -d : -f 2 |sed -e 's/B$//') /sbin/parted --script $device unit b mkpart primary fat32 17408 $(($size - 17408)) set 1 boot on USBDEV=${device}1 @@ -192,7 +192,7 @@ checkGPT() { exitclean fi - partinfo=$(/sbin/parted --script -m $device "print" |grep ^$partnum:) + partinfo=$(LANG=C /sbin/parted --script -m $device "print" |grep ^$partnum:) volname=$(echo $partinfo |cut -d : -f 6) flags=$(echo $partinfo |cut -d : -f 7) if [ "$volname" != "EFI System Partition" ]; then commit ffa15aef04108b65ab395617d835266e818b9b29 Author: Bastien Nocera Date: Sun Nov 8 14:28:48 2009 +0000 Document the --efi command-line argument In the man page, and in the tool. https://bugzilla.redhat.com/show_bug.cgi?id=533687 diff --git a/docs/livecd-iso-to-disk.pod b/docs/livecd-iso-to-disk.pod index 9274ab8..c673eef 100644 --- a/docs/livecd-iso-to-disk.pod +++ b/docs/livecd-iso-to-disk.pod @@ -6,7 +6,7 @@ livecd-iso-to-disk - installs bootable CD images on a USB storage devices. =head1 SYNOPSIS -B [--format] [--reset-mbr] [--noverify] [--overlay-size-mb ] [\-\-home\-size\-mb ] [\-\-unencrypted\-home] [\-\-skipcopy] +B [--format] [--reset-mbr] [--noverify] [--efi] [--overlay-size-mb ] [\-\-home\-size\-mb ] [\-\-unencrypted\-home] [\-\-skipcopy] =head1 DESCRIPTION @@ -20,7 +20,7 @@ B is not a destructive process; any data you currently have =item --format -Formats the USB stick and creates a GPT partition table. +Formats the USB stick and creates an MS-DOS partition table (or GPT partition table if --efi is passed). =item --reset-mbr @@ -46,6 +46,10 @@ Disables the encryption of the home directory. Skips the copy of the live image to the USB stick. +=item --efi + +Create a GPT partition table when --format is passed, and install an hybrid EFI/MBR bootloader on the disk. This is necessary for most Intel Macs. + =back =head1 CONTRIBUTORS diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index e947b4a..2fd6d29 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -23,7 +23,7 @@ export PATH=/sbin:/usr/sbin:$PATH usage() { - echo "$0 [--format] [--reset-mbr] [--noverify] [--overlay-size-mb ] [--home-size-mb ] [--unencrypted-home] [--skipcopy] " + echo "$0 [--format] [--reset-mbr] [--noverify] [--overlay-size-mb ] [--home-size-mb ] [--unencrypted-home] [--skipcopy] [--efi] " exit 1 } commit 96a0ef5bf18f928beb7884935d47627101663f88 Author: Bastien Nocera Date: Mon Nov 9 12:48:28 2009 +0000 Update the root label for EFI as well EFI likes to have its root disk label set correctly as well. diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 67b25b7..e947b4a 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -596,7 +596,7 @@ fi echo "Updating boot config file" # adjust label and fstype -sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" $BOOTCONFIG $BOOTCONFIG_EFI +sed -i -e "s/CDLABEL=[^ ]*/$USBLABEL/" -e "s/rootfstype=[^ ]*/rootfstype=$USBFS/" -e "s/LABEL=[^ ]*/$USBLABEL/" $BOOTCONFIG $BOOTCONFIG_EFI if [ -n "$kernelargs" ]; then sed -i -e "s/liveimg/liveimg ${kernelargs}/" $BOOTCONFIG $BOOTCONFIG_EFI ; fi if [ "$LIVEOS" != "LiveOS" ]; then sed -i -e "s;liveimg;liveimg live_dir=$LIVEOS;" $BOOTCONFIG $BOOTCONFIG_EFI ; fi From phiporiphic at gmail.com Wed Nov 25 20:02:28 2009 From: phiporiphic at gmail.com (Mr.John) Date: Wed, 25 Nov 2009 15:02:28 -0500 Subject: [Fedora-livecd-list] Creating a PPC live image Message-ID: <6ac1a5aa0911251202y11f2f8edued7e6ea5fe8f6135@mail.gmail.com> Hello, I am trying to create a ppc live image based on the fedora-livecd-desktop kickstart. A PPC live image is conspicuously absent from the official F12 images, but I haven't been able to find out whether that's because it's currently not possible or just wasn't done. My first attempt seems to only contain an initrd for ppc64. The yaboot.conf for ppc32 says "Sorry, this LiveCD does not support your hardware". I am not sure why this happened, the kickstart files don't mention ppc64, and I ran livecd-creator on a ppc32 machine. What is the status of the livecd creation process for PPC? How can I generate a desktop live spin for ppc? Regards, John -------------- next part -------------- An HTML attachment was scrubbed... URL: From apevec at gmail.com Wed Nov 25 23:12:42 2009 From: apevec at gmail.com (Alan Pevec) Date: Thu, 26 Nov 2009 00:12:42 +0100 Subject: [Fedora-livecd-list] Re: Unnecessary SELinux Failure Condition? In-Reply-To: <4AE0D1C7.5040001@redhat.com> References: <4AAAB77E.2060803@redhat.com> <4AAAB816.3040807@redhat.com> <4AB3988B.20802@redhat.com> <71b2a8b80909242028w2c5576b0w937d9eb9aa73fbd0@mail.gmail.com> <4ABCBEBB.2040000@redhat.com> <71b2a8b80909251058q1e9675fbn911ee050fe21e298@mail.gmail.com> <4AC263C5.2040305@redhat.com> <4AE0D1C7.5040001@redhat.com> Message-ID: <2be7262f0911251512h607eb429g8dfa107d8d78ab6c@mail.gmail.com> On Thu, Oct 22, 2009 at 10:42 PM, Jay Greguske wrote: > Jay Greguske wrote: >> Jeremy Katz wrote: >> >>> On Fri, Sep 25, 2009 at 8:59 AM, Jay Greguske wrote: >>> >>> >>>> Jeremy Katz wrote: >>>> >>>> >>>>> There have been some problems more recently with the booleans stuff if >>>>> SELinux isn't enabled. ?Does that all end up working correctly still? >>>>> >>>>> >>>>> >>>> I'll look into it. Are there any you have in mind specifically? >>>> >>>> >>> Dan might remember better than I -- I vaguely remember that a lot of >>> the home directory bits and also some of the xguest stuff requires >>> working booleans >>> >>> - Jeremy >>> >>> >> I installed xguest to a running livecd (desktop ks file) and played with >> two booleans related to it: browser_write_xguest_data, and >> xguest_connect_network. With the former turned off the Guest account >> could not download files from random internet sites, and with the latter >> it couldn't connect at all, so I'd say they were functioning as >> expected. I'm pretty confident SELinux booleans are working correctly >> with these changes. If you have other tests to suggest I'd be happy to >> try them out. >> >> Thanks, >> - Jay >> >> -- >> Fedora-livecd-list mailing list >> Fedora-livecd-list at redhat.com >> https://www.redhat.com/mailman/listinfo/fedora-livecd-list >> >> > Is there anything more I can do to scoot these changes along? I don't > want them to fall off radar... > We definitely need this patch - I got few files with unlabeled_t in the image created with F12 livecd-tools (ovirt-node-image.ks) I guess setfiles replacing restorecon in your patch is what fixes it.