[Thincrust-devel] [Fwd: [Ovirt-devel] [PATCH] Add additional blacklisting and rpm removal to managed node]
Alan Pevec
apevec at redhat.com
Tue Jul 1 12:40:57 UTC 2008
Bryan Kearney wrote:
> It appears that the interpreter needs to handle the entire post section.
> Is that correct?
yes, but you can have multiple %post sections, normal w/ shell and this one with a special interpreter
see ImageCreator.__run_post_scripts()
> Did the fact that the file command was on the same line matter in your
> example? Or.. could I have written this and gotten the same results:
>
> file /usr/bin/hal-get-property
> drop /etc/pango
> drop /usr/bin/hal-*
Yes, that's how I wanted it, one action per line but Thunderbird messed up my copy/paste, sorry.
The only thing you put differently is the precedence: I think it would be intuitive to have white/blacklist actions on the same level and that order matters, so it would be:
drop /etc/pango
drop /usr/bin/hal-*
file /usr/bin/hal-get-property
More information about the ovirt-devel
mailing list