From: Koen Kooi <k.kooi@student.utwente.nl>
To: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel@openembedded.org>
Subject: Re: [oe-commits] org.oe.dev Add cryptsetup: Stop forcing your opinions onto other people!
Date: Wed, 21 Nov 2007 20:02:49 +0100 [thread overview]
Message-ID: <474480D9.4090001@student.utwente.nl> (raw)
In-Reply-To: <1195667681.30926.11.camel@localhost.localdomain>
-----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@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHRIDZMkyGM64RGpERAurqAKC03wbfp+wiE1Vd6F49vM/h6N4ecwCfdVue
+P0il0YgJpgJFq03bl859IE=
=IUQI
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2007-11-21 19:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1IuZKt-0006pg-Ms@linuxtogo.org>
2007-11-20 21:03 ` [oe-commits] org.oe.dev Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions Koen Kooi
2007-11-21 17:30 ` [oe-commits] org.oe.dev Add cryptsetup: Stop forcing your opinions onto other people! Matthias Hentges
2007-11-21 17:54 ` Matthias Hentges
2007-11-21 19:02 ` Koen Kooi [this message]
2007-11-22 3:20 ` Chris Larson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=474480D9.4090001@student.utwente.nl \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.