Mailinglist Archive: opensuse-packaging (111 mails)

< Previous Next >
Re: [opensuse-packaging] Image based installation
  • From: Adrian Schröter <adrian@xxxxxxx>
  • Date: Thu, 10 Apr 2008 09:52:17 +0200
  • Message-id: <200804100952.18189.adrian@xxxxxxx>
On Thursday 10 April 2008 09:34:17 wrote Johannes Meixner:

On Apr 9 21:05 Stephan Kulow wrote (shortened):
%post scripts should not create host specific configurations
that can't be updated later.

What does this mean?
Could you give an example what to avoid and what is allowed?

For example reading /etc/HOSTNAME and writing it to some config via %pre
or %post scripts is not allowed.

Actually such kind of actions should be never done, since you do not know, who
is using your package for a mass deployment (via images or other mechanisms).



Adrian Schroeter
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
email: adrian@xxxxxxx

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >