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 > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 04-21-2008, 08:35 AM
Mark McLoughlin
 
Default Add anaconda-runtime to the package list for buildinstall

With e.g.:

repo --name=rawhide --baseurl=http://foo

%packages
%end

You get:

OSError: Got an error from /usr/lib/anaconda-runtime/buildinstall:

and trying out the buildinstall command directly, you see:

Running buildinstall...
No Match for argument anaconda-runtime
Nothing to download

The issue here is that one of the first things buildinstall
tries to do is install anaconda-runtime from the supplied
repository, so the user must add anaconda-runtime to the
package list or pungi fails.

Automatically add it to the package list rather than
requiring the user to do it.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
src/bin/pungi.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/bin/pungi.py b/src/bin/pungi.py
index 91ca403..bcbe6fd 100755
--- a/src/bin/pungi.py
+++ b/src/bin/pungi.py
@@ -77,6 +77,10 @@ def main():

# Actually do work.
if not opts.sourceisos:
+ if opts.do_all or opts.do_buildinstall:
+ # buildinstall requires anaconda-runtime (rh #443371)
+ ksparser.handler.packages.add(["anaconda-runtime"])
+
if opts.do_all or opts.do_gather:
mygather = pypungi.gather.Gather(config, ksparser)
mygather.getPackageObjects()
--
1.5.4.5

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 04:01 AM.

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