F7 general question about livecd-creator and timezones
by Skunk Worx
My ks scripts have the timezone set to PDT (America/Los_Angeles).
Installation to a hard drive works as expected. PDT in startup and in
shells, etc.
Creating a livecd-creator iso with the same tz setting, then booting,
shows A/L_A in the /etc/sysconfig/clock file, as expected.
However the date is always EDT in the boot messages, shells, etc.
During startup I see :
(lvm)
Press I to enter interactive startup
Setting clock (utc) Mon Jun 4 00:12:59 EDT 2007
(udev)
I'm not clear on what is happening between lvm and udev in the Linux
startup sequence.
If someone could give me a hint about what to look for and where to look
for it I would appreciate the help.
---
John
14 years, 5 months
liveinst failing on images made with livecd-creator
by Brian Varney
I'm having problems getting the liveinst to work with images that I create
with livecd-creator.
The problem only occurs when I make the livecd iso file. Here's the command
I'm using to create the iso.
"livecd-creator -c /usr/share/livecd-tools/livecd-fedora-8-desktop.ks"
liveinst works great until the very end when it says "performing
post-installation filesystem changes". This step never finishes. It stays
on this step forever and I've waited days. When I try to boot to the
installed image, I get a grub prompt but no menu options.
I've tried liveinst on the same system using a an iso file straight from
http://torrent.fedoraproject.org/torrents//Fedora-8-Live-i686.torrent and
liveinst completes with no issues.
Any ideas on how to get some more debug information out of liveinst to see
what is going wrong?
Thanks for any help,
Brian Varney
15 years, 7 months
Re: [Fedora-livecd-list] livecd-creator, revisor fail to build a CD
by Simon Ritchie
I have the same problem, using Fedora core 8. While attempting to build
the minimal livecd, livecd-creator hangs. My Linux box freezes up. If
I can log in and get a command window (not always possible) the shutdown
command runs for a while but does not complete, so the only solution is
to disconnect the power.
Tonight I was luckier and I got some control, so I can post some
diagnostics.
This is a fairly new and clean installation of Fedora core 8 on a Compaq
Pentium III box. The only changes I have made is to install
livecd-creator and the necessary support stuff. The livecd-creator came
from livecd-tools-013-1.fc8.i386.rpm.
I am using a local repository - stored on a linux file server on my home
network and exported via NFS. (Not enough disk space on my build machine.)
I run the command as follows:
livecd-creator --config=livecd-fedora-minimal.ks
(The control file is shown below.)
It hangs after about half an hour. The console shows:
16.22% done, estimate finish Thu Jan 31 19:30:10 2008
24.30% done, estimate finish Thu Jan 31 19:30:08 2008
32.42% done, estimate finish Thu Jan 31 19:30:10 2008
40.50% done, estimate finish Thu Jan 31 19:30:08 2008
48.61% done, estimate finish Thu Jan 31 19:30:10 2008
56.70% done, estimate finish Thu Jan 31 19:30:09 2008
64.81% done, estimate finish Thu Jan 31 19:30:10 2008
72.90% done, estimate finish Thu Jan 31 19:30:09 2008
81.01% done, estimate finish Thu Jan 31 19:30:10 2008
89.09% done, estimate finish Thu Jan 31 19:30:09 2008
97.20% done, estimate finish Thu Jan 31 19:30:10 2008
Total translation table size: 2048
Total rockridge attributes bytes: 1337
Total directory bytes: 4096
Path table size(bytes): 40
Max brk space used 0
61739 extents written (120 MB)
Inserting md5sum into iso image...
md5 = c0590991a2439b041651cc4afa0d1e09
Inserting fragment md5sums into iso image...
fragmd5 = 1716c77e228d4763bd27981c365f48125e7ea77241f7c2ee64bd32db5fc1
frags = 20
Setting supported flag to 0
According to ps, the livecd-creator command is no longer running, but a
few other python scripts are:
[root@l4l ~]# ps -aef | fgrep live
root 6027 5880 0 20:14 pts/3 00:00:00 fgrep live
[root@l4l ~]# ps -aef | fgrep python
root 1693 1 0 18:10 ? 00:00:01 /usr/bin/python -E
/usr/sbin/setroubleshootd
root 2001 1 0 18:10 ? 00:00:00 /usr/bin/python -tt
/usr/sbin/yum-updatesd
root 6031 5880 0 20:15 pts/3 00:00:00 fgrep python
There are the latest error messages in the system log:
Jan 31 19:21:44 l4l kernel: security: invalidating context
unconfined_u:system_r:setrans_t:s0
Jan 31 19:21:44 l4l kernel: security: invalidating context
unconfined_u:system_r:inetd_child_t:s0
Jan 31 19:21:44 l4l kernel: security: invalidating context
unconfined_u:object_r:policy_config_t:s0
Jan 31 19:21:44 l4l kernel: audispd[1502]: segfault at 1fdd8dac eip 001b16ad
esp bfc6c754 error 6
Jan 31 19:24:13 l4l restorecond: Reset file context /etc/mtab:
system_u:object_r:etc_t:s0->system_u:object_r:etc_runtime_t:s0
Jan 31 19:30:13 l4l restorecond:last message repeated 2 times
Jan 31 19:30:13 l4l kernel: top[2642]: segfault at 0000000c eip 00a3c70c esp
bfa9d120 error 6
My control file livecd-fedora-minimal.ks contains
lang en_US.UTF-8
keyboard uk
timezone Europe/London
auth --useshadow --enablemd5
selinux --enforcing
firewall --disabled
part / --size 1024
repo --name=fed8 --baseurl=file:///mnt/fs/livecd.rh8/fedora.rpms
repo --name=ext --baseurl=file:///mnt/fs/livecd.rh8/extras
%packages
@core
bash
kernel
passwd
policycoreutils
chkconfig
authconfig
rootfiles
%end
15 years, 8 months
imgcreate/fs.py
by Jeremy Katz
imgcreate/fs.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 5c0279b8e95682d20526a5ba36fc4eaab81d2198
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jan 31 13:47:24 2008 -0500
Only remove dirs if we are successful with the unmount (#430606)
diff --git a/imgcreate/fs.py b/imgcreate/fs.py
index 0591f1c..9ca3a3e 100644
--- a/imgcreate/fs.py
+++ b/imgcreate/fs.py
@@ -104,9 +104,10 @@ class LoopbackMount:
def unmount(self):
if self.mounted:
rc = subprocess.call(["/bin/umount", self.mountdir])
- self.mounted = False
+ if rc == 0:
+ self.mounted = False
- if self.rmdir:
+ if self.rmdir and not self.mounted:
try:
os.rmdir(self.mountdir)
except OSError, e:
15 years, 8 months
imgcreate/creator.py
by Jeremy Katz
imgcreate/creator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 83315de0ac2b25ebc0225b9ce68d9cf14dbd703e
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jan 31 11:50:11 2008 -0500
Don't require /yum-cache under the cachedir (#430066)
diff --git a/imgcreate/creator.py b/imgcreate/creator.py
index 83622c9..b1766b6 100644
--- a/imgcreate/creator.py
+++ b/imgcreate/creator.py
@@ -430,7 +430,7 @@ class ImageCreator(object):
for d in ("/etc", "/boot", "/var/log", "/var/cache/yum"):
makedirs(self._instroot + d)
- cachesrc = (cachedir or self.__builddir) + "/yum-cache"
+ cachesrc = cachedir or (self.__builddir + "/yum-cache")
makedirs(cachesrc)
# bind mount system directories into _instroot
15 years, 8 months
imgcreate/live.py
by Jeremy Katz
imgcreate/live.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 801b2eda161206f966dcfb3e4b8830360a325ee2
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jan 31 00:05:16 2008 -0500
Fix bogon module name
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 4191c8b..bbb17ef 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -227,7 +227,7 @@ class LiveImageCreatorBase(LoopImageCreator):
f.write('MODULES+="firewire-sbp2 firewire-ohci "\n')
f.write('MODULES+="sbp2 ohci1394 ieee1394 "\n')
elif module == "=mmc":
- f.write('MODULES+="mmc_block sdhlc "\n')
+ f.write('MODULES+="mmc_block sdhci "\n')
else:
f.write('MODULES+="' + module + ' "\n')
15 years, 8 months
3 commits - config/livecd-fedora-base-desktop.ks config/livecd-fedora-desktop.ks
by Jeremy Katz
config/livecd-fedora-base-desktop.ks | 4 ----
config/livecd-fedora-desktop.ks | 2 +-
2 files changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 936f5625a18cd75e7488f53249ddb405f883bfb2
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Jan 30 13:39:55 2008 -0500
Use scim-chinese-pinyin instead of scim-pinyin (Jens Petersen)
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index 2738126..444d655 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -125,7 +125,7 @@ gnome-blog
# more fun with space saving
-scim-lang-chinese
scim-chewing
-scim-pinyin
+scim-chinese-pinyin
# save some space
-gnome-user-docs
commit 9b7f69596b7cfbbe8beefd0e0c808ceebba9c720
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Jan 30 13:37:47 2008 -0500
vmmouse is fixed also
diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index 7382059..4fe7299 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -126,9 +126,6 @@ fi
# configure X, allowing user to override xdriver
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
-# work around broken vmmouse driver
-grep -v CorePointer /etc/X11/xorg.conf > /etc/X11/xorg.conf.x
-mv -f /etc/X11/xorg.conf.x /etc/X11/xorg.conf
# add fedora user with no passwd
useradd -c "Fedora Live" fedora
commit 3229b3907e829e06380579f6ce08bda2b688b7e5
Author: Jens Petersen <petersen(a)redhat.com>
Date: Wed Jan 23 15:43:24 2008 +1000
xorg-x11-drv-cirrus is fixed
Just noticed cirrus is worked around in livecd-tools.git.
You may know already but airlied fixed the cirrus driver this week.
So here a little patch to bring it back.
diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index 46dd0e3..7382059 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -126,10 +126,9 @@ fi
# configure X, allowing user to override xdriver
exists system-config-display --noui --reconfig --set-depth=24 \$xdriver
-# work around broken vmmouse and cirrus drivers
+# work around broken vmmouse driver
grep -v CorePointer /etc/X11/xorg.conf > /etc/X11/xorg.conf.x
mv -f /etc/X11/xorg.conf.x /etc/X11/xorg.conf
-sed -i 's/cirrus/vesa/g' /etc/X11/xorg.conf
# add fedora user with no passwd
useradd -c "Fedora Live" fedora
15 years, 8 months
2 commits - imgcreate/live.py tools/mayflower
by Jeremy Katz
imgcreate/live.py | 4 +++-
tools/mayflower | 5 +----
2 files changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 536d0ed3898231573ccd4d1f9f4f91f6c37efd12
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Jan 30 11:55:00 2008 -0500
Allow running live images from MMC/SD (#430444)
Allow getting MMC/SD related modules into the initrd and also ensure that
mmc_block gets loaded
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 0e35df3..4191c8b 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -68,7 +68,7 @@ class LiveImageCreatorBase(LoopImageCreator):
self.__isodir = None
- self.__modules = ["=ata", "sym53c8xx", "aic7xxx", "=usb", "=firewire"]
+ self.__modules = ["=ata", "sym53c8xx", "aic7xxx", "=usb", "=firewire", "=mmc"]
self.__modules.extend(kickstart.get_modules(self.ks))
#
@@ -226,6 +226,8 @@ class LiveImageCreatorBase(LoopImageCreator):
elif module == "=firewire":
f.write('MODULES+="firewire-sbp2 firewire-ohci "\n')
f.write('MODULES+="sbp2 ohci1394 ieee1394 "\n')
+ elif module == "=mmc":
+ f.write('MODULES+="mmc_block sdhlc "\n')
else:
f.write('MODULES+="' + module + ' "\n')
diff --git a/tools/mayflower b/tools/mayflower
index b6789b8..f77b2be 100755
--- a/tools/mayflower
+++ b/tools/mayflower
@@ -447,7 +447,7 @@ echo "env{MODALIAS}\"" >> /etc/udev/rules.d/10-modprobe.rules
echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\" RUN+=\"/sbin/modprobe sg\"" >> /etc/udev/rules.d/10-modprobe.rules
echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"0|7|14\", RUN+=\"/sbin/modprobe sd_mod\"" >> /etc/udev/rules.d/10-modprobe.rules
echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"[45]\", RUN+=\"/sbin/modprobe sr_mod\"" >> /etc/udev/rules.d/10-modprobe.rules
-
+echo "SUBSYSTEM==\"mmc\", RUN+=\"/sbin/modprobe mmc_block\"" >> /etc/udev/rules.d/10-modprobe.rules
# FIXME: hack since sr_mod seems to fail to get loaded sometimes (#239657)
/sbin/modprobe sr_mod
commit e7d148241f096c4bbb884e725392c52a7a6222cf
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Jan 30 11:47:39 2008 -0500
Remove OLPC-specific bit
diff --git a/tools/mayflower b/tools/mayflower
index 5e9e097..b6789b8 100755
--- a/tools/mayflower
+++ b/tools/mayflower
@@ -448,9 +448,6 @@ echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\" RUN+=\"/sbin/modprobe sg\"" >>
echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"0|7|14\", RUN+=\"/sbin/modprobe sd_mod\"" >> /etc/udev/rules.d/10-modprobe.rules
echo "ACTION==\"add\", SUBSYSTEM==\"scsi_device\", SYSFS{type}==\"[45]\", RUN+=\"/sbin/modprobe sr_mod\"" >> /etc/udev/rules.d/10-modprobe.rules
-# OLPC specific: olpc_nand_enable, hardcodes this device file.. sigh..
-#
-echo "KERNEL==\"msr[0-9]*\", NAME=\"cpu/%n/msr\"" > /etc/udev/rules.d/20-cpu.rules
# FIXME: hack since sr_mod seems to fail to get loaded sometimes (#239657)
/sbin/modprobe sr_mod
15 years, 8 months
config/livecd-fedora-desktop.ks
by Bill Nottingham
config/livecd-fedora-desktop.ks | 84 ++++++++++++++++++++++------------------
1 file changed, 48 insertions(+), 36 deletions(-)
New commits:
commit 3f359f171e93dddfa485c7ac3f2932078f806e17
Author: Bill Nottingham <notting(a)redhat.com>
Date: Tue Jan 29 12:23:07 2008 -0500
Some drastic space saving work.
Remove locales that aren't well translated in GNOME, and their
corresponding fonts.
Also, remove ekiga, therefore removing opal/pwlib/SDL/etc.
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index a573dc7..2738126 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -16,33 +16,21 @@ gnome-blog
#planner
#inkscape
-@afrikaans-support
@albanian-support
@arabic-support
-@armenian-support
-@assamese-support
@basque-support
-@belarusian-support
@bengali-support
-@bhutanese-support
-@bosnian-support
@brazilian-support
-@breton-support
@british-support
@bulgarian-support
@catalan-support
@chinese-support
-@croatian-support
@czech-support
@danish-support
@dutch-support
@estonian-support
-@ethiopic-support
-@faeroese-support
-@filipino-support
@finnish-support
@french-support
-@gaelic-support
@galician-support
@georgian-support
@german-support
@@ -51,23 +39,15 @@ gnome-blog
@hebrew-support
@hindi-support
@hungarian-support
-@icelandic-support
@indonesian-support
-@inuktitut-support
-@irish-support
@italian-support
@japanese-support
-@kannada-support
@khmer-support
@korean-support
-@lao-support
@latvian-support
@lithuanian-support
-@malay-support
@malayalam-support
-@maori-support
@marathi-support
-@northern-sotho-support
@norwegian-support
@oriya-support
@persian-support
@@ -76,33 +56,64 @@ gnome-blog
@punjabi-support
@romanian-support
@russian-support
-@samoan-support
@serbian-support
-@sinhala-support
@slovak-support
@slovenian-support
-@somali-support
-@southern-ndebele-support
-@southern-sotho-support
@spanish-support
-@swati-support
@swedish-support
-@tagalog-support
@tamil-support
@telugu-support
@thai-support
-@tibetan-support
-@tonga-support
-@tsonga-support
-@tswana-support
@turkish-support
@ukrainian-support
-@urdu-support
-@venda-support
@vietnamese-support
@welsh-support
-@xhosa-support
-@zulu-support
+
+# The following locales have less than 50% translation coverage for the core
+# GNOME stack, as found at http://l10n.gnome.org/languages/
+
+#@afrikaans-support
+#@armenian-support
+#@assamese-support
+#@belarusian-support
+#@bhutanese-support
+#@bosnian-support
+#@breton-support
+#@croatian-support
+#@ethiopic-support
+#@faeroese-support
+#@filipino-support
+#@gaelic-support
+#@icelandic-support
+#@inuktitut-support
+#@irish-support
+#@kannada-support
+#@lao-support
+#@malay-support
+#@maori-support
+#@northern-sotho-support
+#@samoan-support
+#@sinhala-support
+#@somali-support
+#@southern-ndebele-support
+#@southern-sotho-support
+#@swati-support
+#@tagalog-support
+#@tibetan-support
+#@tonga-support
+#@tsonga-support
+#@tswana-support
+#@urdu-support
+#@venda-support
+#@xhosa-support
+#@zulu-support
+
+# These fonts are only used in the commented-out locales above
+-lklug-fonts
+-lohit-fonts-kannada
+-abyssinica-fonts
+-jomolhari-fonts
+
# dictionaries are big
-aspell-*
@@ -126,7 +137,8 @@ scim-pinyin
-dasher
-evince-dvi
-evince-djvu
-
+# temporary - drags in many deps
+-ekiga
%end
%post
15 years, 8 months
config/livecd-fedora-desktop.ks
by Matthias Clasen
config/livecd-fedora-desktop.ks | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 469cafdae8858e4a15c14ba4a70bd1db58d9200c
Author: Matthias Clasen <mclasen(a)redhat.com>
Date: Tue Jan 29 01:35:02 2008 -0500
Remove "minority" evince backends
diff --git a/config/livecd-fedora-desktop.ks b/config/livecd-fedora-desktop.ks
index 2b79f76..a573dc7 100644
--- a/config/livecd-fedora-desktop.ks
+++ b/config/livecd-fedora-desktop.ks
@@ -124,6 +124,8 @@ scim-pinyin
-nss_db
-vino
-dasher
+-evince-dvi
+-evince-djvu
%end
15 years, 8 months