Changes to 'refs/tags/livecd-tools-21.0'
by Brian C. Lane
Tag 'livecd-tools-21.0' created by Brian C. Lane <bcl(a)redhat.com> at 2014-03-26 23:44 +0000
Tag as livecd-tools-21.0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAUzNmZxF+jBaO/jp/AQKNOQgAl24+Xv5ZsjO9/CBej5WiZl0Ik9dNU+KX
pyVoI7Q1fKp7D+cUGlG+aGCzJujEVoElnQEYssrXhJYCMblFNe05opLcIklG24wp
2eGiGXrdOgzZEbjgPXaZKLMuPTi7n7MOgyyXGfJFD/mHqe2z5vAQyQgLrg1pBGAc
18scE3foRji5NyrrQyr+Hz4Q8GcVinEu0xBdxWbte1wVvxV9My94Tk4+Nq4TDKyI
E1l1i7S4Zp4hVm6QR8JbLrZ72oJXZcSzw3I7HgYjeFJymhdR04ZMiI1uF5PjrWkW
Ac2aDAgxIR9Wn/mIRvvnNbFMkeDNpGZJowRTYgn4mO8hBRoUInAoIw==
=eOln
-----END PGP SIGNATURE-----
Changes since livecd-tools-20.4:
Brian C. Lane (5):
livecd-creator: Make sure kickstart file exists (#1074295)
Cleanup paths in README
Update yuminst for new pykickstart
Update kickstart.py for new kickstart
Version 21.0
---
Makefile | 2 +-
README | 21 +++++++++++----------
imgcreate/kickstart.py | 4 ++--
imgcreate/yuminst.py | 8 ++++----
tools/livecd-creator | 2 +-
5 files changed, 19 insertions(+), 18 deletions(-)
---
9 years, 8 months
Makefile
by Brian C. Lane
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 092953b9e726f04bc22b4747dab3c7bde183f1b1
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Mar 26 16:44:15 2014 -0700
Version 21.0
diff --git a/Makefile b/Makefile
index 38a187c..284c436 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 20.4
+VERSION = 21.0
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
9 years, 8 months
Changes to 'refs/tags/livecd-tools-20.5'
by Brian C. Lane
Tag 'livecd-tools-20.5' created by Brian C. Lane <bcl(a)redhat.com> at 2014-03-26 23:39 +0000
Tag as livecd-tools-20.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAUzNlShF+jBaO/jp/AQLRcQf/TeDlFYkXtUFobyxOlMmDqYfAY9VR9u63
z+DEJCxgBdt53tpGG9U6ClgB3NPF/xVmTZZPZKbtYmXeN9nubLJikYn+xXN9GQ4G
sRIRP3fTrNy53DiM9qrJInQDNJyNw91I5X9/nrKls8ECJRhgX703rSNm/MLOq2ii
IGFuoSHBuTis6nqaubnS14bqP/zDHoaMFaWd4zt5m8wqszUqPS7Ku4XKjWectnhB
LQ+DSluXCFB1Ub/X5S73XyWsDhQbQOoDcCu/2FnEBNS0FAgd0wqH8L8dQuk2atfB
f51lvi9RPvQEIYJOwXyY4X04Fk2pBbRKO962kcBVOUv/cMbMp4tAaA==
=fsFG
-----END PGP SIGNATURE-----
Changes since livecd-tools-20.4:
Brian C. Lane (3):
livecd-creator: Make sure kickstart file exists (#1074295)
Cleanup paths in README
Version 20.5
---
Makefile | 2 +-
README | 21 +++++++++++----------
tools/livecd-creator | 2 +-
3 files changed, 13 insertions(+), 12 deletions(-)
---
9 years, 8 months
Changes to 'f20-branch'
by Brian C. Lane
New branch 'f20-branch' available with the following commits:
commit 0c7c1a71ba0e6a5497c10b237f67d532ae7bbf89
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Mar 26 16:39:27 2014 -0700
Version 20.5
9 years, 8 months
imgcreate/kickstart.py
by Brian C. Lane
imgcreate/kickstart.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e45826f95e9579b27d882547811a5396e8a900dc
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Mar 26 12:00:00 2014 -0700
Update kickstart.py for new kickstart
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 1059801..14ddb4e 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -589,7 +589,7 @@ def inst_langs(ks):
def get_pre_scripts(ks):
scripts = []
for s in ks.handler.scripts:
- if s.type != ksparser.KS_SCRIPT_PRE:
+ if s.type != ksconstants.KS_SCRIPT_PRE:
continue
scripts.append(s)
return scripts
@@ -597,7 +597,7 @@ def get_pre_scripts(ks):
def get_post_scripts(ks):
scripts = []
for s in ks.handler.scripts:
- if s.type != ksparser.KS_SCRIPT_POST:
+ if s.type != ksconstants.KS_SCRIPT_POST:
continue
scripts.append(s)
return scripts
9 years, 8 months
imgcreate/yuminst.py
by Brian C. Lane
imgcreate/yuminst.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 7bab36afbb75a4bd8bb04e08158da85e8e0acc56
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Tue Mar 25 17:47:17 2014 -0700
Update yuminst for new pykickstart
diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index 22e840c..2b00864 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -23,7 +23,7 @@ import logging
import yum
import rpmUtils
-import pykickstart.parser
+from pykickstart.constants import GROUP_DEFAULT, GROUP_REQUIRED, GROUP_ALL
from imgcreate.errors import *
@@ -136,13 +136,13 @@ class LiveCDYum(yum.YumBase):
else:
logging.warn("No such package %s to remove" %(pkg,))
- def selectGroup(self, grp, include = pykickstart.parser.GROUP_DEFAULT):
+ def selectGroup(self, grp, include = GROUP_DEFAULT):
# default to getting mandatory and default packages from a group
# unless we have specific options from kickstart
package_types = ['mandatory', 'default']
- if include == pykickstart.parser.GROUP_REQUIRED:
+ if include == GROUP_REQUIRED:
package_types.remove('default')
- elif include == pykickstart.parser.GROUP_ALL:
+ elif include == GROUP_ALL:
package_types.append('optional')
yum.YumBase.selectGroup(self, grp, group_package_types=package_types)
9 years, 8 months
README
by Brian C. Lane
README | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
New commits:
commit 67ff3614971ad60497777e84766012fd97036fb3
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Mon Mar 10 11:16:29 2014 -0700
Cleanup paths in README
diff --git a/README b/README
index df0f189..a31d6d3 100644
--- a/README
+++ b/README
@@ -1,9 +1,9 @@
The Fedora live CD tools
David Zeuthen <davidz(a)redhat.com>
- Jeremy Katz <katzj(a)redhat.com>
+ Jeremy Katz <katzj(a)redhat.com>
- Last updated: October 9 2007 (v0.5)
+ Last updated: March 10, 2014 (v20.5)
This project concerns tools to generate live CD's on Fedora based
systems including derived distributions such as RHEL, CentOS and
@@ -30,7 +30,7 @@ so on.
Another design goal is that the live CD should be ''installable'',
ie. an user should be able to install the bits from the live CD onto
his hard disk without this process requiring network access or
-additional media. (NOTE: this feature is not yet implemented)
+additional media.
Finally, another design goal is that the tool set itself should be
separate from configuration; the same unmodified tool should be usable
@@ -93,7 +93,7 @@ In a nutshell, the livecd-creator program
The command
# livecd-creator \
- --config=/usr/share/livecd-tools/livecd-fedora-minimal.ks
+ --config=/usr/share/doc/livecd-tools/livecd-fedora-minimal.ks
will create a live CD that will boot to a login prompt. Not that since
no configuration is done the user will not be able to login to the
@@ -106,10 +106,11 @@ same format as installing a system via kickstart. They can include
some basic system configuration items, the package manifest and a
script to be run at the end of the build process.
-For the Fedora project, there are currently a variety of different
-live CD configuration files. These include a minimal live image
-(livecd-fedora-minimal.ks), a complete desktop image
-(livecd-fedora-desktop.ks) and others.
+For the Fedora project, there are currently a variety of different live CD
+configuration files. The spin-kickstarts package includes all of the
+kickstarts used to create the various spins. These include a minimal live image
+(livecd-fedora-minimal.ks), a complete desktop image (livecd-fedora-desktop.ks)
+and others.
2.4 EXAMPLE: SPINNING THE FEDORA DESKTOP LIVE CD
@@ -117,8 +118,8 @@ Assuming that you use the livecd-fedora-desktop.ks configuration file,
then the following command
# livecd-creator \
- --config=/usr/share/livecd-tools/livecd-fedora-desktop.ks \
- --fslabel=Fedora-7-LiveCD-1-foo
+ --config=/usr/share/spin-kickstarts/fedora-livecd-desktop.ks \
+ --fslabel=Fedora-20-LiveCD-1-foo
will create a live CD called "Fedora-7-LiveCD-1-foo". The name
given by --fslabel is used.
9 years, 9 months
tools/livecd-creator
by Brian C. Lane
tools/livecd-creator | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e69e8d8f9643afc977b01847301d51124504e223
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Mon Mar 10 10:02:07 2014 -0700
livecd-creator: Make sure kickstart file exists (#1074295)
diff --git a/tools/livecd-creator b/tools/livecd-creator
index a2919e6..34533c1 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -112,7 +112,7 @@ def parse_options(args):
if len(args):
raise Usage("Extra arguments given")
- if not options.kscfg:
+ if not options.kscfg or not os.path.exists(options.kscfg):
raise Usage("Kickstart file must be provided")
if options.base_on and not os.path.isfile(options.base_on):
raise Usage("Image file '%s' does not exist" %(options.base_on,))
9 years, 9 months