Re: [Server-devel] Pungi minimal installer, comps.xml trick
On Tue, Sep 2, 2008 at 7:07 AM, Jerry Vonau [EMAIL PROTECTED] wrote: Martin Langhoff wrote: It is not clear to me how the anaconda team will support installs on embedded systems over serial port. And I have to keep that in mind for some of the HW options we have for the XS. Wouldn't a vnc install work here? Over serial!? The advantage is the better disk tools with the graphical installer. And good localisation to non-western languages too. Great. It only adds 200MB to our install! :-[ 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] Pungi minimal installer, comps.xml trick
Martin Langhoff wrote: On Tue, Sep 2, 2008 at 7:07 AM, Jerry Vonau [EMAIL PROTECTED] wrote: Martin Langhoff wrote: It is not clear to me how the anaconda team will support installs on embedded systems over serial port. And I have to keep that in mind for some of the HW options we have for the XS. Wouldn't a vnc install work here? Over serial!? Oh come on... over the net, you have a nic in this box right? If just for debugging, add autostep to the the kickstart file, until you have it just right. If the install stops at some point vnc in and see what went down, edit ks file, repeat The advantage is the better disk tools with the graphical installer. And good localisation to non-western languages too. Great. It only adds 200MB to our install! :-[ Not for the installer, your running off of stage2... what is available for install is a different issue. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pungi minimal installer, comps.xml trick
On Fri, Aug 29, 2008 at 12:41 PM, Robin Norwood [EMAIL PROTECTED] wrote: Ok, yes, I was confusing what gets installed on the install disc with what gets installed on the server! So as far as the stuff installed on the server goes, is GNOME or X even needed? X, Gnome, gtk, all things we could do without :-) Even alsa, unless it's needed for speaker beeps (which we want to use). There's a couple of other people looking at different aspects of this. Do you mind if we bring this discussion back to the list? Yes, I just got bit by the lack of reply-to-list. :-) Replying to the list now. Yep, I'm a bit old-style in that, hope you can forgive. 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] Pungi minimal installer, comps.xml trick
On Wed, Aug 27, 2008 at 3:41 AM, Martin Langhoff [EMAIL PROTECTED] wrote: Playing with a minimal Pungi kickstart file I get an install CD of about 500MB. If I add the xs-pkgs dependencies, things balloon to 759MB, no longer fitting in a CD. My guess is that a good 1/3 of that is related to the graphical installer and related dependencies which we don't want on the installed CD. Hi, The people working on Anaconda are moving towards deprecating the text-only installer, if not completely, then for most cases. OTOH, if you're doing kickstart installs of these things, then you don't need the graphical installer after all. -RN -- Robin Norwood The Sage does nothing, yet nothing remains undone. -Lao Tzu, Te Tao Ching ___ Server-devel mailing list [EMAIL PROTECTED] http://lists.laptop.org/listinfo/server-devel
[Server-devel] Pungi minimal installer, comps.xml trick
Playing with a minimal Pungi kickstart file I get an install CD of about 500MB. If I add the xs-pkgs dependencies, things balloon to 759MB, no longer fitting in a CD. My guess is that a good 1/3 of that is related to the graphical installer and related dependencies which we don't want on the installed CD. It's not a complete deal breaker, but I prefer to distribute images that are small, and ideally fit on 1 CD. Jerry, you mentioned that fiddling with comps.xml was an option? How do you do that? ;-) This is how I am building the F9 XS images - sudo pungi -c kickstarts/pungi-f9-minimal.ks --nosource --name XS --ver=0.5dev --force --discs=1 --nosplitmedia And pungi-f9-minimal.ks contains... ## These are public repos repo --name=release --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9arch=$basearch repo --name=olpc7 --baseurl=ttp://fedora.laptop.org/xs/testing/olpc/7/i386 repo --name=olpc9 --baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386 ## I actually use these local copies :-) #repo --name=fedora --baseurl=file:///media/disk/xs/releases/9/Fedora/i386/os/ #repo --name=everything --baseurl=file:///media/disk/xs/releases/9/Everything/i386/os/ #repo --name=olpc7 --baseurl=file:///xsrepos/testing/olpc/7/i386/ #repo --name=olpc9 --baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386 %packages --nobase [EMAIL PROTECTED] bash kernel passwd policycoreutils chkconfig authconfig rootfiles anaconda-runtime #-gnome* #-cairo #-xorg-x11-server-Xorg xs-config xs-pkgs %end 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] Pungi minimal installer, comps.xml trick
Hi all, I'm new to the list and have just been lurking around for the past week, so excuse me, but: On 27 Aug 2008, at 9:41 AM, Martin Langhoff wrote: It's not a complete deal breaker, but I prefer to distribute images that are small, and ideally fit on 1 CD. Why? What's wrong with writing the image to a DVD? (And adding in another 2 or 3 with a localized copy of Wikipedia, Gutenburg Library, and the kitchen sink?) Just curious why it has to be one CD, really. Incidentally I live in a rural area and look after 5 schools with LTSP computer labs. Bandwidth is really expensive out here, and I reckon that will be the usual case scenario for most XS deployments. -- Jeff Brown Cell: 074-101 5170 / Fax: 086-532 3508 Masimanyane Mussel Rehabilitation and Masande Nursery ~ Nutritional Projects C O F F E E B A Y ~ W I L D C O A S T ++ Website: www.wildcoast.com Blog: www.wildcoast.com/jeff 8 -- Do not believe in miracles -- rely on them. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pungi minimal installer, comps.xml trick
On 27 Aug 2008, at 10:21 AM, Martin Langhoff wrote: On Wed, Aug 27, 2008 at 7:52 PM, Jeff [EMAIL PROTECTED] wrote: Why? What's wrong with writing the image to a DVD? Don't worry about the CD :-) But I do. I'm worried that you may be applying first world standards and expect the deployment sites to run off and download, oh for example, Java, GCC, and a bunch of other essential tools, whereas the install distro should include them as a matter of course. So I'm asking again: why a single CD? This isn't Ubuntu shipping off a million copies of the latest distro for free, so why the self- imposed minimalist constraint? about 30 to 50% of the stuff that pungi puts there is not needed. I'm trying to shed it so we can fit more stuff we care about - content as you point out. As you say, the graphical installer, X, and a lot of other goodness is taking up space. A minimalist install /option/ is a Good Thing, but take the very recent XO deployment at Kliptown for example: because of a shortage of PCs they have already turned the XS into a workstation. Same thing we do with the servers in our computer labs. Please consider this a bit more carefully. Excellent. Welcome to the list! TYVM. Before I bark up the wrong tree, can someone please point me at the server plan/roadmap? -- Jeff Brown Cell: 074-101 5170 / Fax: 086-532 3508 Masimanyane Mussel Rehabilitation and Masande Nursery ~ Nutritional Projects C O F F E E B A Y ~ W I L D C O A S T ++ Website: www.wildcoast.com Blog: www.wildcoast.com/jeff 8 -- Do not believe in miracles -- rely on them. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pungi minimal installer, comps.xml trick
Martin Langhoff wrote: Playing with a minimal Pungi kickstart file I get an install CD of about 500MB. If I add the xs-pkgs dependencies, things balloon to 759MB, no longer fitting in a CD. My guess is that a good 1/3 of that is related to the graphical installer and related dependencies which we don't want on the installed CD. It's not a complete deal breaker, but I prefer to distribute images that are small, and ideally fit on 1 CD. Jerry, you mentioned that fiddling with comps.xml was an option? How do you do that? ;-) You fiddle with the comps.xml file and redefine packages that are included in the different groups that are part of your compose like @core. If they are not direct dependencies, you might be able to reduce the content. Rahul ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pungi minimal installer, comps.xml trick
Martin Langhoff wrote: Playing with a minimal Pungi kickstart file I get an install CD of about 500MB. If I add the xs-pkgs dependencies, things balloon to 759MB, no longer fitting in a CD. My guess is that a good 1/3 of that is related to the graphical installer and related dependencies which we don't want on the installed CD. It's not a complete deal breaker, but I prefer to distribute images that are small, and ideally fit on 1 CD. Jerry, you mentioned that fiddling with comps.xml was an option? How do you do that? ;-) This is how I am building the F9 XS images - sudo pungi -c kickstarts/pungi-f9-minimal.ks --nosource --name XS --ver=0.5dev --force --discs=1 --nosplitmedia And pungi-f9-minimal.ks contains... ## These are public repos repo --name=release --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9arch=$basearch repo --name=olpc7 --baseurl=ttp://fedora.laptop.org/xs/testing/olpc/7/i386 repo --name=olpc9 --baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386 ## I actually use these local copies :-) #repo --name=fedora --baseurl=file:///media/disk/xs/releases/9/Fedora/i386/os/ #repo --name=everything --baseurl=file:///media/disk/xs/releases/9/Everything/i386/os/ #repo --name=olpc7 --baseurl=file:///xsrepos/testing/olpc/7/i386/ #repo --name=olpc9 --baseurl=http://fedora.laptop.org/xs/testing/olpc/9/i386 %packages --nobase [EMAIL PROTECTED] bash kernel passwd policycoreutils chkconfig authconfig rootfiles anaconda-runtime #-gnome* #-cairo #-xorg-x11-server-Xorg xs-config xs-pkgs %end cheers, The comps.xml file can be found in the yum repo's repodata directory, just gz'd. Extract that file and edit the lines that you want to change. packagereq type=mandatoryPACKAGENAME/packagereq packagereq type=defaultPACKAGENAME/packagereq packagereq type=optionalPACKAGENAME/packagereq the type mandatory, default, optional, control what gets installed. I mass change all the default to optional. Yum still pulls in all the deps, unless there is a broken dep in a rpm, so things should still still work, just what gets selected is much smaller. Need to have a package installed, add that one to the kickstart file. Now tell createrepo to use it with the -g option or point pungi it. Jerry ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Pungi minimal installer, comps.xml trick
2008/8/28 Jeff [EMAIL PROTECTED]: But I do. I'm worried that you may be applying first world standards Don't let knee-jerk reactions dominate :-) I am on a very slow int'l connection. I expect most pilot site and several XS volunteers to be on similarly slow int'l connections. Small images are a feature. And whoever wants a special set of packages (Java toolchain, GCC, Latex, Gnome, etc) they have yum and the related yum tools that let you build a partial local repo. And anyone who wants the whole hog, pair it up with the Fedora DVD as a secondary local repo. The main deployment sites will probably install hundreds if not thousads of XSs from USB key - at least the bootstrap. Or they'll use a network. Sizes matter a lot there too. I don't know yet. I'm busy downloading the ISO on an Edge connection. 6h45 remaining, and about half my cap : ( Well - if I spun a full Fedora DVD you'd be screwed! :-) why the self-imposed minimalist constraint? Give yourself time to hang out on this list and on [EMAIL PROTECTED] Perhaps read the School server pages on the wiki. 1. a live/install image with FC7 and OLPC/XS packages preselected Which will be replaced with a F9 installer CD that I'm trying to make as lean as possible. 2. separate OLPC/XS rpm packages which will be downloadable from Fedora or OLPC repositories That too. Note that if you have a local Fedora DVD, mount it and set it as a local repo, and any packages available there will be used (if current). OTOH access to package repositories could be a regionalized function along with the provision of library material, I guess. Bingo! Local materials will not be on the images I distribute, but on regional repositories. Sorry if I'm OT: my main interest is content and use case scenarios for XS-XO deployments which can also be implemented for the current rollout of NetDay servers in SA. Kind of a dual purpose mission. Can't seem to find much on the wiki about the XS Library, though. (Pointers will be much appreciated.) XS Library is not there yet. Will probably be based on an extension of moodle, or on tools we can integrate with the upcoming repository API of moodle. See the irc logs of the latest XS meeting (in the wiki) where Bryan asked a whole lot of questions about it. 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