[Fedora-livecd-list] [PATCH] Handle yum api change so that conditional dict has only package names, not objects.

2008-08-12 Thread Jesse Keating
This is to resolve RH bug #458803
---
 imgcreate/yuminst.py |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index a7b04b6..628b0cd 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -103,8 +103,8 @@ class LiveCDYum(yum.YumBase):
 # dict so that things don't get pulled back in as a result
 # of them.  yes, this is ugly.  conditionals should die.
 for req, pkgs in self.tsInfo.conditionals.iteritems():
-if x in pkgs:
-pkgs.remove(x)
+if x.name in pkgs:
+pkgs.remove(x.name)
 self.tsInfo.conditionals[req] = pkgs
 else:
 logging.warn(No such package %s to remove %(pkg,))
-- 
1.5.5.2

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!
identi.ca: http://identi.ca/jkeating


signature.asc
Description: This is a digitally signed message part
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] [PATCH] Handle yum api change so that conditional dict has only package names, not objects.

2008-08-12 Thread Jeremy Katz
On Tue, 2008-08-12 at 08:48 -0400, Jesse Keating wrote:
 This is to resolve RH bug #458803

This ends up breaking compatibility with older yum, which isn't really
acceptable.  Also, the right thing is to fix yum to *not* change its
API/ABI -- not to adjust every caller to handle the fallout

Jeremy

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] [PATCH] Handle yum api change so that conditional dict has only package names, not objects.

2008-08-12 Thread Jesse Keating
On Tue, 2008-08-12 at 09:42 -0400, Jeremy Katz wrote:
 This ends up breaking compatibility with older yum, which isn't really
 acceptable.  Also, the right thing is to fix yum to *not* change its
 API/ABI -- not to adjust every caller to handle the fallout

I don't disagree, was just working with what I got :/

-- 
Jesse Keating
Fedora -- FreedomĀ² is a feature!
identi.ca: http://identi.ca/jkeating


signature.asc
Description: This is a digitally signed message part
--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] [PATCH] Handle yum api change so that conditional dict has only package names, not objects.

2008-08-12 Thread Jeremy Katz
On Tue, 2008-08-12 at 10:28 -0400, Jesse Keating wrote:
 On Tue, 2008-08-12 at 09:42 -0400, Jeremy Katz wrote:
  This ends up breaking compatibility with older yum, which isn't really
  acceptable.  Also, the right thing is to fix yum to *not* change its
  API/ABI -- not to adjust every caller to handle the fallout
 
 I don't disagree, was just working with what I got :/

You have the yum source too :-)

But fix worked up for yum and pushed by Seth about 20 minutes ago, so we
should be good

Jeremy

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


[Fedora-livecd-list] Encrypting LiveCD

2008-08-12 Thread ggarland
Greetings Everyone,

I would like to say Thanks to all who have contributed to this project and 
any open source project.

Is it possible to encrypted the Live CD like you would a hard drive?  If yes, 
could you point me to some documentation on it or give me an idea on how to go 
about doing it.  I have done some reading on encrypting, but being so new at 
this, I not sure how to go about it.  If it is not doable, please let me know.

Thanks again,
Gerald

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list


Re: [Fedora-livecd-list] Kickstart Script Location

2008-08-12 Thread asmith11
 There isn't a kickstart used by the live installer.  It's instead
 interactive and just dd's over the filesystem image of the livecd rather
 than installing packages.

Thanks, LOL...  that explains why I was having such a hard time finding the 
kickstart script within the LiveCD image!

Bonus question:  I would rather that the system image installed to the hard 
disk not use LVM.  Does anyone know how to instruct Anaconda to not use LVM and 
just install directly to the partitions without an LVM layer?

Thanks!

-Andy Smith

 Jeremy Katz [EMAIL PROTECTED] wrote: 
 On Tue, 2008-08-12 at 15:35 -0400, [EMAIL PROTECTED] wrote:
  I'm using a LiveCD generated by the livecd-tools.  Sometimes during our 
  testing it would 
  be handy to view/modify the kickstart script that will be used by the 
  live-cd installer 
  (Anaconda) at local-disk-install-time.  
 
 There isn't a kickstart used by the live installer.  It's instead
 interactive and just dd's over the filesystem image of the livecd rather
 than installing packages.
 
 Jeremy
 
 --
 Fedora-livecd-list mailing list
 Fedora-livecd-list@redhat.com
 https://www.redhat.com/mailman/listinfo/fedora-livecd-list

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list