Re: buildinstall on current rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin Worthington wrote:
<disclaimer>
Hi everyone, I'm new to this list, so if this has been covered before, please direct me to the information. I did try the list archives, before posting this.
</disclaimer>
Here goes:
I'm trying to create a CD set based on the current rawhide. I'm following a HOWTO that covers how to create 'update' discs for Red Hat Linux 9, located here: http://www.techonthenet.com/linux/rh9_update.htm
I was successful yesterday, mastering my own cds (Red Hat Linux 9 + updates and apt), but while trying today with the rawhide branch, no success. Running genhdlist, and pkgorder, etc works fine, but when I get to the 'builinstall' step, it bombs out. This is the result:

Running buildinstall...
/home/kev/rhbuild/redhat/i386/buildinstall.tree.11174 /home/kev/rhbuild
/home/kev/rhbuild
Going to run buildinstall again
Usage: buildinstall [--comp <component>] [--pkgorder <file>] [--version <version>] [--product <product>] [--release <comment>] [--prodpath <path>] <root>
[root@box rhbuild]#

Any suggestions? Is it too ambitious to try to build a cd set based on rawhide, or should it work in theory?
Thanks in advance,
Kev

I believe that anaconda needs a patch to properly quote the first buildinstall run.

Forrest
--


diff -urN anaconda-9.0.6.orig/scripts/buildinstall anaconda-9.0.6/scripts/buildinstall
--- anaconda-9.0.6.orig/scripts/buildinstall	2003-06-12 08:48:08.000000000 -0700
+++ anaconda-9.0.6/scripts/buildinstall	2003-10-16 15:41:23.000000000 -0700
@@ -117,7 +117,7 @@
 if [ -x /usr/bin/runroot ]; then
     runroot $COMPNAME --onlyone --arch $BUILDARCH "$BUILDINSTALL --buildinstdir $BUILDINSTDIR --second $PKGORDERSTR --comp $COMPNAME --version $VERSION --release '\"$RELEASESTR\"' --product '\"$PRODUCTSTR\"' $DIR" 
 else
-    $BUILDINSTALL --buildinstdir $BUILDINSTDIR --second $PKGORDERSTR --comp $COMPNAME --version $VERSION --release \"$RELEASESTR\" --product \"$PRODUCTSTR\" $DIR
+    $BUILDINSTALL --buildinstdir $BUILDINSTDIR --second $PKGORDERSTR --comp $COMPNAME --version $VERSION --release '\"$RELEASESTR\"' --product '\"$PRODUCTSTR\"' $DIR
 fi
 
 rm -rf $BUILDINSTDIR

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux