FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 04-24-2008, 09:36 PM
Will Woods
 
Default make scripts/buildinstall take multiple repos

---
scripts/buildinstall | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index a5001a9..4c71e16 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -69,7 +69,11 @@ while [ $# -gt 0 ]; do
;;

*)
- REPO=$1
+ if [ -z "$REPO" ]; then
+ REPO=$1
+ else
+ EXTRA_REPOS="$EXTRA_REPOS $1"
+ fi
shift
;;
esac
@@ -123,6 +127,22 @@ baseurl=$REPO
enabled=1
EOF

+n=1
+for r in $EXTRA_REPOS; do
+ if [[ $r =~ ^/ ]]; then
+ r="file://$r"
+ fi
+ cat >> $yumconf <<EOF
+
+[anaconda-extrarepo-$n]
+name=anaconda extra repo $n
+baseurl=$r
+enabled=1
+EOF
+ let n++
+done
+
+
BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`

--
1.5.4.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-24-2008, 10:00 PM
Will Woods
 
Default make scripts/buildinstall take multiple repos

This patch makes buildinstall accept multiple repo arguments. This is
useful when, say, you have a couple of packages that haven't hit rawhide
yet, but you want to test them in the installer.

./buildinstall ... http://rawhide... /home/wwoods/myrepo
or
make testiso REPO="http://rawhide... /home/wwoods/myrepo"

-w

(sorry if this message shows up a couple of times.. still figuring out
how to use git-format-patch and git-send-email)
---
scripts/buildinstall | 22 +++++++++++++++++++++-
1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/scripts/buildinstall b/scripts/buildinstall
index a5001a9..4c71e16 100755
--- a/scripts/buildinstall
+++ b/scripts/buildinstall
@@ -69,7 +69,11 @@ while [ $# -gt 0 ]; do
;;

*)
- REPO=$1
+ if [ -z "$REPO" ]; then
+ REPO=$1
+ else
+ EXTRA_REPOS="$EXTRA_REPOS $1"
+ fi
shift
;;
esac
@@ -123,6 +127,22 @@ baseurl=$REPO
enabled=1
EOF

+n=1
+for r in $EXTRA_REPOS; do
+ if [[ $r =~ ^/ ]]; then
+ r="file://$r"
+ fi
+ cat >> $yumconf <<EOF
+
+[anaconda-extrarepo-$n]
+name=anaconda extra repo $n
+baseurl=$r
+enabled=1
+EOF
+ let n++
+done
+
+
BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`

--
1.5.4.5


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-25-2008, 02:24 AM
Jeremy Katz
 
Default make scripts/buildinstall take multiple repos

On Thu, 2008-04-24 at 18:00 -0400, Will Woods wrote:
> This patch makes buildinstall accept multiple repo arguments. This is
> useful when, say, you have a couple of packages that haven't hit rawhide
> yet, but you want to test them in the installer.

This was something I was going to look at for post F9 :-) Looks
reasonable, will apply after we've branched

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 04-25-2008, 03:10 PM
Will Woods
 
Default make scripts/buildinstall take multiple repos

On Thu, 2008-04-24 at 22:24 -0400, Jeremy Katz wrote:
> On Thu, 2008-04-24 at 18:00 -0400, Will Woods wrote:
> > This patch makes buildinstall accept multiple repo arguments. This is
> > useful when, say, you have a couple of packages that haven't hit rawhide
> > yet, but you want to test them in the installer.
>
> This was something I was going to look at for post F9 :-) Looks
> reasonable, will apply after we've branched

Yeah, it could have waited but I needed it to test a couple of blocker
fixes. Standard freeze-time chicken-and-egg problem: we don't want to
tag the package unless the fix is confirmed, but we can't confirm the
fix until the package is tagged and built into rawhide..

Anyway, merging post-F9 is fine. I'll keep it in my anaconda branch 'til
then.

-w
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 05-12-2008, 08:57 PM
Jeremy Katz
 
Default make scripts/buildinstall take multiple repos

On Fri, 2008-04-25 at 11:10 -0400, Will Woods wrote:
> On Thu, 2008-04-24 at 22:24 -0400, Jeremy Katz wrote:
> > On Thu, 2008-04-24 at 18:00 -0400, Will Woods wrote:
> > > This patch makes buildinstall accept multiple repo arguments. This is
> > > useful when, say, you have a couple of packages that haven't hit rawhide
> > > yet, but you want to test them in the installer.
> >
> > This was something I was going to look at for post F9 :-) Looks
> > reasonable, will apply after we've branched
>
> Yeah, it could have waited but I needed it to test a couple of blocker
> fixes. Standard freeze-time chicken-and-egg problem: we don't want to
> tag the package unless the fix is confirmed, but we can't confirm the
> fix until the package is tagged and built into rawhide..
>
> Anyway, merging post-F9 is fine. I'll keep it in my anaconda branch 'til
> then.

And applied to master now

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org