public inbox for gentoo-releng@lists.gentoo.org
 help / color / mirror / Atom feed
From: Kumba <kumba@gentoo.org>
To: gentoo-releng@lists.gentoo.org
Subject: Re: [gentoo-releng] short catalyst delay
Date: Thu, 01 Apr 2004 17:25:52 -0500	[thread overview]
Message-ID: <406C96F0.3030301@gentoo.org> (raw)
In-Reply-To: <1080846519.21101.5.camel@woot.uberdavis.com>

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

John Davis wrote:


> Which patch? The emerge_opts patch so that the user can add emerge flags
> such as 'pv'? The patch is not part of catalyst, so I can apply it
> anytime. I would like to apply it, but I have not heard any feedback ...

Should've been more verbose.  It's the patch for bootstrap that passes 
catalyst's options to EMERGE (passing EMERGE_OPTS to bootstrap.sh).  The 
primary issue is so options like pkgcache have an effect in the middle 
of building a stage2, cause bumping into an error in the middle of a 
stage2 and restarting on slow machines is not fun :)

I attached the patch, but drobbins mentioned there was some possible 
theoretical issue where it would conflict with the fetch option to 
bootstrap, but I've looked at it and I don't necessarily see what the 
possible problem could be.  Maybe someone has an idea.


--Kumba

-- 
"Such is oft the course of deeds that move the wheels of the world: 
small hands do them because they must, while the eyes of the great are 
elsewhere."  --Elrond

[-- Attachment #2: catalyst-bootstrapsh.patch --]
[-- Type: text/plain, Size: 554 bytes --]

--- bootstrap.sh.orig	2004-01-12 03:18:34.413518344 -0500
+++ bootstrap.sh	2004-01-12 03:18:19.176834672 -0500
@@ -67,6 +67,14 @@ then
 	echo "Fetching all bootstrap-related archives..."
 else
 	echo "Starting Bootstrap of base system ..."
+
+	# See if ${EMERGE_OPTS} exists
+	# Catalyst uses this variable, and if pkgcache is set, catalyst passes a few options
+	# to emerge to use pre-exitsing packages, but bootstrap needs to know this
+	if [ ! -z "${EMERGE_OPTS}" ]
+	then
+		STRAP_EMERGE_OPTS="${STRAP_EMERGE_OPTS} ${EMERGE_OPTS}"
+	fi
 fi
 echo
 


[-- Attachment #3: Type: text/plain, Size: 40 bytes --]

--
gentoo-releng@gentoo.org mailing list

      reply	other threads:[~2004-04-01 22:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-01 16:03 [gentoo-releng] short catalyst delay John Davis
2004-04-01 17:23 ` Kumba
2004-04-01 19:08   ` John Davis
2004-04-01 22:25     ` Kumba [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406C96F0.3030301@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=gentoo-releng@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox