[Fedora-livecd-list] 3 commits - config/livecd-fedora-base-desktop.ks imgcreate/yuminst.py

Jeremy Katz katzj at fedoraproject.org
Tue Feb 12 13:48:50 UTC 2008


 config/livecd-fedora-base-desktop.ks |    3 ---
 imgcreate/yuminst.py                 |    3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 843df455573d95e615f2c573662e82f8cfca401f
Author: Jeremy Katz <katzj at redhat.com>
Date:   Tue Feb 12 08:46:39 2008 -0500

    Ensure that HOME is set to /
    
    Some package %post scripts end up using the value of $HOME; let's make sure
    we don't leak things into the environment that way

diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index 55003e2..c42e77e 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -147,6 +147,7 @@ class LiveCDYum(yum.YumBase):
         return repo
             
     def runInstall(self):
+        os.environ["HOME"] = "/"
         try:
             (res, resmsg) = self.buildTransaction()
         except yum.Errors.RepoError, e:


commit 0dff0597eae747a10d6f58c7eb98d1ac9ab2201d
Author: Jeremy Katz <katzj at redhat.com>
Date:   Mon Feb 11 22:33:03 2008 -0500

    Remove gparted from the desktop spins
    
    gparted now depends on vim-common and thus has a sizable footprint for the live
    images.  Additionally, as anaconda provides support for resizing filesystems,
    the need for gparted is reduced.

diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index 4fe7299..092d621 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -55,9 +55,6 @@ memtest86+
 -xsane-gimp
 -sane-backends
 
-# lots of people want to have this
-gparted
-
 # livecd bits to set up the livecd and be able to install
 anaconda
 isomd5sum


commit 6094ff202f8b4bb6eda75473e1c442d4f9a0805c
Author: Jeremy Katz <katzj at redhat.com>
Date:   Mon Feb 11 22:17:45 2008 -0500

    Merge fix I lost moving things between machines

diff --git a/imgcreate/yuminst.py b/imgcreate/yuminst.py
index 14f4806..55003e2 100644
--- a/imgcreate/yuminst.py
+++ b/imgcreate/yuminst.py
@@ -105,7 +105,7 @@ class LiveCDYum(yum.YumBase):
                 # we also need to remove from the conditionals
                 # 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:
+                for req, pkgs in self.tsInfo.conditionals.iteritems():
                     if x in pkgs:
                         pkgs.remove(x)
                         self.tsInfo.conditionals[req] = pkgs





More information about the livecd mailing list