Re: [Server-devel] mkusbinstall enhancements

2009-02-24 Thread Martin Langhoff
On Mon, Feb 23, 2009 at 8:27 AM, Jerry Vonau jvo...@shaw.ca wrote:
 Wow, did I have a fun night for once, sorry for the delay in replying.

:-)

 That should of read --baseurl=file:///mnt/isodir/updates

I am a bit lost -- you do run a bit too fast. Or maybe erlang cooked
my noodle...

 I've uploaded a XSupdates.zip to http://members.shaw.ca/jvonau/pub/0216/
 Just unpack the zip to your usbdrive and add the line in sample.ks to
 the top of the present ks.cfg file on the usbdrive. The installer should
 add the repo into its repo setup routine and be available for the
 install.

Will review. How did you prepare the files? What's the magic?

 This look like it maybe useful to rollout incremental changes to the
 base rpms, instead of installing, then yum updating we could packages
 up the newer rpm files for use with this updates repo and have them
 installed from the get go. We could add a createrepo routine to
 mkusbinstall to create a blank repo in updates off the bat and leave the
 repo line in the ks.cfg file, should have no ill effects if there is
 nothing present in the repo.

Sounds evil. How about people who burn the iso? Or a deployment that
drives anaconda-over-nfs or similar? If we make mkusbinstall really
smart, we leave behind everyone who isn't using usb ;-)

cheers,



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- 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] mkusbinstall enhancements

2009-02-24 Thread Jerry Vonau
On Wed, 2009-02-25 at 14:47 +1300, Martin Langhoff wrote:
 On Mon, Feb 23, 2009 at 8:27 AM, Jerry Vonau jvo...@shaw.ca wrote:
  Wow, did I have a fun night for once, sorry for the delay in replying.
 
 :-)
 
  That should of read --baseurl=file:///mnt/isodir/updates
 
 I am a bit lost -- you do run a bit too fast. Or maybe erlang cooked
 my noodle...
 

Anaconda by default mounts the usb key at /mnt/isodir, I've just made
another repo available on the usb in /updates. In order to enable this
repo you need to add the repo line to the ks.cfg file 


  I've uploaded a XSupdates.zip to http://members.shaw.ca/jvonau/pub/0216/
  Just unpack the zip to your usbdrive and add the line in sample.ks to
  the top of the present ks.cfg file on the usbdrive. The installer should
  add the repo into its repo setup routine and be available for the
  install.
 
 Will review. How did you prepare the files? What's the magic?
 

I just ran createrepo . in the directory, and zipped it up. Could be
used to add local content.

  This look like it maybe useful to rollout incremental changes to the
  base rpms, instead of installing, then yum updating we could packages
  up the newer rpm files for use with this updates repo and have them
  installed from the get go. We could add a createrepo routine to
  mkusbinstall to create a blank repo in updates off the bat and leave the
  repo line in the ks.cfg file, should have no ill effects if there is
  nothing present in the repo.
 
 Sounds evil. How about people who burn the iso? Or a deployment that
 drives anaconda-over-nfs or similar? If we make mkusbinstall really
 smart, we leave behind everyone who isn't using usb ;-)
 
 cheers,
 

This is for usb ATM... To add file to an iso, mkslim could do that,
while a change to the repo line would be needed(I'd need to work up the
syntax). NSF would be a snap, uses the same logic as harddrive to fine
an iso. I'd just add the /updates to the root of the export, might just
work with out changing the repo line, but I would have to mock that up
to be sure.

Sorry got to leave for work, back in 12 hours

Jerry


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


Re: [Server-devel] mkusbinstall enhancements

2009-02-21 Thread Jerry Vonau
On Thu, 2009-02-19 at 15:02 +1300, Martin Langhoff wrote:
 On Thu, Feb 19, 2009 at 6:50 AM, Jerry Vonau jvo...@shaw.ca wrote:
  I need to append method=hd:LABEL=XSRepo:/iso to the same line,
 
  Can you change this line in the patch from:
  sed -i -e 's/cdrom:/hd:LABEL=XSRepo:/g'
  $USBMNT/$SYSLINUXPATH/isolinux.cfg
 
 I folded the second part of your patch (which I had dropped yesterday,
 sorry!) with this change in the sed line.
 
 Actually, I changed the sed line a bit to only add method if it's not
 there. If it's there, we try to replace it if it was method=cdrom. See
 
 http://dev.laptop.org/git?p=projects/xs-livecd;a=commitdiff;h=aae67834bd1f450cf365349dca02968483842535
 
 cheers,
 

