[oe] X/Qt2 opie integration (patches included)
Bernhard Guillon
Bernhard.Guillon at opensimpad.org
Sat Oct 4 11:51:39 UTC 2008
Koen Kooi schrieb:
>
> NACK!
>
> +do_install() {
> [..]
> + install -d ${D}/home/root
> + install -m 0600 .blackboxrc ${D}/home/root
>
> A package NEVER EVER touches $HOME. NEVER! I wish ascii could produces
> some bigger capitals that blink and have baseballbats to get the point
> across, but sadly it can't.
>
> Imagine I don't log in as root and fire up packagekit to install that
> packages. I don't get the .blackboxrc, but the root user suddenly has
> his .blackboxrc overwritten without notice.
>
> So:
>
> A package NEVER EVER touches $HOME. NEVER!
>
> ${sysconfdir} exists for a reason.
>
Ok, I added a second version of the patch to the bugtracker which
implements your suggestion.
I did use ${HOME} in the first version because it is the standard
location for blackbox configuration [1].
Is there any way for a clean implementation to put the config to the
standard location? With e.g postinstall? I don't like the idea of not
using a standard location but I agree that hardcode to /home/root can
cause trouble.
best regards
Bernhard Guillon
1
http://blackboxwm.sourceforge.net/BlackboxDocumentation/BlackboxConfiguration#location
More information about the Openembedded-devel
mailing list