Re: [Server-devel] Work in progress - F9 install ISO

2008-09-13 Thread Jerry Vonau
Jerry Vonau wrote:
> Martin Langhoff wrote:
>> On Fri, Sep 5, 2008 at 3:15 PM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
>>> Having had a look at the dvd, the size could be reduced by about 200meg by
>>> deleting everything in the /images directory except for stage2.img and
>>> re-rolling the iso. Then the boot.iso should be made available by its self,
>>> should someone who can't boot from usb need to use it.
>>> But, if the size of the dvd.iso is reduced as above, then it should fit on a
>>> single standard cdr. Looking for feedback first before I proceed.
>> Hmmm - are you thinking of a 'thinning' script that cuts all that fat
>> out post pungi or revisor build? Sounds reasonable to me...
>>
> Sure that works too, but the right way would be to fix buildinstall. 
> Think I'll go check anaconda's git to see if its still the same. That 
> sounds like a bug to me.
> 
> 
>> At the moment I'm playing with revisor too. The resulting img is about
>> the same size as with Pungi :-/ It's only 411MB of packages, and
>> /images weights 325MB.
>>
> Why leave the boot.iso in tree before building disc1, that is what is 
> causing the bloat. It was ok when boot.iso was only 15meg, but now...

Rough "thinning" script:
http://members.shaw.ca/jvonau/pub/mkslim

Turns the current DVD sized install iso into a CD sized one.

Should see if my pungi patches could be ported to revisor, then this 
script would not need, for the spin to fit on a cdrom.

Jerry



___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-07 Thread Jerry Vonau
Martin Langhoff wrote:
> On Sat, Sep 6, 2008 at 6:12 AM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
>> patch to F9's pungi
>> http://members.shaw.ca/jvonau/pub/diet.patch
> 
> Cool.
> 
> I'm currently using revisor, but only because it knows how to install
> a kickstart file, and it seems I'll have to hack it anyway to get it
> to manipulate the grub menu to my liking.  Do you think you can tweak
> pungi to
> 
>  - add the kickstart file we are giving it to the iso as /ks.cfg
> (similar to --include-kickstart)?
> 
think you can do a "post --nochroot" for that in pungi's kickstart file.

>  - add a grub menu item to run with the kickstart file...?
> 
--nochroot should work to copy over custom files.


If that doesn't work well enough
for pungi:

edit pungi.py at:
buildinstall.append(self.topdir)
add above that
buildinstall.append('--updates=/')

That should have /usr/lib/anaconda-runtime on your machine used instead 
of the downloaded the rpm. Now you can now edit anything in 
anaconda-runtime and pungi *should* use them in the build. Have a look 
in anaconda-runtime/boot.

I'll poke around revisor, see what I can mess up ;-)


Jerry




___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-07 Thread Martin Langhoff
On Sat, Sep 6, 2008 at 6:12 AM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
> patch to F9's pungi
> http://members.shaw.ca/jvonau/pub/diet.patch

Cool.

I'm currently using revisor, but only because it knows how to install
a kickstart file, and it seems I'll have to hack it anyway to get it
to manipulate the grub menu to my liking.  Do you think you can tweak
pungi to

 - add the kickstart file we are giving it to the iso as /ks.cfg
(similar to --include-kickstart)?

 - add a grub menu item to run with the kickstart file...?

a hook that let's us do these things from a script would be enough :-)



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-05 Thread Jerry Vonau
Jerry Vonau wrote:
> Martin Langhoff wrote:
>> On Fri, Sep 5, 2008 at 3:15 PM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
>>> Having had a look at the dvd, the size could be reduced by about 200meg by
>>> deleting everything in the /images directory except for stage2.img and
>>> re-rolling the iso. Then the boot.iso should be made available by its self,
>>> should someone who can't boot from usb need to use it.
>>> But, if the size of the dvd.iso is reduced as above, then it should fit on a
>>> single standard cdr. Looking for feedback first before I proceed.
>> Hmmm - are you thinking of a 'thinning' script that cuts all that fat
>> out post pungi or revisor build? Sounds reasonable to me...
>>
> Sure that works too, but the right way would be to fix buildinstall. 
> Think I'll go check anaconda's git to see if its still the same. That 
> sounds like a bug to me.
> 
filed https://bugzilla.redhat.com/show_bug.cgi?id=461229

