Hi, I'm trying to build CentOS 5 install media but no working ISO so far... Revisor version (F14): 2.2.2.fc14 Cmdline used: revisor --cli --config /etc/revisor/revisor.conf --model c5-x86_64 --yes revisor.conf, revisor-c5-x86_64.conf and simple c5-ks.cfg contents below.
Encoutering some blocking problems: 1) Doing C5 x86_64 build with default conf shipped in revisor pkg results with iso that sits in Isolinux boot prompt with "Could not find kernel image: linux". ls -l reveals: drwxr-xr-x 2 root root 124928 28. mai 00:33 CentOS -rw-r--r-- 1 root root 18547 28. mai 00:35 GPL drwxr-xr-x 3 root root 2048 28. mai 00:35 images drwxr-xr-x 2 root root 2048 28. mai 00:35 img drwxr-xr-x 2 root root 2048 28. mai 00:35 isolinux drwxr-xr-x 2 root root 2048 28. mai 00:33 repodata -rw-r--r-- 1 root root 1512 28. mai 00:35 RPM-GPG-KEY-beta -rw-r--r-- 1 root root 1504 28. mai 00:35 RPM-GPG-KEY-CentOS-5 -r--r--r-- 1 root root 2429 28. mai 00:35 TRANS.TBL ls -l isolinux/ -r--r--r-- 1 root root 2048 28. mai 00:35 boot.cat -rw-r--r-- 1 root root 7729675 28. mai 00:35 initrd.img -r--r--r-- 1 root root 10648 28. mai 00:35 isolinux.bin -r--r--r-- 1 root root 94600 28. mai 00:35 memtest86+-1.65 -r-xr-xr-x 1 root root 319 28. mai 00:35 syslinux.cfg -r--r--r-- 1 root root 30226 28. mai 00:35 syslinux-splash.png -r--r--r-- 1 root root 1567 28. mai 00:35 TRANS.TBL -rw-r--r-- 1 root root 2095612 28. mai 00:35 vmlinuz less isolinux/syslinux.cfg default linux prompt 1 timeout 600 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg label linux kernel vmlinuz append initrd=initrd.img label text kernel vmlinuz append initrd=initrd.img text label ks kernel vmlinuz append ks initrd=initrd.img label local localboot 1 ls -l images/ drwxr-xr-x 2 root root 2048 28. mai 00:35 pxeboot -rw-r--r-- 1 root root 650 28. mai 00:35 README -r--r--r-- 1 root root 437 28. mai 00:35 TRANS.TBL Seems that some things are missing from iso probably - shouldn't there be isolinux.cfg file under isolinux/ and stage2 etc boot images under images/ ? 2) When building the same C5 x86_64 model with kickstart_include build process dies with following error (also noted with C5 with EPEL 2.0.5-2 revisor pkg): Building Installation Images: ######################################## 100.0% Linking in release notes: ######################################## 100.0% Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/revisor/__init__.py", line 528, in run self.base.run() File "/usr/lib/python2.7/site-packages/revisor/base.py", line 107, in run self.cli.run() File "/usr/lib/python2.7/site-packages/revisor/cli.py", line 44, in run self.base.lift_off() File "/usr/lib/python2.7/site-packages/revisor/base.py", line 884, in lift_off self.buildInstallationMedia() File "/usr/lib/python2.7/site-packages/revisor/base.py", line 1498, in buildInstallationMedia f = open(os.path.join(mypungi.topdir,"isolinux","isolinux.cfg"),"rw+") IOError: [Errno 2] No such file or directory: '/var/tmp/revisor-install/5/c5-x86_64/x86_64/os/isolinux/isolinux.cfg' 3) Revisor build process dies with error if model provided kickstart does not contain %end line somewhere - I believe that this is not strictly required by kickstart specification and there are lot of standard kickstarts around with no %post or %pre sections that would actually require %end line. 4) If one wants to provide kernel with non-standard package name like ovzkernel (rpm metadata still provides pkg as kernel) build process dies with "No package matching: kernel" and there seems to be no way to overcome this by configuration. --------- Revisor config files examples used: # Revisor base config file # This file will be updated, so make sure to watch .rpmnew stuff [revisor] # Some revisor options to eliminate the need for CLI parameters, # or save clicks in the GUI # Types of Installation Media to build media_installation_dvd=0 media_installation_cd=1 # Types of Live Media to build media_live_optical=0 media_live_thumb=0 repos_enabledevelopment=0 repos_enabletesting=0 repos_enablesource=0 repos_enabledebuginfo=0 # These are more advanced options dependency_resolve_allow_conflicts=0 mode_respin=0 ## ## Models ## [c5-x86_64] main = /etc/revisor/conf.d/revisor-c5-x86_64.conf product_name = CentOS product_path = CentOS iso_basename = CentOS iso_label = CentOS comps = /usr/share/revisor/comps/comps-c5.xml architecture = x86_64 version = 5 getsource = 0 release_pkgs = ^centos-release.* release_files = eula.txt fedora.css GPL README-BURNING-ISOS-en_US.txt RELEASE-NOTES-en_US.html ^RPM-GPG img images stylesheet-images kickstart_file = /etc/revisor/conf.d/c5-ks.cfg #kickstart_default = 1 #kickstart_include = 1 ---------------------- revisor-c5-x86_64.conf: [main] cachedir=-yumcache reposdir= keepcache=1 debuglevel=1 logfile=-yum.log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=0 metadata_expire=15 installroot=/var/tmp/revisor failovermethod=priority [centos] name=CentOS 5 - Base baseurl=http://localrepo/centos/5/os/x86_64/ mirrorlist=http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os enabled=1 gpgcheck=1 gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos5 priority=1 protect=1 --------------------- c5-ks.cfg: #Kickstart install process configuration install cdrom lang en_US.UTF-8 keyboard et network --device eth0 --bootproto dhcp rootpw --iscrypted $1$bm4uiJLT$8UGbQwxcjX1Y4om6XY.2t. firewall --disabled authconfig --enableshadow --enablemd5 selinux --disabled timezone America/New_York bootloader --location=mbr --driveorder=hda # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work #clearpart --all --initlabel --drives=hda #part /boot --fstype ext3 --size=1024 --ondisk=hda #part pv.2 --size=0 --grow --ondisk=hda #volgroup VolGroup00 --pesize=32768 pv.2 #logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=2016 --grow --maxsize=2016 #logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow --maxsize=10240 %packages @base @core @kvm %post #do nothing - but required by revisor %end Hope that someone can shed a bit light on these issues and to give some pointers towards fixes. Cheers, -- ---------------------------------------------- Andres Toomsalu, and...@active.ee _______________________________________________ revisor-devel mailing list revisor-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/revisor-devel