Red Hat Bugzilla – Bug 135493
buildinstall has errors in creating install CD's
Last modified: 2007-11-30 17:10:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.3; Linux; X11; en_US) (KHTML, like Gecko)
Description of problem:
I am trying to build customized install CD's for out systems. After generating
headers and package list, when I run the buildinstall I get the following errors:
NOTE: I do not have "runroot" and don't know where to get it from.
1. Execution of query commands (pango-querymodules, gtk-query-immodules-2.0,
gdk-pixbuf-query-loaders) fail saying there is no such file. I think the files may
not be there but also not all the runtime libraries are there. I did not find
libz, libdl, libc, libm and running with chroot would fail.
2. Running fc-cache fails. Either it is not there or again libraries are missing.
3. /usr/bin/anaconda execution has the same problem above.
4. There are messages saying ldconfig is missing.
I notice that most or all of these are the ones that can either be run with runroot
or chroot. Perhaps they run ok with runroot.
I would really like to be able to make my own CD's so I would appreciate any
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.setup an install tree
2.generate headers and package list
Using Anaconda released with FC4, and also current rawhide anaconda-10.2.1.5-2.
The internal invocation of the "second pass" of buildinstall fails with bad
arguments. The following patch allows the 2nd pass to run:
< $BUILDINSTALL $DEBUGSTR --buildinstdir $BUILDINSTDIR --second $PKGORDERSTR
--comp $COMPNAME --version $VERSION --release "$RELEASESTR" --product
"$PRODUCTSTR" --prodpath $PRODUCTPATH --discs "$DISCSTR" --bugurl "$BUGURL" $DIR
> $BUILDINSTALL $DEBUGSTR --buildinstdir $BUILDINSTDIR --second --version
$VERSION --release "$RELEASESTR" --product "$PRODUCTSTR" --prodpath $PRODUCTPATH
--discs "$DISCSTR" --bugurl "$BUGURL" $DIR
With this patch in place, upd-instroot reports that the command "latest" is not
found. Additionally, paths are set to search in the new treedir for stuff that's
in fact in /usr/lib/anaconda-runtime (ie. the treedir prefixed to the proper
path). For example:
/tmp/treedir.21776/instimage/usr/lib/anaconda-runtime/trimpcitable doesn't exist
How do you start buildinstall?
I think if you don't specify the --comp option, you'll get an error like this.
buildinstall --comp gulerod --pkgorder /tmp/pkgorder.lst --version 4 --product
"Fedora Core" --release "Fedora Core 4" --prodpath Fedora $BUILD
"gulerod" is carrot, in Danish - any word will work...
I'm using this example, which lacks that option:
This is for FC3; does it work for you if you add "--comp anything"
This should be fixed in current code.