Add anaconda-runtime to the package list for buildinstall
Jesse Keating wrote:
On Mon, 2008-04-21 at 13:44 +0200, Jeroen van Meeuwen wrote:
Or were you thinking something else?
[...snip...]
That's the fairly rough overview.
Revisiting this topic;
I've got this implemented differently right now; I'm pointing
buildinstall to one or more of the enabled repositories configured, as
it's just using yum with a configuration file that can perfectly point
at baseurls and mirrorlists. This does require some modifications to
buildinstall though, and I'm not sure whether the anaconda guys would
even consider it.
Attached is a the modified buildinstall script taking multiple --repo
parameters (currently only taking baseurls though).
Kind regards,
Jeroen van Meeuwen
-kanarip
#!/bin/bash
#
# buildinstall
#
# Copyright (C) 2007 Red Hat, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
while [ $# -gt 0 ]; do
case $1 in
# general options affecting how we build things
--nogr)
NOGRSTR="--nogr"
shift
;;
--debug)
DEBUGSTR="--debug"
shift
;;
for f in $UPD_INSTROOT $MK_IMAGES $MK_STAMP $MK_TREEINFO $BUILDINSTALL; do
if [ -n "$UPDATES" -a -f $UPDATES/usr/lib/anaconda-runtime/$f ]; then
cp -a $UPDATES/usr/lib/anaconda-runtime/$f* $BUILDINSTDIR/
elif [ ! -f $f ]; then
cp -a $BUILDINSTDIR/usr/lib/anaconda-runtime/$f* $BUILDINSTDIR/
else
cp -a $f* $BUILDINSTDIR/
fi
done
Add anaconda-runtime to the package list for buildinstall
On Mon, 2008-05-12 at 22:54 +0200, Jeroen van Meeuwen wrote:
> Revisiting this topic;
>
> I've got this implemented differently right now; I'm pointing
> buildinstall to one or more of the enabled repositories configured, as
> it's just using yum with a configuration file that can perfectly point
> at baseurls and mirrorlists. This does require some modifications to
> buildinstall though, and I'm not sure whether the anaconda guys would
> even consider it.
>
> Attached is a the modified buildinstall script taking multiple --repo
> parameters (currently only taking baseurls though).
Didn't Will Woods submit a patch shortly after I posted this that
allowed for passing multiple repos to buildinstall?
--
Jesse Keating
Fedora -- Freedom˛ is a feature!
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list