I am trying to include my custom build package in the CentOS installer DVD/CD. I am able to respine the DVD with my Kickstart file.
The automated kickstart installation works fine, however, when I try to include my package in the Package dir and update the comp.xml file, it does not work.
I am doing following steps.
Adding my RPM to iso/Packages/ dir. [mypackage.rpm] Recreating the repo db files by
cd /path/to/iso/dir
discinfo=`head -1 .discinfo`
compdata=`find repodata -name *comps*xml`
createrepo -u "media://$discinfo" -g $compdata .
Then creating the ISO iamge
ISOFILE=$PWD.iso
PACKAGER="Your Name"
ISONAME="RHEL 6.3 x86_64 KVM Respin"
ISODATE="201/06/28"
mkisofs -r -R -J -T -v -no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-V "$ISONAME" \
-p "$PACKAGER" \
-A "$ISONAME - $ISODATE" \
-b isolinux/isolinux.bin \
-c isolinux/boot.cat \
-x "lost+found" \
--joliet-long \
-o $ISOFILE .
Now when I use my package name in kickstart
%packages --no-base
@core
mypackage
During the installation phase I get Ananconda error saysing "mypackage" was not found in the repo.
I tried manually editing the comp.xml file too, but didn't help.
Appreciate if I get any help in getting mypackage.rpm to be able to installed by %package directive or other way.