[Ovirt-devel] [PATCH] livecd needs lokkit

Alan Pevec apevec at redhat.com
Mon Jun 16 21:15:09 UTC 2008


Jim Meyering wrote:
> Alan Pevec <apevec at redhat.com> wrote:
> lokkit is used in livecd upstream fix for creating SELinux-less images on SELinux enabled host:
> http://git.fedorahosted.org/git/?p=livecd;a=commitdiff;h=49e71af9f2e2eb81254fc32c85481031cdc87343
> 
> lokkit pulls in lots of deps we don't need, so kill them all in %post.
...
>> -# kernel pulls in mkinitrd which pulls in isomd5sum which pulls in python.
>> -# However, this is just an install-time dependency for kernel; we can remove
>> +# kernel pulls in mkinitrd which pulls in isomd5sum which pulls in python,
>> +# and livecd-tools needs lokkit to disable SELinux.
>> +# However, this is just an install-time dependency; we can remove
>>  # it afterwards, which we do here
>> -rpm -e qemu kpartx mkinitrd isomd5sum dmraid python python-libs
>> +rpm -e qemu kpartx mkinitrd isomd5sum dmraid python python-libs system-config-firewall-tui system-config-network-tui rhpl rpm-python dbus-python kudzu newt-python newt
> 
> Hi Alan,
> That looks fine (haven't tested or anything), but I wonder
> if using a separate rpm -e stmt just for lokkit deps would work.
> 
> If so, that'd be slightly clearer with its own comment,
> and it'd make it easier/safer to remove the lokkit-related package
> names later, once livecd-tools is fixed.

Pushed w/ Jim's remark applied.
There's pending F9 livecd update: https://admin.fedoraproject.org/updates/F9/pending/livecd-tools-017.1-1.fc9
which includes upstream SELinux fix and that would break ovirt-host-creator.




More information about the ovirt-devel mailing list