I spent a very long time searching for an answer in internet but I found nothing. I want to add custom rpm to a red hat workstation iso dvd. I do the following things:
mount a red hat iso (
mount -t iso9660 rhel-workstation-6.4-i386-dvd.iso /mnt/iso)copy all dvd files to a directory including hidden .discinfo and .treeinfo files :
cp -R /mnt/iso/* /tmp/isofiles;
cp/mnt/iso/.discinfo /tmp/isofiles;
cp /mnt/iso/.treeinfo /tmp/isofilesthen I add additionals rpm to the
/tmp/isofiles/Packagesdirectory which is a part of the dvd tree- then I rebuild the repo in
/tmp/isofileswith the command createrepo (createrepo --update -g comps.xml.) - at last I rebuild the iso with
mkisofsand burn it to a dvd. Note that I also have a kickstart file to automate the installation. The problem is that during the rpm installation step the dvd is ejected and I have a message that ask me to insert the Red Hat Linux Entreprise disc 1. I don't understand why. This only appears if I modified the repository. Can you help me please ?