[oe-commits] Martin Jansa : linux-kexecboot: use INC_PR for kernels, PR should get bump with every kexecboot change

git version control git at git.openembedded.org
Tue Feb 16 11:41:58 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: bf450860bffd29c9cddd365d466dcf3eebce13eb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=bf450860bffd29c9cddd365d466dcf3eebce13eb

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Tue Feb 16 09:25:08 2010 +0100

linux-kexecboot: use INC_PR for kernels, PR should get bump with every kexecboot change

* Andrea Adami wants only one INC_PR shared between kexecboot and
  linux-kexecboot recipes, maybe we could use sth like
  INC_PR = "${KEXECBOOT_PR}.19" in linux-kexecboot.inc
  and set KEXECBOOT_PR in some new .inc file
* For now use INC_PR only for linux-kexecboot

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/kexecboot/linux-kexecboot.inc              |    4 ++--
 recipes/kexecboot/linux-kexecboot_2.6.21-hh20.bb   |    2 ++
 recipes/kexecboot/linux-kexecboot_2.6.24.bb        |    2 ++
 recipes/kexecboot/linux-kexecboot_2.6.26.bb        |    2 ++
 recipes/kexecboot/linux-kexecboot_2.6.29.bb        |    2 ++
 .../linux-kexecboot_2.6.32+2.6.33-rc8_git.bb       |    2 ++
 recipes/kexecboot/linux-kexecboot_2.6.32.bb        |    2 ++
 7 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index a241be8..ed3a07f 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -1,5 +1,5 @@
-# We set PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
-PR = "r18"
+# We set INC_PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
+INC_PR = "r19"
 
 LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}'
 SRC_URI = "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.21-hh20.bb b/recipes/kexecboot/linux-kexecboot_2.6.21-hh20.bb
index 7667037..01e7f1c 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.21-hh20.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.21-hh20.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_hx4700 = "1"
 DEFAULT_PREFERENCE_h2200 = "1"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.24.bb b/recipes/kexecboot/linux-kexecboot_2.6.24.bb
index e950ab0..07efd57 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.24.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.24.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_collie = "-1"
 DEFAULT_PREFERENCE_poodle = "1"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.26.bb b/recipes/kexecboot/linux-kexecboot_2.6.26.bb
index 345d2ac..9dfa8c0 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.26.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.26.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_qemuarm = "-1"
 DEFAULT_PREFERENCE_qemux86 = "-1"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.29.bb b/recipes/kexecboot/linux-kexecboot_2.6.29.bb
index 4064c98..b840f17 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.29.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.29.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 COMPATIBLE_MACHINE = "omap5912osk|omap1710h3|omap2430sdp|omap2420h4|beagleboard|omap3evm|omap3-pandora|overo|omapzoom"
 
 SRCREV = "58cf2f1425abfd3a449f9fe985e48be2d2555022"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.32+2.6.33-rc8_git.bb b/recipes/kexecboot/linux-kexecboot_2.6.32+2.6.33-rc8_git.bb
index 216bf64..8ead75a 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.32+2.6.33-rc8_git.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.32+2.6.33-rc8_git.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 KERNEL_RELEASE = "2.6.33-rc8"
 OLD_KERNEL_RELEASE = "2.6.32"
 PV = "${OLD_KERNEL_RELEASE}+${KERNEL_RELEASE}"
diff --git a/recipes/kexecboot/linux-kexecboot_2.6.32.bb b/recipes/kexecboot/linux-kexecboot_2.6.32.bb
index ccb8cd6..1851fa8 100644
--- a/recipes/kexecboot/linux-kexecboot_2.6.32.bb
+++ b/recipes/kexecboot/linux-kexecboot_2.6.32.bb
@@ -1,5 +1,7 @@
 require linux-kexecboot.inc
 
+PR = "${INC_PR}.0"
+
 S = "${WORKDIR}/linux-${PV}"
 S_omap3 = "${WORKDIR}/git"
 





More information about the Openembedded-commits mailing list