Changes to 'refs/tags/livecd-tools-21.2'
by Brian C. Lane
Tag 'livecd-tools-21.2' created by Brian C. Lane <bcl(a)redhat.com> at 2014-07-23 21:17 +0000
Tag as livecd-tools-21.2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUAU9AmaxF+jBaO/jp/AQJLMQf/TSq0waVjFTaS1HDZmpDz0LgpShfiJ17H
7qVf44t2ONNNMUX0caasebcv0cq66z2WxnGuIoa3mghAb09TzfvaGRKTAetxFRT0
7mwZHWiq8b+q44bgvJ6Cuw1XgHgeyDq6ABOGHYvbZc7OAi3iyKYXTtN6ONXPBYlX
xYvfBhy75Kx7AfOlUDxLlMGYIxMv/E9fQxLt5OlL3FavKhDCYYcAGI/DkdcTU6sk
KNM3BUc8xPPjmsoQqnVDDHcC7PoyociUX577M0te9rlY2JnHQxD3cYF4APjFY3XJ
UgJa0eIdQmue81y6Bd4/N/t/LvgOsfQ8zk4INQ1KhgWQggMfm4nNOA==
=Ngun
-----END PGP SIGNATURE-----
Changes since livecd-tools-21.1:
Brian C. Lane (5):
Use rd.live.overlay instead of overlay
Use inst.repo and inst.stage2
Add lorax ppc config files to search path
Abort livecd creation if selinux relabel fails (#1121301)
Version 21.2
---
Makefile | 2 +-
imgcreate/kickstart.py | 9 +++++++--
imgcreate/live.py | 5 +++--
tools/livecd-iso-to-disk.sh | 12 ++++++------
4 files changed, 17 insertions(+), 11 deletions(-)
---
9 years, 4 months
2 commits - imgcreate/kickstart.py Makefile
by Brian C. Lane
Makefile | 2 +-
imgcreate/kickstart.py | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
New commits:
commit e0833c839b697b1bfd878b891446f7b4c62f3d7d
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Jul 23 14:17:25 2014 -0700
Version 21.2
diff --git a/Makefile b/Makefile
index 74e64e1..78de9cf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 21.1
+VERSION = 21.2
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
commit 629a3ed4c5327615b841cc2e55e5c2806b6edfa5
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Jul 23 12:27:05 2014 -0700
Abort livecd creation if selinux relabel fails (#1121301)
This will Help catch selinux errors sooner. If the kickstart has selinux
enforcing set and the relabel fails raise an error. If it is in
permissive or disabled it will only warn.
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 14ddb4e..aef3ef2 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -121,7 +121,7 @@ class KickstartConfig(object):
def call(self, args):
if not os.path.exists("%s/%s" %(self.instroot, args[0])):
raise errors.KickstartError("Unable to run %s!" %(args))
- subprocess.call(args, preexec_fn = self.chroot)
+ return subprocess.call(args, preexec_fn = self.chroot)
def apply(self):
pass
@@ -450,7 +450,12 @@ class SelinuxConfig(KickstartConfig):
if not os.path.exists(self.path("/sbin/setfiles")):
return
- self.call(["/sbin/setfiles", "-p", "-e", "/proc", "-e", "/sys", "-e", "/dev", selinux.selinux_file_context_path(), "/"])
+ rc = self.call(["/sbin/setfiles", "-p", "-e", "/proc", "-e", "/sys", "-e", "/dev", selinux.selinux_file_context_path(), "/"])
+ if rc:
+ if ksselinux.selinux == ksconstants.SELINUX_ENFORCING:
+ raise errors.KickstartError("SELinux relabel failed.")
+ else:
+ logging.error("SELinux relabel failed.")
def apply(self, ksselinux):
selinux_config = "/etc/selinux/config"
9 years, 4 months
flashing cursor
by ToddAndMargo
Hi All,
Finally got me a stick configure up the way I like.
Problem: on some motherboards it works fine. Other
motherboards, when it first starts reading the stick
(before the count down), I just get a flashing cursor
in the the upper left corner.
Anything I can tweak on the stick to help this?
Many thanks,
-T
9 years, 4 months
Finally got persistence to work and lots of it too
by ToddAndMargo
Hi All,
I finally got persistence to work and got lots of it too.
Even got LibreOffice installed on it!
This is what I did:
1) wiped the stick with
dd if=/dev/zero of=/dev/sdc
I checked with Kanguru tech support and I indeed did
flip off all my charges.
2) used gparted to create an msdos disk with a single
bootable primary ext4 partition.
3) cut the flash drive with liveusb-creator-3.12.0-1.el6.noarch.
Ran the slide bar over for maximum persistence (~12 GB on my
16 GB stick).
As of 3.11, ext4 is now supported. Yipee! See
https://fedorahosted.org/liveusb-creator/wiki/News
Now if I can only get the stinker to work in every motherboard
I stick it into. Made a separate post on that one.
Appreciation to everyone that helped me on this!
-T
9 years, 4 months