Skip to contentSkip to conversation

org.oe.dev Add cryptsetup: cryptsetup with luks support creates and manages encrypted containers and partitions

oe-commits Koen Kooi 3 participants 5 messages Nov 20, 2007 – Nov 22, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Koen Kooi

author
#1 lore raw

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

coredump2 commit schreef:

Review

Quoted 4 lines
(quoted diff) +4 -0
+######################################################################################
+######################################################################################
+######################################################################################
+######################################################################################

Please read (and follow) the styleguide and run the recipe through OE-stylize.py to get an idea how it should look like.

Review

Quoted 8 lines
(quoted diff) +8 -0
+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.

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

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

iD8DBQFHQ0uzMkyGM64RGpERAr6iAJ9zEuSosMdbDNhiUYbYx/UA8N+OpwCfXTO9 yt+9HhZoJGQV8fWr57FAmTs=
=JSkU
-----END PGP SIGNATURE-----

#2 lore raw

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

(due to the retarded ML server, this message may appear twice)

For starters, this mailing list is still broken and violates RFCs in regards to FROM and REPLY-TO.

Am Dienstag, den 20.11.2007, 22:03 +0100 schrieb Koen Kooi:

Quoted 6 lines

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

coredump2 commit schreef:

Quoted 7 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+######################################################################################
+######################################################################################
+######################################################################################
+######################################################################################

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.

Quoted 11 lines

Review

Quoted 8 lines
(quoted diff) +8 -0
+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. I even explained the purpose for you alone in the .bb. It worked around a very real bug in module handling which no one (not even you) bothered to fix for > 1 year. A bug which is *impossible* to track-down or fix for most end-users.

Would be PLEASE STOP MESSING WITH OTHER PEOPLES FILES?? Only because YOU do not like something does NOT give you the bloody right to revert or even change other peoples commits!

THIS IS NOT KOEN-EMBEDDED

Signature · 7 lines
Matthias 'CoreDump' Hentges 
Cologne / Germany

Webmaster of Hentges.net & Embedded Linux Developer
GPG ->  gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9

My OS: Debian SID: Geek by Nature, Linux by Choice
author
#3 lore raw

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

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

Matthias Hentges schreef:

Quoted 7 lines
Quoted 6 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+######################################################################################
+######################################################################################
+######################################################################################
+######################################################################################

Please read (and follow) the styleguide and run the recipe through OE-stylize.py to get an idea how it should look like.

Quoted 5 lines

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.

Quoted 11 lines
Quoted 10 lines

Review

Quoted 8 lines
(quoted diff) +8 -0
+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.

Quoted 1 line

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?

Quoted 1 line

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.

Quoted 1 line

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.

Quoted 1 line

THIS IS NOT KOEN-EMBEDDED

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

- --
[email protected] will go go away in december 2007, please use [email protected] instead.

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

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

#4 lore raw

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

Quoted 3 lines · Koen Kooi

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.

Deviating from the discussion, but if the postinst relies on /sbin being in the path for it to execute correctly, it should be fixed to either modify the path or directly call the binary with the full path.
No portable shell script should rely on anything but /bin and
/usr/bin being in the PATH.

Signature · 3 lines
Chris Larson - clarson at kergoth dot com
Dedicated Engineer - MontaVista - clarson at mvista dot com
Core Developer/Architect - TSLib, BitBake, OpenEmbedded, OpenZaurus
#5 lore raw

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

In reply to Koen Kooi

For starters, this mailing list is still broken and violates RFCs in regards to FROM and REPLY-TO.

Am Dienstag, den 20.11.2007, 22:03 +0100 schrieb Koen Kooi:

Quoted 6 lines

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

coredump2 commit schreef:

Quoted 7 lines

Review

Quoted 4 lines
(quoted diff) +4 -0
+######################################################################################
+######################################################################################
+######################################################################################
+######################################################################################

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.

Quoted 11 lines

Review

Quoted 8 lines
(quoted diff) +8 -0
+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. I even explained the purpose for you alone in the .bb. It worked around a very real bug in module handling which no one (not even you) bothered to fix for > 1 year. A bug which is *impossible* to track-down or fix for most end-users.

Would be PLEASE STOP MESSING WITH OTHER PEOPLES FILES?? Only because YOU do not like something does NOT give you the bloody right to revert or even change other peoples commits!

THIS IS NOT KOEN-EMBEDDED

Signature · 7 lines
Matthias 'CoreDump' Hentges 
Cologne / Germany

Webmaster of Hentges.net & Embedded Linux Developer
GPG ->  gpg --keyserver gpg-keyserver.de --recv-keys 0xAF3030D9

My OS: Debian SID: Geek by Nature, Linux by Choice