Cannot create livecd from local repo
by Joshua C.
I cannot create a livecd image from a local repo. I have
livecd-creator and all the ks files. I've downloaded all necessary
files to a local dir (just copied them from previous downloaded cache)
and then run createrepo on it. Then I edited the ks file with "repo
--name=jdfhjdsfh --baseurl=file:///mnt/path to repodata". When
starting livecd-creator it says "retrieving file=///mnt/dsfgsdhfshf
...OK", then it retrieves the repofiles for the other repos and starts
downloading all the files again regardless of the fact that I've
already downloaded them.
How to make livecd-creator see the already downloaded files instead of
downloading them twice?
15 years
[PATCH] quiet restorecon
by Marc Herbert
Hi,
In my configuration, the attached patch is reducing the output of
livecd-creator from 2000 lines to 700 lines.
I suspect that these 1300 lines of output from restorecon are not very
useful to anyone, are they?
Cheers,
Marc
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 5afe8f9..83a62e4 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -419,7 +419,7 @@ class SelinuxConfig(KickstartConfig):
if not os.path.exists(self.path("/sbin/restorecon")):
return
- self.call(["/sbin/restorecon", "-l", "-v", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
+ self.call(["/sbin/restorecon", "-l", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
def apply(self, ksselinux):
if os.path.exists(self.path("/usr/sbin/lokkit")):
15 years
[PATCH] Add options to force fetching of repomd.xml every run.
by Jesse Keating
This will make repomd.xml "timeout" every run and force yum to fetch
a new one. However if it matches the rest of the repodata no other files
will be downloaded. This helps when using the same cachedir for 32bit and
64bit runs. Also expire the mirrorlist every run to ensure we get proper mirrors.
---
imgcreate/yuminst.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index 080034b..d3f36ac 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -144,6 +144,8 @@ class LiveCDYum(yum.YumBase):
repo.basecachedir = self.conf.cachedir
repo.failovermethod = "priority"
repo.metadata_expire = 0
+ repo.mirrorlist_expire = 0
+ repo.timestamp_check = 0
# disable gpg check???
repo.gpgcheck = 0
repo.enable()
--
1.6.2.2
15 years
2 commits - imgcreate/kickstart.py imgcreate/yuminst.py
by Jeremy Katz
imgcreate/kickstart.py | 2 +-
imgcreate/yuminst.py | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit e08034c7738a22edaddbdddf3f8d63991cafb2b6
Author: Marc Herbert <Marc.Herbert(a)gmail.com>
Date: Thu Apr 9 18:19:03 2009 +0100
quiet restorecon
In my configuration, the attached patch is reducing the output of
livecd-creator from 2000 lines to 700 lines.
I suspect that these 1300 lines of output from restorecon are not very
useful to anyone, are they?
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index 5afe8f9..83a62e4 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -419,7 +419,7 @@ class SelinuxConfig(KickstartConfig):
if not os.path.exists(self.path("/sbin/restorecon")):
return
- self.call(["/sbin/restorecon", "-l", "-v", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
+ self.call(["/sbin/restorecon", "-l", "-r", "-F", "-e", "/proc", "-e", "/sys", "-e", "/dev", "-e", "/selinux", "/"])
def apply(self, ksselinux):
if os.path.exists(self.path("/usr/sbin/lokkit")):
commit 727e6a818b8e542ee484021febea6cb9db8adaff
Author: Jesse Keating <jkeating(a)redhat.com>
Date: Thu Apr 9 09:22:23 2009 -0700
Add options to force fetching of repomd.xml every run.
This will make repomd.xml "timeout" every run and force yum to fetch
a new one. However if it matches the rest of the repodata no other files
will be downloaded. This helps when using the same cachedir for 32bit and
64bit runs. Also expire the mirrorlist every run to ensure we get proper mirrors.
diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index 080034b..d3f36ac 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -144,6 +144,8 @@ class LiveCDYum(yum.YumBase):
repo.basecachedir = self.conf.cachedir
repo.failovermethod = "priority"
repo.metadata_expire = 0
+ repo.mirrorlist_expire = 0
+ repo.timestamp_check = 0
# disable gpg check???
repo.gpgcheck = 0
repo.enable()
15 years
className - PatitionTypeWindow
by Williamson Grant
Did a spin of the fedora live desktop en from rawhide.
After iso is created, trying to install fails to hard drive with.
className - PatitionTypeWindow
No module named partedUtils
Not a livecd issue but, thought I would mention it here
Did the partedUtils module get removed from anaconda?
15 years
Report On F-11 Beta With Orca
by Janina Sajka
I spent quite a bit of time attempting a few basic tasks plus attempting
an install using the F-11 Live Beta with the Orca screen reader.
It's much improved over F-10. Congrats!
* Default volume level is good--it was way too low with F-10.
* The logout and relogin after setting up Orca now works
* correctly. With F-10 you had to wait "forever" to have
* reasonable certainty that GNOME was restarted, then launch ORCA
* again via Alt+F2. Now it just starts, which is as it should be.
Problem Areas
* It would be preferable to use gnome-speech-espeak as the default
* Orca driver for several reasons:
-- Espeak is more responsive and that's a big deal with a screen
reader. Low latency, quick "shutup," etc., are far more important to
screen reading than high quality speech synthesis.
-- Festival is a particularly bad choice in the "shutup"
department. It will keep speaking until it has finished the string it
was given to say, whatever the user does. This makes for very sluggish
handling. The user must wait for the computer to finish speaking, with
no ability to stop speech and move on. This has things the wrong way
round as computers should wait on people, not people on computers.
* My attempt to install F-11 from the Live desktop icon failed.
* All I could glean is that Orca had the installation screen
* listed as "inaccessible." This is on an x86_64 box using x86_64
* Live. It may not be there in i386.
I wqould like to help debug this, but not sure how to proceed.
Janina
--
Janina Sajka, Phone: +1.202.595.7777;
sip:janina@CapitalAccessibility.Com
Partner, Capital Accessibility LLC http://CapitalAccessibility.Com
Marketing the Owasys 22C talking screenless cell phone in the U.S. and Canada
Learn more at http://ScreenlessPhone.Com
Chair, Open Accessibility janina(a)a11y.org
Linux Foundation http://a11y.org
15 years
install to harddisk does not support ext4
by Williamson Grant
tried an install to harddisk from a livecd, as default it creates a ext4
partition,
which gives an error, that I need a ext3.
Selecting ext3 and image installs.
15 years
vmware fusion and f11 live
by Williamson Grant
Anyone have any ideas why livecds created in Fedora 11 beta just will
not boot in vmware.
The same iso boots in sun virtual box and on a real machine.
This is as far as it gets during the boot process.
15 years