Hi,
For the OLPC school server ("XS") we are planning to move from our dated F9 setup to CentOS 6.2. Thanks for all the effort involved in producing this distro.
One important part of this project is a 'respin' of the install media - we need to add a handful of packages from external repositories, and maybe run a command late in the install.
Are the scripts/configurations used to produce the CentOS official CD/DVDs available? I guess this would be our most reliable/sensible starting point.
I am familiar with pungi, kickstart, anaconda, etc, so just a simple git link would be enough to get me started.
Thanks, Daniel
From: Daniel Drake dsd@laptop.org
One important part of this project is a 'respin' of the install media
- we need to add a handful of packages from external repositories, and
maybe run a command late in the install. Are the scripts/configurations used to produce the CentOS official CD/DVDs available? I guess this would be our most reliable/sensible starting point. I am familiar with pungi, kickstart, anaconda, etc, so just a simple git link would be enough to get me started.
If you are familiar with kickstarts, you do not need anything else... Just write your kickstart and add it to either a DVD or a USB key or ...
For the DVD, something like this used to work in the past: mount CentOS-*-bin-DVD.iso /mnt/cdrom -t iso9660 -o loop cp -a /mnt/cdrom /tmp/cdrom cd /tmp/cdrom cp ks.cfg . edit isolinux/isolinux.cfg: default linux ks=cdrom:/ks.cfg chmod u+w isolinux/* cd /tmp mkisofs -o dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T cdrom
JD
On Fri, Feb 3, 2012 at 11:10 AM, John Doe jdmls@yahoo.com wrote:
If you are familiar with kickstarts, you do not need anything else... Just write your kickstart and add it to either a DVD or a USB key or ...
For the DVD, something like this used to work in the past: mount CentOS-*-bin-DVD.iso /mnt/cdrom -t iso9660 -o loop cp -a /mnt/cdrom /tmp/cdrom cd /tmp/cdrom cp ks.cfg . edit isolinux/isolinux.cfg: default linux ks=cdrom:/ks.cfg chmod u+w isolinux/* cd /tmp mkisofs -o dvd.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T cdrom
The approach of taking the existing media and making incremental modifications - I see.
However, we will need to modify the yum repo found on the media to add our own packages, and it would also be preferable to remove the ones that we are not interested in. This could be done by hand, but it would be fiddly...
I presume the official CentOS 6.2 ISOs were not created in this manner. It would be cleaner/nicer if we could adopt the official build infrastructure (which I presume starts from zero), and this would avoid the above complications.
Thanks, Daniel
Hi Daniel,
On 02/03/2012 04:30 PM, Daniel Drake wrote:
For the OLPC school server ("XS") we are planning to move from our dated F9 setup to CentOS 6.2. Thanks for all the effort involved in producing this distro.
Excellent news!
One important part of this project is a 'respin' of the install media
- we need to add a handful of packages from external repositories, and
maybe run a command late in the install.
Are the scripts/configurations used to produce the CentOS official CD/DVDs available? I guess this would be our most reliable/sensible starting point.
I am familiar with pungi, kickstart, anaconda, etc, so just a simple git link would be enough to get me started.
We only use that scripts included in the anaconda-runtime stack - I'm away to Fosdem this weekend ( are you guys around ? ) back in town on Monday, would love to help you guys make this transition.
Essentially, the repo included on disk/in-media/in-mirror is a snapshot in time from the buildsys, with a bunch of tests run against it and an install image built around it. Depending on what you are trying to do and what the most desirable goal might be, I'll be happy to help build a process for that.
On Fri, Feb 3, 2012 at 11:54 AM, Karanbir Singh mail-lists@karan.org wrote:
We only use that scripts included in the anaconda-runtime stack - I'm away to Fosdem this weekend ( are you guys around ? ) back in town on Monday, would love to help you guys make this transition.
Essentially, the repo included on disk/in-media/in-mirror is a snapshot in time from the buildsys, with a bunch of tests run against it and an install image built around it. Depending on what you are trying to do and what the most desirable goal might be, I'll be happy to help build a process for that.
Thanks for the warm welcome and quick response! Have fun at FOSDEM, unfortunately I don't think anyone from OLPC will be there.
I guess you're referring to the install DVD(s) here - which include the entire contents of the mirror, makes sense.
In this case I think we want something more akin the minimal install CD - a specific subset of the packages available, plus installer. Could you point me towards the scripts used to build that?
To answer your question about the most desirable goal, I guess it is something like this: we provide a kickstart file that lists the CentOS repos and our own repo, with the "base" and "core" package groups selected (plus our own packages listed too), and then we use a tool to then download all the required packages (but no more), and compose them onto an anaconda-based install CD.
I guess I have just described pungi there - and maybe that is our answer. But I have yet to find a report of someone using pungi to rebuild C6, and pungi is not included in RHEL/CentOS and isn't in EPEL either. I'd welcome your input on the best way to achieve this.
Thanks, Daniel
On Sat, Feb 4, 2012 at 10:28 AM, Daniel Drake dsd@laptop.org wrote:
To answer your question about the most desirable goal, I guess it is something like this: we provide a kickstart file that lists the CentOS repos and our own repo, with the "base" and "core" package groups selected (plus our own packages listed too), and then we use a tool to then download all the required packages (but no more), and compose them onto an anaconda-based install CD.
I guess I have just described pungi there - and maybe that is our answer. But I have yet to find a report of someone using pungi to rebuild C6, and pungi is not included in RHEL/CentOS and isn't in EPEL either. I'd welcome your input on the best way to achieve this.
Would the revisor tool from Scientific Linux work to spin CentOS? http://www.scientificlinux.org/distributions/6x/build/sites
On Sat, Feb 4, 2012 at 10:28 AM, Daniel Drake dsd@laptop.org wrote:
I guess I have just described pungi there - and maybe that is our answer. But I have yet to find a report of someone using pungi to rebuild C6, and pungi is not included in RHEL/CentOS and isn't in EPEL either. I'd welcome your input on the best way to achieve this.
I got pungi working. I took the latest F13 version from Fedora koji, and had to install the 'file' package before it would produce an bootable initramfs. From that point, it worked brilliantly.
Scripts (albeit simple) will be pushed to the xs-0.7 directory of http://dev.laptop.org/git/projects/olpc-xs-builder within the next few days.
Thanks, Daniel
Greetings,
On Fri, Feb 10, 2012 at 3:00 AM, Daniel Drake dsd@laptop.org wrote:
I got pungi working. I took the latest F13 version from Fedora koji, and had to install the 'file' package before it would produce an bootable initramfs. From that point, it worked brilliantly.
Apologies to pull up an old thread. But I am very interested in a howto for installation of pungi and, if required, mock and creating custom spin or live cd using centos minimal would greatly help me and the community in general.
My google-fu does not help me much.
TIA