View Full Version : Remaster/Respin Fedora, Revisor/Pungi not working

7th October 2008, 05:10 PM
I'm looking to remaster the Fedora DVD to only include some packages. Essentailly a base X install. Everything else I can leave out for right now.

I have read around and have see several articles saying how easy and great the Revisor tool is, my experience with it has been far from sane. It does things that I don't understand and pulls information from places it's not supposed in the end it produces simply an SHA1SUM which contains a single line saying that it can't find the file, the name of which god knows where it gets it from.

Ultimately the Revisor tool has not been able to produce me an ISO, period.

I have also looked around and found a tool called Pungi which essentially does the same thing, but this script ends in errors also.

Is there a manual method that I can do this possibly that I can put into a bash script and automate?

My goal is to create a kickstart file which has a list of packages I would like to install. Based on the KS file it will collect just those files and then do a createrepo on that collection of packages and then make an ISO based off of that. Essentially the repo would include just the files it needs to install.

Seems pretty simple but I just can't seem to wrap my head around it.

7th October 2008, 05:29 PM
Check out Revisor documentation (http://revisor.fedoraunity.org/documentation) and go ask fedora-livecd mail list (http://www.redhat.com/mailman/listinfo/fedora-livecd-list)

7th October 2008, 06:38 PM
Indeed I have checked out the documentation regarding Revisor and is the main reason by i'm confused about the behavior of it. Nowhere in the configs does it have the repositories it's accessing, or the file names it's creating. It's behavior is completely unexpected.

As for the live-cd i'm not trying to produce a live CD, but a standalone install ISO.

7th October 2008, 08:30 PM
What version of both pungi and revision do you use and which version of Fedora are you in? Have you check that section (http://revisor.fedoraunity.org/documentation/revisor-configuration-files)? Visit revisor user list (http://lists.fedoraunity.org/mailman/listinfo/revisor-users)

7th October 2008, 08:41 PM
pungi 1.1.10
pungi 1.2.8

Both pungi versions produced errors, though different in each version, they were unable to produce a final product

revisor 2.0.5-15.fc8
revisor 2.1.2-2.fc10

There was no difference in the behavior of the two versions of Revisor. Both would go through the entire build process and not produce an ISO.

The contents of the SHA1SUM file is as follows:
/usr/bin/sha1sum: FC-6-i386-DVD.iso: No such file or directory

I don't know where the filename is coming from, I have removed all models except for one, the one I want to produce, from the configuration files.

I'm running Fedora 8.

7th October 2008, 09:46 PM
So far i've been able to accomplish much with these commands here:
createrepo -g ../repodata/comps.xml -o root root/Packages &&\
mkisofs -r \
-R \
-J \
-T \
-v \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-V “Fedora” \
-p “Maxim” \
-A “2008/07/10” \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-x “lost+found” \
-o ../Images/os.iso \

This produces and ISO that is currently installing on a system. Whether it boots or not is unknown as of yet.

I essentially copied the ISO excluding the Packages directory. Pointed the -g option in createrepo to the comps file from the ISO. That put together the list with the needed info for Anaconda. Then the mkisofs command I got from another howto: http://nootech.wordpress.com/2007/12/11/build-a-custom-centos-5-install-cd/

I got the contents of the Packages directory from a left over failed attempt to use Revisor. It gathered the packages. I'm thinkin about using Pungi for this to produce a more automated/scriptable solution for the future.

This so far has worked.

8th October 2008, 09:46 PM
I have so far not been able to produce an ISO that actually installs the OS. I was able to get revisor to actually produce an ISO though, thanks to the debug levels of the new build available from their git repository.

9th October 2008, 01:35 AM
I have used "livecd-tools" and have used the kick start files to create live cd's that were modified from the original .ks files by adding and/or removing packages and extra repos. The .ks files are located in "/usr/share/livecd-tools" . Here's a link to more info on creating live cd's LiveCDHowTo (https://fedoraproject.org/wiki/FedoraLiveCD/LiveCDHowTo).

4th January 2010, 04:10 PM
Create directory /mnt/source/Packages

copy in packages you want to be on the install disk
If you want the repo groups to still exist copy the [md5chksum]-Fedora-##-comps.xml file somewhere easy to access

run createrepo -g [path to the xml file above] -o /mnt/source /mnt/source/Packages

copy the repodata directory in /mnt/source to the ISO you want to make

use kickstart to install what you want