[oe] [oe-commits] org.oe.dev Add cryptsetup: Stop forcing your opinions onto other people!

Koen Kooi k.kooi at student.utwente.nl
Wed Nov 21 19:02:49 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthias Hentges schreef:

>>> +######################################################################################
>>> +######################################################################################
>>> +######################################################################################
>>> +######################################################################################
>> Please read (and follow) the styleguide and run the recipe through
>> OE-stylize.py to get an idea how it should look like.
> 
> Nice "style". With my layout, you at least had a sense about what does
> what, the entries were grouped for easy reading.
> 
> Your "style" does nothing more than remove any kind of possible grouping
> by deleting linefeeds left and right. Your "style" stinks.

It's not my style, it's the official OE style, which you would have
known if you had bothered to read the OE styleguide, as I said in my
original mail.
Oe-stylize.py showed a pile of other problems in your recipe on top of
those mentioned. So both the official style guide and the dedicated tool
back me up.

>>> +pkg_postinst() {
>>> +	if test "x$D" = "x"
>>> +	then 
>>> +		# Work around a problem in module ipk's, where depmod is not always
>>> +		# run after installing a kernel-module.
>>> +		test -x /sbin/depmod && /sbin/depmod -a
>>> +		/bin/true
>>> +	fi
>> And don't add such hacks, please remove it.
>>
> 
> The "hack" had a very valid purpose. 

Valid purpose or not, it doesn't belong in OE. By your reasoning we
should add all postinsts from all dependencies to each recipe. And *if*
postinst get mysteriously skipped, your hack isn't going to get
executed, is it?

> It worked around a very real bug

Yet a search in bugzilla for 'depmod' or 'postinst' yields no open bugs
on that.
The only 'bug' I know of is people using 'su' instead of 'su -' to
become root and (/usr)/sbin isn't in $PATH. That's PEBKAC, not an OE bug
or ipkg bug.

> Would be PLEASE STOP MESSING WITH OTHER PEOPLES FILES??

Not if those violate various *documented* OE policies and the author of
thw recipes in question refuses to comply with them.

> THIS IS NOT KOEN-EMBEDDED

No, this is OpenEmbedded, so follow the OE policies.

- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHRIDZMkyGM64RGpERAurqAKC03wbfp+wiE1Vd6F49vM/h6N4ecwCfdVue
+P0il0YgJpgJFq03bl859IE=
=IUQI
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list