All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] opkg conffiles force overwrite
@ 2009-04-03  3:59 Tick
  2009-04-03  4:16 ` Koen Kooi
  2009-04-03  4:46 ` Angus Ainslie
  0 siblings, 2 replies; 3+ messages in thread
From: Tick @ 2009-04-03  3:59 UTC (permalink / raw)
  To: opkg-devel; +Cc: openembedded-devel

Hi All,
  I am pondering that let conf->force_overwrite in opkg enable
resolve_conffiles overwrite any conffiles. Now opkg will not overwrite
the conffiles even if you set force_overwrite. It will cause opkg ask
user to choose what to do to the conffiles if they are changed.

Adding another flag e.g. force_overwrite_conffile seems a little bit
superfluous and not orthogonal to force_overwrite. But it will not
change current opkg behavior.

Letting force_overwrite can overwrite conffiles will cause logical
change of this flag.  This will make opkg-cl asking nothing when
upgrade some conffiles if you set force_overwrite. It may cause users
lose their own setting without a second chance to save them?

In my own opinion, I prefer let force_overwrite flag can overwrite
files including conffiles, because it has to be set manually. But this
will change the behaviour of opkg, and may have some impact on other
projects. Such as OE. That makes me consider again and again.

My proposal is if conffiles been overwrited because force_overwrite
was set.
The old conffile XXXX will be move to XXXX~, and adding a warning
message of "overwriting conffile XXXX".
Is that a good solution?

any advice?

p.s. please reply to opkg-devel@googlegroups.com.

Cheers,
Tick



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-04-03  4:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03  3:59 [RFC] opkg conffiles force overwrite Tick
2009-04-03  4:16 ` Koen Kooi
2009-04-03  4:46 ` Angus Ainslie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.