shutting down f19-livecd corrups raid1
by Joshua C.
My raid1 gets corrupted _everytime_ I shut down a
f19-kde-livecd-image. I used kernel.f19 and mdadm.f19 in a f17-livecd
and everything works fine. So these two are not the problem.
What should I look at? maybe dracut???
PS: Testing and experimenting isn't a good idea here because it takes
almost 3 hours for the raid to rebuild...
--
--joshua
10 years
New builds?
by Bruno Wolff III
I just committed a fix to master and f19-branch for dealing with the latest
yum's change to the yum.config._getsysver function. There are other pending
changes in both of those branches.
Is there any reason I shouldn't do new builds for rawhide, f20 and f19?
I also noticed we haven't created f20-branch yet. Is there a reason not
to do that?
10 years, 2 months
imgcreate/yuminst.py
by Bruno Wolff III
imgcreate/yuminst.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 08c74851efadb81fed8af528bb806fb822f5d74d
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Dec 21 13:27:19 2013 -0600
Fix to work with the changed yum.config._getsysver
Sometime after 3.4.3-106 yum.config._getsysver was changed so that
its second argument is a list of strings instead of a single string.
The default for yum itself is "system-release(release)", "redhat-release",
so it seems like that would be good to use for livecd-tools.
This should fix bug 1044675.
diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index ea44737..0865b31 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -158,7 +158,7 @@ class LiveCDYum(yum.YumBase):
option = option.replace("$releasever", self.releasever)
else:
try:
- option = option.replace("$releasever", yum.config._getsysver("/", "redhat-release"))
+ option = option.replace("$releasever", yum.config._getsysver("/", ("system-release(release), "redhat-release")))
except yum.Errors.YumBaseError:
raise CreatorError("$releasever in repo url, but no releasever set")
return option
10 years, 3 months
Branch 'f19-branch' - imgcreate/yuminst.py
by Bruno Wolff III
imgcreate/yuminst.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d4b311ef489943524242e2b340f6b4dd29bdc19a
Author: Bruno Wolff III <bruno(a)wolff.to>
Date: Sat Dec 21 13:27:19 2013 -0600
Fix to work with the changed yum.config._getsysver
Sometime after 3.4.3-106 yum.config._getsysver was changed so that
its second argument is a list of strings instead of a single string.
The default for yum itself is "system-release(release)", "redhat-release",
so it seems like that would be good to use for livecd-tools.
This should fix bug 1044675.
diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index ea44737..0865b31 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -158,7 +158,7 @@ class LiveCDYum(yum.YumBase):
option = option.replace("$releasever", self.releasever)
else:
try:
- option = option.replace("$releasever", yum.config._getsysver("/", "redhat-release"))
+ option = option.replace("$releasever", yum.config._getsysver("/", ("system-release(release), "redhat-release")))
except yum.Errors.YumBaseError:
raise CreatorError("$releasever in repo url, but no releasever set")
return option
10 years, 3 months
tools/livecd-iso-to-disk.sh
by Brian C. Lane
tools/livecd-iso-to-disk.sh | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 9e8c8328f976f07e98083e5c23278f20f098e1a2
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Thu Dec 19 11:50:27 2013 -0800
Add check for extlinux tools (#881317)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index d6f21a4..5f4b697 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -567,6 +567,12 @@ checkFilesystem() {
fi
fi
+ if [ "$TGTFS" = "ext2" -o "$TGTFS" = "ext3" -o "$TGTFS" = "ext4" -a ! -x /sbin/extlinux ]; then
+ echo "Target filesystem ($TGTFS) requires syslinux-extlinux to be installed."
+ exitclean
+ fi
+
+
TGTLABEL=$(/sbin/blkid -s LABEL -o value $dev)
if [ "$TGTLABEL" != "$label" ]; then
if [ "$TGTFS" = "vfat" -o "$TGTFS" = "msdos" ]; then
10 years, 3 months
tools/livecd-iso-to-disk.sh
by Brian C. Lane
tools/livecd-iso-to-disk.sh | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
New commits:
commit 75fc59b57741e43e920f74f8e320784ed70f3db6
Author: Brian C. Lane <bcl(a)redhat.com>
Date: Wed Dec 18 16:38:13 2013 -0800
Cleanup arg parsing a bit (#725047)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 0759dee..d6f21a4 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -719,12 +719,9 @@ updates=
ks=
label="LIVE"
-if [[ "$*" =~ "--help" ]]; then
- usage
-fi
-while [ $# -gt 2 ]; do
+while true ; do
case $1 in
- --help)
+ --help | -h | -?)
usage
;;
--noverify)
@@ -818,17 +815,26 @@ while [ $# -gt 2 ]; do
label=$2
shift
;;
- *)
+ --*)
echo "invalid arg -- $1"
shortusage
exit 1
;;
+ *)
+ break
+ ;;
esac
shift
done
-SRC=$(readlink -f "$1")
-TGTDEV=$(readlink -f "$2")
+if [ $# -ne 2 ]; then
+ echo "Missing arguments"
+ shortusage
+ exit 1
+fi
+
+SRC=$(readlink -f "$1") || :
+TGTDEV=$(readlink -f "$2") || :
if [ -z "$SRC" ]; then
echo "Missing source"
10 years, 3 months
errors: can not find baseurl for fedora
by Ranjan Maitra
Hi,
I was trying to create a LiveCD and I get the following errors with
F20: could someone please point out to the possible problem?
Btw, I have the same problems with running one of the standard
kickstart files also, so I suspect that this may have something to do
with my settings. Can someone please help?
Best wishes,
Ranjan
PS: The messages follow:
% sudo setenforce 0
% sudo livecd-creator --config=fedora-livecd-shunya.ks --tmpdir=tmp
--fslabel=Fedora-Shunya-20_x86_64
['/sbin/mkfs.ext4', '-F', '-L', '_Fedora-Shunya-20_x86_64', '-m', '1',
'-b', '4096', '/dev/loop0'] lazy umount succeeded
on /home/maitra/remix/tmp/imgcreate-pSlskn/install_root//var/cache/yum
Traceback (most recent call last): File "/bin/livecd-creator", line
237, in <module> sys.exit(main())
File "/bin/livecd-creator", line 218, in main
creator.install()
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line
642, in install ayum.setup(yum_conf, self._instroot)
File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line
105, in setup self.doTsSetup()
File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 129, in
doTsSetup return self._getTs()
File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 137, in
_getTs if not remove_only and self._tsInfo.pkgSack is None:
File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line
140, in <lambda> pkgSack = property(fget=lambda self: self._getPkgSack
(), File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py",
line 137, in _getPkgSack self._pkgSack = self._pkgSackCtor()
File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 76, in
__call__ return self.ayum.pkgSack
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1071,
in <lambda> pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 776, in
_getSacks self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in
populateSack sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 224, in
populate if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 316, in
_check_db_version return repo._check_db_version(mdtype)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1484, in
_check_db_version repoXML = self.repoXML
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1670, in
<lambda> repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1666, in
_getRepoXML self._loadRepoXML(text=self.ui_id)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1657, in
_loadRepoXML return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes
()) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1631,
in _groupLoadRepoXML if self._commonLoadRepoXML(text):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1456, in
_commonLoadRepoXML result = self._getFileRepoXML(local, text)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1234, in
_getFileRepoXML size=102400) # setting max size as 100K
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1014, in
_getFile result = self.grab.urlgrab(misc.to_utf8(relative), local,
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 694, in
<lambda> grab = property(lambda self: self._getgrab())
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 689, in
_getgrab self._setupGrab()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 627, in
_setupGrab urls = self.urls
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 871, in
<lambda> urls = property(fget=lambda self: self._geturls(),
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in
_geturls self._baseurlSetup()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 834, in
_baseurlSetup self.check()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 554, in
check 'Cannot find a valid baseurl for repo: %s' % self.ui_id
yum.Errors.RepoError: Cannot find a valid baseurl for repo: fedora
m
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
Check it out at http://www.inbox.com/earth
10 years, 3 months