Jeremy Katz wrote:
On Tue, 2007-08-07 at 00:20 +0200, Jeroen van Meeuwen wrote:
> Jeremy Katz wrote:
>> On Mon, 2007-08-06 at 23:09 +0200, Jeroen van Meeuwen wrote:
>>> Jeremy Katz wrote:
>>>> On Wed, 2007-08-01 at 14:16 +0200, Jeroen van Meeuwen wrote:
>>>>> livecd-creator's InstallationTarget.install() seems to run
>>>>> self.configureSystem(), then run self.configureNetwork(), possible
>>>>> overriding some configuration files generated with %post.
>>>> Hmm, the question is when is the best point at which to do this. After
>>>> configuring the network or really as last as possible? The latter seems
>>>> to fit better with when its run on an install
>>> +1
>> Want to send a revised patch? :-)
> Well, as it is now it does apply at the very last moment, exactly the
> way the installer works, right?
There are a few steps (relabeling, prelinking, making the initrd) that
are happening after runPost() of your patch. If the %post is going to
be the absolute last thing, it should probably be after all of these
This might be the wrong list to be asking this, but out of curiosity-
Why can't relabeling be done if the host is running with selinux
disabled? (selinux=0)
It's just writing some metadata to the fs right? Seems like it should
be possible.
And on a seperate note, I agree that prelinking really ought to be done
in %post. That's something that a kickstart user might be interested in
doing in the non-livecd case as well, for the same reasons, right?
-dmc