[SoaS] livecd Digest, Vol 59, Issue 8-[Fedora-livecd-list] [PATCH] add edit-livecd script for, editing livecd based images

Thomas C Gilliard satellit at bendbroadband.com
Sun Mar 14 22:40:09 EDT 2010


Thank you for your reply;

I am forwarding your complete answer to the Soas list.

I know that there are others who would like to be aware of how to do 
this, and will want to test.

Thanks again

Tom Gilliard
satellit on freenode IRC #sugar


---------------------------------------------------------------
Joey Boggs wrote:
> On 03/12/2010 05:14 PM, Thomas C Gilliard wrote:
>> Joey;
>>
>> I would like to try it. I am a nubie, so I need a detailed 
>> instruction on how to apply it.
>>
>> It looks like it is just what I need to know how to implement.
>>
>> Tom Gilliard
>> satellit
>>
>> Joey Boggs wrote:
>>> On 03/10/2010 07:32 AM, Thomas C Gilliard wrote:
>>>> In livecd Digest, Vol 59, Issue 8, your submission:
>>>>
>>>> [Fedora-livecd-list] [PATCH] add edit-livecd script for editing    
>>>> livecd based images:
>>>>
>>>> This looks very useful. Could you please give me a detailed step by 
>>>> step description of how I could apply this?
>>>>
>>>> (I am trying to modify a soas (sugar on a stick) live CD to add 
>>>> liveusb-creator to it)  I do this now by using the liveusb-creator 
>>>> script to make a live usb and then working in the sugar terminal to 
>>>> yum install it. I then dd copy the USB to a .img file. But you 
>>>> script looks much more practical and lets me end up with a .iso 
>>>> file rather than a modified .img file.
>>>>
>>>>
>>>>
>>>> Thanks;
>>>>
>>>> Tom Gilliard
>>>> volunteer at sugarlabs.org
>>>> satellit on freenode #sugar
>>>>
>>>
>>> Did you guys have a chance to try it out? I can get it pushed into 
>>> the repo but some feedback/ack's on the list would help if you could.
>>>
>
>
> I ran through your scenario with SOAS and downloaded the 
> soas-blueberry2.iso
>
> Here's a link to the actual script so you won't need to git apply 
> it:   http://fedorapeople.org/~jboggs/edit-livecd.py
>
> # python edit-livecd.py soas-2-blueberry.iso
>
> You'll end up at a bash prompt in the chrooted SOAS file system.
>
> Since /etc/resolv.conf in the chroot'ed environment is empty I added 
> my local dns server 192.168.1.1 to it and yum installed liveusb-creator
>
> echo "nameserver 192.168.1.1" > /etc/resolv.conf
> yum install liveusb-creator -y
> # clear resolv.conf out before repacking
> echo "" > /etc/resolv.conf
>
> The yum install failed due to some depsolving errors with the livecd, 
> but I think this was due to mismatches with my host machine being 
> x86_64 and the livecd being i686 so you may be able to get this 
> working well on your end.
> ------------------------------------------------
> Running rpm_check_debug
> ERROR with rpm_check_debug vs depsolve:
> ------------------------------------------------
> Here's the full log if you wanted to take a look: 
> http://ovirt.pastebin.com/xAb9YZUf
>
> You could also take the commands from above and put it into a file and 
> then add the "-s" option to edit-livecd pointing it to that file. I'm 
> not sure if you were using other methods to add liveusb-creator but 
> those were the steps I used when testing it out.
>
>
> Joey
>
>


More information about the SoaS mailing list