Bug 135493 - buildinstall has errors in creating install CD's
buildinstall has errors in creating install CD's
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2004-10-12 21:45 EDT by Sammy
Modified: 2007-11-30 17:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-09-21 14:03:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sammy 2004-10-12 21:45:02 EDT
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):

How reproducible:

Steps to Reproduce:
1.setup an install tree
2.generate headers and package list
3.run buildinstall

Additional info:
Comment 1 Kenneth Porter 2005-09-13 12:43:58 EDT
Using Anaconda released with FC4, and also current rawhide anaconda-

The internal invocation of the "second pass" of buildinstall fails with bad
arguments. The following patch allows the 2nd pass to run:

--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

Comment 2 Mogens Kjaer 2005-09-19 07:44:02 EDT
How do you start buildinstall?

I think if you don't specify the --comp option, you'll get an error like this.

I use:

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...
Comment 3 Kenneth Porter 2005-09-19 09:18:39 EDT
I'm using this example, which lacks that option:

Comment 4 Mogens Kjaer 2005-09-19 09:56:10 EDT
This is for FC3; does it work for you if you add "--comp anything" 
to buildinstall?
Comment 5 Jeremy Katz 2005-09-21 14:03:58 EDT
This should be fixed in current code.

Note You need to log in before you can comment on or make changes to this bug.