livecd-iso-to-disk needs an update

Bug #417415 reported by Sebastian Dziallas
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sugar on a Stick
Won't Fix
Low
Unassigned

Bug Description

We need to figure out a way to put SoaS on USB keys. Therefore, the current default, livecd-iso-to-disk needs an update. Also, we might want to investigate using dd, which should be supported by F12.

Revision history for this message
Sebastian Dziallas (sdziallas) wrote :

This has been updated on Sunjammer, but still needs to be pushed into GIT.

Changed in soas:
status: New → In Progress
importance: Undecided → Low
Revision history for this message
Sebastian Dziallas (sdziallas) wrote :

And this has been committed, is closed now.

Changed in soas:
status: In Progress → Fix Released
Revision history for this message
Frederick Grose (fgrose) wrote :

soas04.iso contains an old livecd-iso-to-disk. If we had a current version, we could loop mount the iso and create Live USB images and virtual machines.

Changed in soas:
status: Fix Released → Incomplete
Revision history for this message
Sebastian Dziallas (sdziallas) wrote :

I'm not sure whether I understand this? The livecd-iso-to-disk version in SoaS is current. Note that the hack-ish script I announced a few days ago is obsolete now, since running something like this should (according to daveb) duplicate it: livecd-iso-to-disk.sh --overlay-size-mb 256 --home-size-mb 256 --unencrypted-home /dev/sr0 /dev/sdc1

Revision history for this message
Frederick Grose (fgrose) wrote :

The attached file is the output of
 diff livecd-iso-to-disk tools_livecd-iso-to-disk.sh

where livecd-iso-to-disk came from soas04.iso (/LiveOS/livecd-iso-to-disk), and
tools_livcd-iso-to-disk.sh came from http://bit.ly/livecd-iso-to-disk.

Revision history for this message
Sebastian Dziallas (sdziallas) wrote :

Oh, I see. Well, the bit.ly link I posted to the list *always* grabs the latest version of the script from Fedora's GIT repository. So it'll be almost impossible for them to have this version packaged in the RPM. I don't think it's much of an issue here, though, as it should basically just work (even the version currently in the livecd-tools package, and that way on SoaS).

Changed in soas:
status: Incomplete → Won't Fix
Revision history for this message
Frederick Grose (fgrose) wrote :

OK, I understand.

But to facilitate the self-contained ability to clone the Live CD image, we should verify that our released version of the script works.

The soas04.iso version does not work, because of the missing /sbin/blkid file used on the following line:
USBLABEL="UUID=$(/sbin/blkid -s UUID -o value $USBDEV)" (on disc, changed on 2009-06-17 [1])
USBLABEL="UUID=$(/lib/udev/vol_id -u $USBDEV)" (needed)

In order to enable the self-contained ability to clone a Live USB image, we (Fedora) should add a line to copy the livecd-iso-to-disk shell script to the newly installed image. Then each SoaS installation would carry this versatile cloning tool innately with it, wherever it went.

I've submitted this enhancement request, https://fedorahosted.org/liveusb-creator/ticket/625.

[1] http://git.fedoraproject.org/git/?p=hosted/livecd;a=history;f=tools/livecd-iso-to-disk.sh;h=67b25b7f38c36240c69004971db32e92f2636b02;hb=HEAD

Revision history for this message
Frederick Grose (fgrose) wrote :

Sorry, I got the changes reversed.

The /LiveOS/livecd-iso-to-disk file on the soas04.iso contains the old line:
USBLABEL="UUID=$(/lib/udev/vol_id -u $USBDEV)"

and needs the newer line:
USBLABEL="UUID=$(/sbin/blkid -s UUID -o value $USBDEV)"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.