Skip to contentSkip to conversation

Using ${PR} instead of ${DATETIME} in deployed kernel image filename

RFC Paul Sokolovsky 3 participants 4 messages Dec 11, 2007 – Dec 12, 2007

lore
Share & tools
lore
#0 lore raw

Hello openembedded-devel,

I already mentioned this in
http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-December/003695.html , here's specific RFC:
I'd like to propose using the following filename pattern for deployed
kernel images: "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}", instead
of "${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}". This will
ensure that kernels built from the same recipe are named consistently,
and thus will allow users and developers track kernels easier. Also,
any change to build configuration should be accompanied by recipe PR
bump, so new kernel file will be produces.

So:

1. Does anybody see something grossly wrong with this scheme?
2. Otherwise, I'm going to change this for linux-handhelds-2.6, and would like to encourage maintainers of the other kernel recipes to do the same.

Signature · 2 lines
Best regards,
 Paul                          mailto:[email protected]
#1 lore raw
Quoted 11 lines · Paul Sokolovsky

Hello openembedded-devel,

I already mentioned this in
http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-December/003695.html , here's specific RFC:
I'd like to propose using the following filename pattern for deployed
kernel images: "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}", instead
of "${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}". This will
ensure that kernels built from the same recipe are named consistently,
and thus will allow users and developers track kernels easier. Also,
any change to build configuration should be accompanied by recipe PR
bump, so new kernel file will be produces.

+1. Good thing is it forces you to update PR, bad thing is it forces you to update PR, especially when you are trying out multiple defconfigs. But I guess in that case you probably use devshell or an out-of-OE-tree kernel.

Quoted 6 lines

So:

1. Does anybody see something grossly wrong with this scheme?
2. Otherwise, I'm going to change this for linux-handhelds-2.6, and would like to encourage maintainers of the other kernel recipes to do the same.

Isn't it already deployed in linux.inc? I remember I had to catch up linux-openmoko.inc because of that change.

Regards,

:M:

Signature · 1 line
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
#2 lore raw

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

Michael 'Mickey' Lauer schreef:

Quoted 20 lines
Quoted 11 lines · Paul Sokolovsky

Hello openembedded-devel,

I already mentioned this in
http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-December/003695.html , here's specific RFC:
I'd like to propose using the following filename pattern for deployed
kernel images: "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}", instead
of "${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}". This will
ensure that kernels built from the same recipe are named consistently,
and thus will allow users and developers track kernels easier. Also,
any change to build configuration should be accompanied by recipe PR
bump, so new kernel file will be produces.

+1. Good thing is it forces you to update PR, bad thing is it forces you to update PR, especially when you are trying out multiple defconfigs. But I guess in that case you probably use devshell or an out-of-OE-tree kernel.

Quoted 1 line

So:

Quoted 7 lines
Quoted 4 lines

1. Does anybody see something grossly wrong with this scheme?
2. Otherwise, I'm going to change this for linux-handhelds-2.6, and would like to encourage maintainers of the other kernel recipes to do the same.

Isn't it already deployed in linux.inc? I remember I had to catch up linux-openmoko.inc because of that change.

It is. Remaining 'offenders' are linux-hh and linux-rp, and maybe some other kernel recipes I never look at.

regards,

Koen

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

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

iD8DBQFHX6tiMkyGM64RGpERAt+SAJ9hLMyja973cmVH9ODATkw59ozCxACeIDHm e9Nqvwk9Yakn3SWfghFc7f0=
=MKeG
-----END PGP SIGNATURE-----

#3 lore raw

Hello Koen,

Wednesday, December 12, 2007, 11:35:30 AM, you wrote:

[]

Quoted 7 lines
Quoted 7 lines
Quoted 6 lines

I'd like to propose using the following filename pattern for deployed kernel images: "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}", instead

2. Otherwise, I'm going to change this for linux-handhelds-2.6, and would like to encourage maintainers of the other kernel recipes to do the same.

Quoted 5 lines
Quoted 2 lines

Isn't it already deployed in linux.inc? I remember I had to catch up linux-openmoko.inc because of that change.

It is. Remaining 'offenders' are linux-hh and linux-rp, and maybe some other kernel recipes I never look at.

Aha, perfect. So I guess, we can bring all kernel recipes to
consistency, like in one-week frame...

Quoted 3 lines

regards,

Koen

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]