> 
>> At the moment I'm playing with revisor too. The resulting img is about
>> the same size as with Pungi :-/ It's only 411MB of packages, and
>> /images weights 325MB.
>>
> Why leave the boot.iso in tree before building disc1, that is what is 
> causing the bloat. It was ok when boot.iso was only 15meg, but now...
> 

I'll do the script, if there is no action on the BZ ticket in the next 
little while. Everybody would benefit if it's fixed at the source...


Jerry

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-04 Thread Jerry Vonau
Martin Langhoff wrote:
> On Fri, Sep 5, 2008 at 3:15 PM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
>> Having had a look at the dvd, the size could be reduced by about 200meg by
>> deleting everything in the /images directory except for stage2.img and
>> re-rolling the iso. Then the boot.iso should be made available by its self,
>> should someone who can't boot from usb need to use it.
>> But, if the size of the dvd.iso is reduced as above, then it should fit on a
>> single standard cdr. Looking for feedback first before I proceed.
> 
> Hmmm - are you thinking of a 'thinning' script that cuts all that fat
> out post pungi or revisor build? Sounds reasonable to me...
> 
Sure that works too, but the right way would be to fix buildinstall. 
Think I'll go check anaconda's git to see if its still the same. That 
sounds like a bug to me.


> At the moment I'm playing with revisor too. The resulting img is about
> the same size as with Pungi :-/ It's only 411MB of packages, and
> /images weights 325MB.
> 
Why leave the boot.iso in tree before building disc1, that is what is 
causing the bloat. It was ok when boot.iso was only 15meg, but now...

> cheers,
> 
> 
> m
Jerry
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-04 Thread Martin Langhoff
On Fri, Sep 5, 2008 at 3:15 PM, Jerry Vonau <[EMAIL PROTECTED]> wrote:
> Having had a look at the dvd, the size could be reduced by about 200meg by
> deleting everything in the /images directory except for stage2.img and
> re-rolling the iso. Then the boot.iso should be made available by its self,
> should someone who can't boot from usb need to use it.
> But, if the size of the dvd.iso is reduced as above, then it should fit on a
> single standard cdr. Looking for feedback first before I proceed.

Hmmm - are you thinking of a 'thinning' script that cuts all that fat
out post pungi or revisor build? Sounds reasonable to me...

At the moment I'm playing with revisor too. The resulting img is about
the same size as with Pungi :-/ It's only 411MB of packages, and
/images weights 325MB.

cheers,


m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-04 Thread Jerry Vonau
Jerry Vonau wrote:
> Martin Langhoff wrote:
>> On Wed, Sep 3, 2008 at 6:37 PM, Martin Langhoff
>> <[EMAIL PROTECTED]> wrote:
>>> Very rough install CD. It has the packages, but you'll have to install
>>> them by hand -
>>>
>>> It will be here in about 1hr (transfer from NZ takes its time...)
>>> http://xs-dev.laptop.org/xs/other/Fedora-0.5dev-i386-DVD.iso
>>>
>>> The md5sum is b8c77b26bef11391ab5b55ce55ffe653
>> The transfer finished, and just in time I have a kickstart file that
>> gets it to install xs-config, xs-pkgs and all the appropriate
>> dependencies. See:
>>
>> http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=kickstarts/anaconda-f9.ks;h=dfd4eabc417bb09b0bc5bcabce94dd22c1c5212e;hb=HEAD
>>
>> I am using Jerry's mkusbinstall script, and copying the ks file to the
>> root of the USB drive. To get anaconda to read it you have to pass
>> "ks=hd:sdb1:/ks.cfg" to the kernel.

Having had a look at the dvd, the size could be reduced by about 200meg 
by deleting everything in the /images directory except for stage2.img 
and re-rolling the iso. Then the boot.iso should be made available by 
its self, should someone who can't boot from usb need to use it.
But, if the size of the dvd.iso is reduced as above, then it should fit 
on a single standard cdr. Looking for feedback first before I proceed.


Jerry










___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-03 Thread Martin Langhoff
On Wed, Sep 3, 2008 at 9:04 PM, Douglas Bagnall <[EMAIL PROTECTED]> wrote:
>>  - fix xs-config, idmgr
>
> In an unrelated goose chase, I removed sqlalchemy from idmgr today.
> Not tested yet though.

