Can I create Livecd x86_64 on i686 mashine?
by Joshua C.
I tried to create a x86_64 livecd on my i686 installation and got the
error "cannot find kernel package". Prior to this i edited the repo
link to point to x86_64 repos. the i686 can be created with out
problems. is this possible?
15 years, 5 months
Changes to 'refs/tags/livecd-tools-020'
by Jeremy Katz
Tag 'livecd-tools-020' created by Jeremy Katz <katzj(a)redhat.com> at 2008-11-12 21:21 +0000
livecd-tools-020
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkkbSOwACgkQbZmr36XllQ31ywCg+p6Ha2ZBQC07b37c1TaDRxgG
7wwAnjzPYn3fKTeblOMzkLijdGuWpS8a
=VjUR
-----END PGP SIGNATURE-----
Changes since livecd-tools-019-14:
---
0 files changed
---
15 years, 5 months
2 commits - livecd-tools.spec Makefile
by Jeremy Katz
Makefile | 2 +-
livecd-tools.spec | 16 ++++++++++++++--
2 files changed, 15 insertions(+), 3 deletions(-)
New commits:
commit f5d9fe4736f7bd71ab56c12e1e41ff54aae7c927
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Nov 12 16:21:23 2008 -0500
Bump version
diff --git a/Makefile b/Makefile
index a463fc5..48c89d5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION = 019
+VERSION = 020
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
diff --git a/livecd-tools.spec b/livecd-tools.spec
index 863b9ff..7ab1468 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -4,7 +4,7 @@
Summary: Tools for building live CD's
Name: livecd-tools
-Version: 019
+Version: 020
Release: 1%{?dist}
License: GPLv2
Group: System Environment/Base
@@ -64,6 +64,18 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/imgcreate/*.pyc
%changelog
+* Wed Nov 12 2008 Jeremy Katz <katzj(a)redhat.com> - 020-1
+- Support setting up a swap file
+- Verify integer args in livecd-iso-to-disk (#467257)
+- Set up persistent /home on internal mtd0 for XO
+- Default to resetting the overlay on XO
+- Support copying the raw ext3fs to the usb stick instead of the squash
+- Mactel fixes
+- Align initrd properly on XO (#467093)
+- Make initrd load addr work on newer XO firmwares
+- Fix up Xen paths for Xen live images (Michael Ansel)
+- Support --defaultdesktop (Orion Poplawski)
+
* Fri Oct 10 2008 Jeremy Katz <katzj(a)redhat.com> - 019-1
- livecd-iso-to-disk: Various other XO fixes
- Cleanup rpmdb locks after package installation
commit f96624fe18fa299d03f2e770d6a8b8ab933fbebb
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Nov 12 16:18:32 2008 -0500
Stop requiring yaboot on ppc64 since there isn't ppc64 yaboot.
ppc64 doesn't have a ppc64 yaboot so it's not in the ppc64-only trees; it
gets pulled onto boxes as the ppc32 version though. I'm tired of getting
bugged about it though
diff --git a/livecd-tools.spec b/livecd-tools.spec
index 681f6cf..863b9ff 100644
--- a/livecd-tools.spec
+++ b/livecd-tools.spec
@@ -24,7 +24,7 @@ Requires: rhpl
%ifarch %{ix86} x86_64
Requires: syslinux
%endif
-%ifarch ppc ppc64
+%ifarch ppc
Requires: yaboot
%endif
BuildRequires: python
15 years, 5 months
2 commits - tools/livecd-iso-to-disk.sh
by Jeremy Katz
tools/livecd-iso-to-disk.sh | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
New commits:
commit a2f6bcec53e2c455cfcff76a4a297c31685034f1
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Wed Nov 12 12:31:19 2008 -0500
Make initrd mem patch for OLPC conditional on firmware revision
Make the olpc.fth patch for changing where the ramdisk gets loaded
conditional on firmware revision since later firmwares already do
this (Mitch Bradley, http://dev.laptop.org/ticket/8971#comment:2)
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index ab2e632..b11c0aa 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -547,14 +547,16 @@ if [ -n "$xo" ]; then
if [ ! -d $USBMNT/boot ]; then mkdir -p $USBMNT/boot ; fi
cat > $USBMNT/boot/olpc.fth <<EOF
\ Boot script for USB boot
-patch 2drop erase claim-params
-: high-ramdisk ( -- )
- cv-load-ramdisk
- h# 22c +lp l@ 1+ memory-limit umin /ramdisk - ffff.f000 and ( new-ramdisk-adr )
- ramdisk-adr over /ramdisk move ( new-ramdisk-adr )
- to ramdisk-adr
-;
-' high-ramdisk to load-ramdisk
+hex rom-pa fffc7 + 4 $number drop h# 2e19 < [if]
+ patch 2drop erase claim-params
+ : high-ramdisk ( -- )
+ cv-load-ramdisk
+ h# 22c +lp l@ 1+ memory-limit umin /ramdisk - ffff.f000 and ( new-ramdisk-adr )
+ ramdisk-adr over /ramdisk move ( new-ramdisk-adr )
+ to ramdisk-adr
+ ;
+ ' high-ramdisk to load-ramdisk
+[then]
: set-bootpath-dev ( -- )
" /chosen" find-package if ( phandle )
commit 80dd9e607655230c9566c85288edfd44b810c09c
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Fri Nov 7 16:58:01 2008 -0500
Align initrd properly (#467093)
The initrd needs to be loaded aligned in memory to avoid a kernel warning
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index d3e81cc..ab2e632 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -550,7 +550,7 @@ if [ -n "$xo" ]; then
patch 2drop erase claim-params
: high-ramdisk ( -- )
cv-load-ramdisk
- h# 22c +lp l@ 1+ memory-limit umin /ramdisk - ( new-ramdisk-adr )
+ h# 22c +lp l@ 1+ memory-limit umin /ramdisk - ffff.f000 and ( new-ramdisk-adr )
ramdisk-adr over /ramdisk move ( new-ramdisk-adr )
to ramdisk-adr
;
15 years, 5 months
[PATCH] Few tab issues to get it running
by Bryan Kearney
From: Bryan Kearney <bkearney(a)redhat.com>
---
imgcreate/kickstart.py | 2 +-
tools/livecd-creator | 26 ++++++++++++--------------
2 files changed, 13 insertions(+), 15 deletions(-)
mode change 100644 => 100755 tools/livecd-iso-to-disk.sh
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index b5f3a43..ba2822b 100644
--- a/imgcreate/kickstart.py
+++ b/imgcreate/kickstart.py
@@ -160,7 +160,7 @@ class TimezoneConfig(KickstartConfig):
try:
shutil.copyfile(self.path("/usr/share/zoneinfo/%s" %(tz,)),
self.path("/etc/localtime"))
- except OSError, (errno, msg):
+ except OSError, (errno, msg):
log.error("Error copying timezone: %s" %(msg,))
diff --git a/tools/livecd-creator b/tools/livecd-creator
index cd6ef08..170995f 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -117,22 +117,20 @@ def main():
creator.skip_minimize = options.skip_minimize
try:
- try:
- creator.mount(options.base_on, options.cachedir)
- creator.install()
- creator.configure()
- if options.give_shell:
- print "Launching shell. Exit to continue."
- print "----------------------------------"
- creator.launch_shell()
- creator.unmount()
- creator.package()
- except imgcreate.CreatorError, e:
- print >> sys.stderr, "Error creating Live CD : %s" % e
- return 1
+ creator.mount(options.base_on, options.cachedir)
+ creator.install()
+ creator.configure()
+ if options.give_shell:
+ print "Launching shell. Exit to continue."
+ print "----------------------------------"
+ creator.launch_shell()
+ creator.unmount()
+ creator.package()
+ except imgcreate.CreatorError, e:
+ print >> sys.stderr, "Error creating Live CD : %s" % e
+ return 1
creator.cleanup()
-
return 0
if __name__ == "__main__":
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
old mode 100644
new mode 100755
--
1.5.5.1
15 years, 5 months
Future features - GUI and Windows / OS X creator?
by Stewart Adam
Hi,
Are there any plans for adding a GUI to the livecd tools and/or
supporting Windows and OS X in future? I would be interested in helping
develop both features, but I would definetly need some help with the
Windows and OS X ports.
Stewart
15 years, 5 months
2 commits - imgcreate/live.py tools/livecd-iso-to-disk.sh
by Jeremy Katz
imgcreate/live.py | 8 ++++----
tools/livecd-iso-to-disk.sh | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit c0402da9ca6a9430aeb3bcfcb8440b2fb2c27ae7
Author: Michael Ansel <michael.ansel(a)gmail.com>
Date: Fri Nov 7 14:14:08 2008 -0500
Fix up Xen paths
diff --git a/imgcreate/live.py b/imgcreate/live.py
index 17d3037..362d68a 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -316,7 +316,7 @@ class x86LiveImageCreator(LiveImageCreatorBase):
def __copy_syslinux_files(self, isodir, menu, mboot = None):
files = ["isolinux.bin", menu]
if mboot:
- files += mboot
+ files += [mboot]
for f in files:
path = self._instroot + "/usr/lib/syslinux/" + f
@@ -348,8 +348,8 @@ class x86LiveImageCreator(LiveImageCreatorBase):
isodir + "/isolinux/initrd" + index + ".img")
is_xen = False
- if os.path.exists(bootdir + "/boot/xen.gz-" + version[:-3]):
- shutil.copyfile(bootdir + "/boot/xen.gz-" + version[:-3],
+ if os.path.exists(bootdir + "/xen.gz-" + version[:-3]):
+ shutil.copyfile(bootdir + "/xen.gz-" + version[:-3],
isodir + "/isolinux/xen" + index + ".gz")
is_xen = True
@@ -399,7 +399,7 @@ menu hiddenrow 5
template = """label %(short)s
menu label %(long)s
kernel mboot.c32
- append xen%(index)s.gz --- vmlinuz%(index)s --- initrd%(index)s.img root=CDLABEL=%(fslabel)s rootfstype=iso9660 %(liveargs)s %(extra)s
+ append xen%(index)s.gz --- vmlinuz%(index)s root=CDLABEL=%(fslabel)s rootfstype=iso9660 %(liveargs)s %(extra)s --- initrd%(index)s.img
"""
return template % args
commit d3a0e75adfcdbaa319e6b0093679c20c67443b2b
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Tue Oct 28 21:33:41 2008 -0400
Fix up whitespace horkiness
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 239846e..d3e81cc 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
@@ -280,9 +280,9 @@ while [ $# -gt 2 ]; do
--xo-no-home)
xonohome=1
;;
- --compress)
- skipcompress=""
- ;;
+ --compress)
+ skipcompress=""
+ ;;
--skipcompress)
skipcompress=1
;;
15 years, 5 months
Issue with ps2 mouse and usb
by Mike Martin
Hi I have found that if I transfer my image to a USB stick I have no
mouse support (ps2)
This does not happen if I burn to CD
Any ideas what is happening here?
15 years, 5 months