Jeremy Katz said: > On Mon, 2002-12-09 at 11:30, Brian wrote: >> Jeremy Katz said: >> >> > To do it "correctly", you need to add the package names to $PACKAGES >> (or $PACKAGESGR if you only care about it being present for >> cdrom/nfs) and then update the appropriate file list as well >> (KEEPFILE or KEEPFILEGR respectively) >> >> When I do this and rerun buildinstall, it rebuilds the images but >> without my additions. Is there a way I can turn on debugging to see >> what I might be doing wrong? > > Add -x to the #!/bin/bash invocation at the top of upd-instroot to get > all the gory details. After doing all of the above and storing the output with the 'script' command, I do not see upd-instroot getting invoked at all. I set up my build tree as described at http://www.linuxworks.com.au/redhat-installer-howto.html I add the RH packages to the $PACKAGES & $PACKAGESGR variables in /usr/lib/anaconda-runtime/upd-instroot as well as adding all the files they contain (minus silly things like /usr/share/doc/* entries) in the filelist. I also add the -x at the invocation of bash at the top of the 'upd-instroot' script. I then do the following: export PYTHONPATH=/usr/lib/anaconda export PATH="$PATH:/usr/lib/anaconda-runtime" rm -rf /tmp/instimage*/ /tmp/pkgorder-*/ /tmp/upd* cd /redhat/i386/ rm -rf ./* cd /mnt/cdrom/ find | grep -v i386.rpm | grep -v noarch.rpm | grep -v i686 | cpio -dumpv /redhat/i386/ /bin/cp -fv /home/RPMS/*.rpm /redhat/i386/RedHat/RPMS/ genhdlist /redhat/i386 buildinstall --pkgorder /redhat/pkgorder.txt --comp dist-7.3 --version 7.3 /redhat/i386 The cp from /home/RPMS puts the RPMS from disc 2 and 3 into my build tree. I run 'script' and do the commands above. 'upd-instroot' never get called. Ideas? -- Brian