timely! I was wondering whether this was the right alibi .to chop chop
chop!.. :-)



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-03 Thread Douglas Bagnall
Martin Langhoff wrote:

> Bad news:
>  - idmgr dies with an sqlalchemy error
>  - xs-config has errors in %postinst
>
> Tomorrow,
>
>  - fiddle with pungi to the kickstart included in the initrd and to
> add grub options
>  - fix xs-config, idmgr

In an unrelated goose chase, I removed sqlalchemy from idmgr today.
Not tested yet though.

douglas
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-03 Thread Jerry Vonau
Martin Langhoff wrote:
> On Wed, Sep 3, 2008 at 6:37 PM, Martin Langhoff
> <[EMAIL PROTECTED]> wrote:
>> Very rough install CD. It has the packages, but you'll have to install
>> them by hand -
>>
>> It will be here in about 1hr (transfer from NZ takes its time...)
>> http://xs-dev.laptop.org/xs/other/Fedora-0.5dev-i386-DVD.iso
>>
>> The md5sum is b8c77b26bef11391ab5b55ce55ffe653
> 
> The transfer finished, and just in time I have a kickstart file that
> gets it to install xs-config, xs-pkgs and all the appropriate
> dependencies. See:
> 
> http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=kickstarts/anaconda-f9.ks;h=dfd4eabc417bb09b0bc5bcabce94dd22c1c5212e;hb=HEAD
> 
> I am using Jerry's mkusbinstall script, and copying the ks file to the
> root of the USB drive. To get anaconda to read it you have to pass
> "ks=hd:sdb1:/ks.cfg" to the kernel.

edit the boot-loader's cfg file and append that as an argument.

> Good news: The network is configured correctly - defautls to server 1 - a
> 
cool. work pays off.

> Bad news:
>  - idmgr dies with an sqlalchemy error
>  - xs-config has errors in %postinst
> 
> Tomorrow,
> 
>  - fiddle with pungi to the kickstart included in the initrd and to
> add grub options
ok, initrd works, but lets debug it from the usbkey for now, for the 
%post stuff, edits are much easier.. ;-)
note: anaconda may fail to find the ks file on the usbkey the first 
time, usb still coming up.. just hit enter, should work the second time, 
nobody is using a serial console yet, right?

>  - fix xs-config, idmgr
> 
> cheers,
Jerry

___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Work in progress - F9 install ISO

2008-09-03 Thread Martin Langhoff
On Wed, Sep 3, 2008 at 6:37 PM, Martin Langhoff
<[EMAIL PROTECTED]> wrote:
> Very rough install CD. It has the packages, but you'll have to install
> them by hand -
>
> It will be here in about 1hr (transfer from NZ takes its time...)
> http://xs-dev.laptop.org/xs/other/Fedora-0.5dev-i386-DVD.iso
>
> The md5sum is b8c77b26bef11391ab5b55ce55ffe653

The transfer finished, and just in time I have a kickstart file that
gets it to install xs-config, xs-pkgs and all the appropriate
dependencies. See:

http://dev.laptop.org/git?p=projects/xs-livecd;a=blob;f=kickstarts/anaconda-f9.ks;h=dfd4eabc417bb09b0bc5bcabce94dd22c1c5212e;hb=HEAD

I am using Jerry's mkusbinstall script, and copying the ks file to the
root of the USB drive. To get anaconda to read it you have to pass
"ks=hd:sdb1:/ks.cfg" to the kernel.

Good news: The network is configured correctly - defautls to server 1 - a

Bad news:
 - idmgr dies with an sqlalchemy error
 - xs-config has errors in %postinst

Tomorrow,

 - fiddle with pungi to the kickstart included in the initrd and to
add grub options
 - fix xs-config, idmgr

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Work in progress - F9 install ISO

2008-09-02 Thread Martin Langhoff
Very rough install CD. It has the packages, but you'll have to install
them by hand -

It will be here in about 1hr (transfer from NZ takes its time...)
http://xs-dev.laptop.org/xs/other/Fedora-0.5dev-i386-DVD.iso

The md5sum is b8c77b26bef11391ab5b55ce55ffe653

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel