it is done.
Any comments to improve this?
Warren Togami
[EMAIL PROTECTED]
diff --git a/imgcreate/__init__.py b/imgcreate/__init__.py
index e535014..3731912 100644
--- a/imgcreate/__init__.py
+++ b/imgcreate/__init__.py
@@ -25,7 +25,8 @@ from imgcreate.fs import *
A set of classes for building Fedora
ChrootCreator class and chroot-creator tool
- install to a target chroot directory
It does not change the behavior of any existing user of LiveCD tools.
This is a slightly updated from my previous post 3 days ago.
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd
Daniel P. Berrange wrote:
On Mon, Feb 18, 2008 at 04:58:38PM -0500, Warren Togami wrote:
ChrootCreator class and chroot-creator tool
- install to a target chroot directory
This is slightly updated from my previous post 3 days ago.
Your attachment was 0-bytes long
Regards,
Dan.
I'm
ChrootCreator class and chroot-creator tool
- install to a target chroot directory
This is slightly updated from my previous post 3 days ago.
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd
.
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
.
Is there any safe way to detect that processes within the chroot are
truly done before trusting that the unmount was complete?
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
to the way it is abstracted.
Any ideas what could be done here?
Warren Togami
[EMAIL PROTECTED]
[1]
OK, it really does have labels, but all the labels are the same.
diff --git a/imgcreate/kickstart.py b/imgcreate/kickstart.py
index a7e0723..30156d8 100644
--- a/imgcreate/kickstart.py
+++ b
Warren Togami wrote:
I am trying to reproduce the install behavior of anaconda --noselinux,
where it installs a chroot without labels. [1] I need this for LTSP due
to SELinux chroot limitations, and Dan Walsh confirms that this is my
best option given these current limitations.
First I
classes.
Warren Togami
[EMAIL PROTECTED]
diff --git a/imgcreate/creator.py b/imgcreate/creator.py
index f686ce7..bb8904a 100644
--- a/imgcreate/creator.py
+++ b/imgcreate/creator.py
@@ -435,10 +435,14 @@ class ImageCreator(object):
# bind mount system directories into _instroot
(f, self._instroot,
dest))
Anyone know why we are --bind mounting /var/cache/yum from the host into
the chroot during install when we aren't using it?
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo
. The resulting chroot was still i686.
Any suggestions as to what is the best way the equivalent of anaconda's
--targetarch= can be implemented in ImageCreator?
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman
[PATCH] remove mayflower from Makefile install
There is mayflower is no longer in livecd-tools.
diff --git a/Makefile b/Makefile
index 050fe88..6efe58c 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,6 @@ install:
$(INSTALL_PROGRAM) -D tools/image-creator $(DESTDIR)/usr/bin/image-creator
.
I just tried the same thing with the USB stick reformatted as ext3. It
successfully created the sparse file without any problem.
Perhaps this means we cannot support overlay images on vfat?
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https
Did I misunderstand what James asked? It sounded like he wanted to add
a whole bunch of additional packages to the standard LiveCD's in order
to allow building out-of-tree kernel modules. If this is the case then
the answer is NO because:
1) It is not a priority of Fedora to support
review would be appreciated please.
Harald could you please look it over and build ASAP? Please let
rel-eng@ know after built.
Thanks,
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
a %post?
Are both supposed to run (in what order?), or only %post?
Similarly %pre and %post in the same kickstart script, %pre seems to be
ignored.
Anybody have any idea how I can achieve my goal of copying
/etc/resolv.conf from the host and into the chroot, before or during %post?
Warren
unable to run /bin/su because of a denied permission. setenforce 0
prior to livecd-creator creates a working image.
Are we missing bits pushed to F9 updates that would allow enforcing to
be enabled and to create a valid LiveCD image?
Warren Togami
[EMAIL PROTECTED]
--
Fedora-livecd-list mailing
fail due to the livecd-creator within another
livecd-creator and the need to keep the cache away from the final image.
1) Put these three files into the same directory.
2) mkdir /tmp/cache
3) cd /tmp
4) setarch i386 livecd-creator --cache=/tmp/cache -c
/path/to/live-ltsp-server.ks
Warren Togami
Warren Togami wrote:
Hi Eric,
warren jeremy: btw, any idea why if I create a livecd while enforcing,
the resulting image when booted cannot do /bin/su?
Permission denied
warren jeremy: F9 host, F9 target image
warren jeremy: it seems fine if I setenforce 0 before livecd-creator
jeremy warren
Removing password for user root.
passwd: Success
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora: import read failed(-1).
e2fsck 1.41.4 (27-Jan-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference
Warren Togami wrote:
Pass 5: Checking group summary information
fedora-livecd--i: 78136/139264 files (1.7% non-contiguous),
542199/542199 blocks
device-mapper: remove ioctl failed: Device or resource busy
Command failed
/usr/lib/python2.6/site-packages/imgcreate/errors.py:45
There is a similar problem with vfat filesystems, where syslinux is a
path that does not exist, and mmove subsequently segfaults because it
doesn't know how to handle it. I'm working on that issue separately.
[PATCH] livecd-iso-to-disk giving wrong directory path to extlinux
diff --git
Warren Togami wrote:
There is a similar problem with vfat filesystems, where syslinux is a
path that does not exist, and mmove subsequently segfaults because it
doesn't know how to handle it. I'm working on that issue separately.
The previous patch to make the extlinux code-path work
Warren Togami wrote:
Warren Togami wrote:
There is a similar problem with vfat filesystems, where syslinux is a
path that does not exist, and mmove subsequently segfaults because it
doesn't know how to handle it. I'm working on that issue separately.
The previous patch to make
Jeremy Katz wrote:
On Wednesday, March 04 2009, Warren Togami said:
Warren Togami wrote:
Pass 5: Checking group summary information
fedora-livecd--i: 78136/139264 files (1.7% non-contiguous),
542199/542199 blocks
device-mapper: remove ioctl failed: Device or resource busy
Command failed
https://bugzilla.redhat.com/show_bug.cgi?id=494157
I just discovered that memtest86+ is no longer able to boot from
syslinux. Set as F11Blocker. Posting here just so people don't file
duplicate bugs.
Warren Togami
wtog...@redhat.com
--
Fedora-livecd-list mailing list
Fedora-livecd-list
.
If this patch is acceptable, it will be followed by another patch that
cleans up the code.
Comments?
Warren Togami
wtog...@redhat.com
diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh
index 4effb3e..f2873f4 100755
--- a/tools/livecd-iso-to-disk.sh
+++ b/tools/livecd-iso-to-disk.sh
On 04/29/2009 10:15 PM, Jeremy Katz wrote:
On Tuesday, April 28 2009, Warren Togami said:
This patch allows livecd-iso-to-disk.sh to detect if the specified .iso
image is an Anaconda DVD installer. If so, it copies it to the USB disk
and configures syslinux to boot it. Anaconda
On 04/29/2009 11:03 PM, Jeremy Katz wrote:
Yes, but at least it's written in python so that things can be
abstracted nicely rather than the horrors of shell :-) At which point,
maybe it should have a rename. But I'll leave that for Luke ;-)
Jeremy
Would you accept a patch for
[PATCH] Handle initrd-generic dracut initrd's
Currently dist-f12 koji repo, but not yet f12-alpha.
diff --git a/imgcreate/live.py b/imgcreate/live.py
index b98f7b3..c4381b2 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -361,8 +361,13 @@ class
Trying livecd-creator as of git 1d215ebcf584b2bc19dece88b7f75944de2ad3f0
with August 20th rawhide + ntfsprogs to fix the broken dep.
Installing: plymouth-gdm-hooks # [988/988]
Removing password for user root.
passwd: Success
e2fsck 1.41.8 (11-July-2009)
Pass 1:
initrd-generic is now gone. initramfs is now the permanent name. I'm
updating livecd in git for this.
Warren Togami
wtog...@redhat.com
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
mclasen noticed this is one of the last things creating modprobe.conf,
which in turn causes many annoying deprecation warnings. I'm committing
this to livecd git and tagging a new build for F-12 later today unless
there are any objections.
Warren Togami
wtog...@redhat.com
diff --git
Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0efc40ac0433cc1cd2a6702f4a3acf0621488940
Author: Warren Togami wtog...@redhat.com
Date: Thu Sep 10 16:02:45 2009 -0400
version 027
diff --git a/Makefile b/Makefile
index f208c41..76f1580 100644
Martin Langhoff (1):
creator: -d opt and matching setdebug() method that gets rpm in debug
mode
Matthias Clasen (1):
Switch to using blkid instead of vol_id (#506360)
Warren Togami (5):
chattr -i extlinux.sys
dracut output image filename s/initrd-generic/initramfs/
ppc
tools/livecd-iso-to-disk.sh | 59 +---
1 file changed, 56 insertions(+), 3 deletions(-)
New commits:
commit 09678eb9284f2df7618c4609998fd3bd95787251
Author: Warren Togami wtog...@redhat.com
Date: Thu Oct 29 17:22:58 2009 -0400
livecd-iso-to-disk
Makefile |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a21856a0bcb690643b015c9d38466fc963b1f489
Author: Warren Togami wtog...@redhat.com
Date: Thu Oct 29 17:26:09 2009 -0400
version 031
diff --git a/Makefile b/Makefile
index 3d1db26..991b27b 100644
docs/livecd-iso-to-disk.pod |8 ++--
tools/livecd-iso-to-disk.sh | 10 +-
2 files changed, 11 insertions(+), 7 deletions(-)
New commits:
commit e22eee657156d205c10ddbc93afdb006d8152b97
Author: Bernie Innocenti ber...@codewiz.org
Date: Sun Nov 22 22:31:23 2009 -0500
tools/livecd-iso-to-disk.sh |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6872def12cb62eeaf17b6f6a8c12a7e0ae29a8cb
Author: Jim Meyering meyer...@redhat.com
Date: Wed Dec 16 13:46:07 2009 -0500
livecd-iso-to-disk.sh: use LC_ALL=C, not LANG=C, since
39 matches
Mail list logo