Martin:

The method= part will only work with the patches in my rpm. It fails
when setting up the repos. 

I'm testing a work around for missing openssl rpm on usb installs ATM, I
placed the missing rpm in a directory /updates on the usb key. Then I
ran createrepo on that directory, and to the top of the ks.cfg file
added: repo --name=updates --baseurl=file:///mnt/isodir 

Install is running now, will report back later with results
 
Jerry


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


Re: [Server-devel] mkusbinstall enhancements

2009-02-18 Thread Martin Langhoff
On Thu, Feb 19, 2009 at 6:50 AM, Jerry Vonau jvo...@shaw.ca wrote:
 I need to append method=hd:LABEL=XSRepo:/iso to the same line,

 Can you change this line in the patch from:
 sed -i -e 's/cdrom:/hd:LABEL=XSRepo:/g'
 $USBMNT/$SYSLINUXPATH/isolinux.cfg

I folded the second part of your patch (which I had dropped yesterday,
sorry!) with this change in the sed line.

Actually, I changed the sed line a bit to only add method if it's not
there. If it's there, we try to replace it if it was method=cdrom. See

http://dev.laptop.org/git?p=projects/xs-livecd;a=commitdiff;h=aae67834bd1f450cf365349dca02968483842535

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- 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] mkusbinstall enhancements

2009-02-18 Thread Martin Langhoff
On Thu, Feb 19, 2009 at 2:36 PM, Jerry je...@vonau.ca wrote:
 User impression doesn't count? ;-) Kind of throws fully automated
 installs out the window. To support installs to CF or from the network,
 anaconda needs to be patched for F9, is installing to a XO on hold? or
 are you looking to move to F10?

It counts, and of course it matters. And very happy that you're
helping me with it. Are the anaconda RPMs with the added sleep good
for me to grab?

I'm looking to skip F10, hoping that F11 will be more worthwhile --
almost none of our probs are solved in F10, so it's pointless rebase
churn...

 That would depend on if there is any movement by fedora on official
 supporting of installs from usb... ;-)

 I wonder how many other people are using mkusbinstall outside of us?

Ahh...

 On a side note unless you use the other features of mkslim, the need
 for mkslim might go away for F11.

Yes, seen noise about that in the anaconda list. Feather up you cap -
after much pushback they realised what a big fat waste some stuff in
the images dir is.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- 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] mkusbinstall enhancements

2009-02-18 Thread Jerry Vonau
On Thu, 2009-02-19 at 15:06 +1300, Martin Langhoff wrote:
 On Thu, Feb 19, 2009 at 2:36 PM, Jerry je...@vonau.ca wrote:
  User impression doesn't count? ;-) Kind of throws fully automated
  installs out the window. To support installs to CF or from the network,
  anaconda needs to be patched for F9, is installing to a XO on hold? or
  are you looking to move to F10?
 
 It counts, and of course it matters. And very happy that you're
 helping me with it. Are the anaconda RPMs with the added sleep good
 for me to grab?
 

Should be, I tested what was there a few time on a XO. First time ran
though to completion, but I've yet to write the part to create the
olpc.fth file in %post in the ks.cfg. The rest blew up with some weird
kernel error, think my CF card might be the issue or there is some
general issue with the kernel driver for mmc, but the loader part worked
fine. Single test on desktop ran as expected. You would need to add the
rpm to a repo, and to be safe, I'd install it on the build host also. 


 I'm looking to skip F10, hoping that F11 will be more worthwhile --
 almost none of our probs are solved in F10, so it's pointless rebase
 churn...
 
  That would depend on if there is any movement by fedora on official
  supporting of installs from usb... ;-)
 
  I wonder how many other people are using mkusbinstall outside of us?
 
 Ahh...
 
  On a side note unless you use the other features of mkslim, the need
  for mkslim might go away for F11.
 
 Yes, seen noise about that in the anaconda list. Feather up you cap -
 after much pushback they realised what a big fat waste some stuff in
 the images dir is.
 

Or they just hit the size limit on a DVD, and now it matters ;-)

Jerry


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