topdir isn't used anymore in pungi.py
Adjust plan to provide some information for contributors
This commit is contained in:
parent
44f270b746
commit
fb8e6e7aa1
15
PLAN
15
PLAN
@ -47,3 +47,18 @@ Making it all happen
|
||||
second tool takes packages from said repos and makes the install and CD set.
|
||||
Working on the second tool first makes sense, as it can be used today with
|
||||
existing Core and Extras repos. Later, tool #1 can grow from #2.
|
||||
|
||||
Contributing
|
||||
Currently development discussion happens at fedora-buildsys-list@redhat.com.
|
||||
The source is held via mercurial:
|
||||
anon - http://linux.duke.edu/projects/pungi
|
||||
auth - ssh://login.linux.duke.edu//home/groups/pungi/hg/pungi
|
||||
|
||||
To run pungi, currently you need root level access. This is because it has
|
||||
to create loopback devices for disk images.
|
||||
|
||||
sudo ./__init__.py --comps tests/comps.xml \
|
||||
--yumconf tests/yum.conf.x86_64 --destdir /srv/pungi \
|
||||
--cachedir /srv/pungi/cache --arch x86_64
|
||||
|
||||
Of course, fill in some of your own values.
|
||||
|
2
pungi.py
2
pungi.py
@ -19,7 +19,7 @@ class Pungi:
|
||||
def __init__(self, opts):
|
||||
self.opts = opts
|
||||
self.prodpath = 'Fedora' # Probably should be defined elsewhere
|
||||
self.basedir = os.path.join(self.opts.topdir, self.opts.arch, self.prodpath, 'base') # Probably should be defined elsewhere
|
||||
self.basedir = os.path.join(self.opts.destdir, self.opts.arch, self.prodpath, 'base') # Probably should be defined elsewhere
|
||||
os.mkdir(self.basedir)
|
||||
os.link(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user