[Fedora-livecd-list] class ChrootCreator for Review

2008-02-15 Thread Warren Togami
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

[Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami
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

Re: [Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami
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

[Fedora-livecd-list] PATCH: Chroot-Creator subclass and chroot-creator tool

2008-02-18 Thread Warren Togami
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

Re: [Fedora-livecd-list] cachedir conflict... bug?

2008-02-19 Thread Warren Togami
. Warren Togami [EMAIL PROTECTED] -- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list

[Fedora-livecd-list] unmount failure kaboom

2008-02-19 Thread Warren Togami
. 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

[Fedora-livecd-list] ImageCreator selinux --disable problem

2008-02-19 Thread Warren Togami
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

Re: [Fedora-livecd-list] ImageCreator selinux --disable problem

2008-02-19 Thread Warren Togami
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

[Fedora-livecd-list] [PATCH] selinux --disabled fixes

2008-02-20 Thread Warren Togami
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

[Fedora-livecd-list] Why --bind mount /var/cache/yum?

2008-02-20 Thread Warren Togami
(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

[Fedora-livecd-list] i586 needed, how?

2008-02-20 Thread Warren Togami
. 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

[Fedora-livecd-list] [PATCH] remove mayflower from Makefile install

2008-03-04 Thread Warren Togami
[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

Re: [Fedora-livecd-list] The long-awaited landing of persistence

2008-03-06 Thread Warren Togami
. 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

Re: [Fedora-livecd-list] Minimal development environment on Livecd

2008-04-07 Thread Warren Togami
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

Re: [Fedora-livecd-list] One big and some smaller issues with current live images

2008-04-10 Thread Warren Togami
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

[Fedora-livecd-list] Recursive livecd-creator problem

2008-07-27 Thread Warren Togami
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

[Fedora-livecd-list] livecd-creator problem during enforcing

2008-07-30 Thread Warren Togami
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

[Fedora-livecd-list] Re: livecd-creator problem during enforcing

2008-07-30 Thread Warren Togami
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

Re: [Fedora-livecd-list] livecd-creator problem during enforcing

2008-08-25 Thread 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

[Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device

2009-03-04 Thread Warren Togami
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

Re: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device

2009-03-04 Thread Warren Togami
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

[Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux

2009-03-04 Thread Warren Togami
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

Re: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux

2009-03-04 Thread Warren Togami
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

Re: [Fedora-livecd-list] [PATCH] livecd-iso-to-disk giving wrong directory path to extlinux

2009-03-04 Thread Warren Togami
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

Re: [Fedora-livecd-list] livecd-creator from git failure, Could not remove snapshot device

2009-03-05 Thread Warren Togami
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

[Fedora-livecd-list] FYI: memtest86+ from livecd or install media broken

2009-04-04 Thread Warren Togami
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

[Fedora-livecd-list] [PATCH] Make USB disk into full DVD installer

2009-04-28 Thread Warren Togami
. 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

Re: [Fedora-livecd-list] [PATCH] Make USB disk into full DVD installer

2009-04-29 Thread Warren Togami
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

Re: [Fedora-livecd-list] [PATCH] Make USB disk into full DVD installer

2009-04-30 Thread Warren Togami
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

[Fedora-livecd-list] [PATCH] Handle initrd-generic dracut initrd's

2009-08-12 Thread Warren Togami
[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

[Fedora-livecd-list] resize2fs: No space left while trying to resize ... ext3fs.img

2009-08-20 Thread Warren Togami
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:

Re: [Fedora-livecd-list] -generic in initrd name confusing live.py?

2009-09-10 Thread Warren Togami
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

[Fedora-livecd-list] RFC: Stop creating /etc/modprobe.conf

2009-10-01 Thread Warren Togami
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

[Fedora-livecd-list] Makefile

2009-09-10 Thread Warren Togami 砥上勇
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

[Fedora-livecd-list] Changes to 'refs/tags/livecd-tools-027'

2009-09-10 Thread Warren Togami 砥上勇
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

[Fedora-livecd-list] tools/livecd-iso-to-disk.sh

2009-10-29 Thread Warren Togami 砥上勇
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

[Fedora-livecd-list] Makefile

2009-10-29 Thread Warren Togami 砥上勇
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

[Fedora-livecd-list] 3 commits - docs/livecd-iso-to-disk.pod tools/livecd-iso-to-disk.sh

2009-11-22 Thread Warren Togami 砥上勇
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

[Fedora-livecd-list] tools/livecd-iso-to-disk.sh

2009-12-16 Thread Warren Togami 砥上勇
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