[oe-commits] pieterg : fix updating kernel image when /boot is not mounted readonly ( custom/multiboot environments)

GIT User account git at amethyst.openembedded.net
Fri Nov 14 06:27:07 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: f38e5cd55923cc7206d9a960e9230b2d047f1790
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=f38e5cd55923cc7206d9a960e9230b2d047f1790

Author: pieterg <pieterg at gmx.com>
Date:   Thu Nov 13 16:06:33 2008 +0100

fix updating kernel image when /boot is not mounted readonly (custom/multiboot environments)

Conflicts:

	packages/linux/linux-dm800.bb
	packages/linux/linux-dm8000.bb

---

 packages/linux/linux-dm7025.bb |    6 +++++-
 packages/linux/linux-dm800.bb  |    6 +++++-
 packages/linux/linux-dm8000.bb |    6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/packages/linux/linux-dm7025.bb b/packages/linux/linux-dm7025.bb
index 69fdd45..2d1a848 100644
--- a/packages/linux/linux-dm7025.bb
+++ b/packages/linux/linux-dm7025.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for Dreambox DM7025"
 LICENSE = "GPL"
 KV = "2.6.12"
 PV = "2.6.12.6"
-PR = "s4"
+PR = "s5"
 
 DEPENDS = "zlib-native"
 
@@ -127,16 +127,20 @@ do_stage_append() {
 
 pkg_preinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }
 
 pkg_prerm_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postrm_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }
diff --git a/packages/linux/linux-dm800.bb b/packages/linux/linux-dm800.bb
index d7387d7..4c7f19c 100644
--- a/packages/linux/linux-dm800.bb
+++ b/packages/linux/linux-dm800.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for Dreambox DM800"
 LICENSE = "GPL"
 KV = "2.6.12"
 PV = "2.6.12"
-PR = "r11"
+PR = "r12"
 
 # note, the rX in the filename is *NOT* the packet revision - it's the patch revision.
 SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
@@ -69,16 +69,20 @@ do_install_append () {
 
 pkg_preinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }
 
 pkg_prerm_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postrm_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }
diff --git a/packages/linux/linux-dm8000.bb b/packages/linux/linux-dm8000.bb
index 5810059..4271aae 100644
--- a/packages/linux/linux-dm8000.bb
+++ b/packages/linux/linux-dm8000.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Linux kernel for Dreambox DM8000"
 LICENSE = "GPL"
 KV = "2.6.12"
 PV = "2.6.12"
-PR = "r8"
+PR = "r9"
 
 # note, the rX in the filename is *NOT* the packet revision - it's the patch revision.
 SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
@@ -71,16 +71,20 @@ do_install_append () {
 
 pkg_preinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postinst_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }
 
 pkg_prerm_kernel-image () {
 	[ -d /proc/stb ] && mount -o rw,remount /boot
+	true
 }
 
 pkg_postrm_kernel-image () {
 	[ -d /proc/stb ] && mount -o ro,remount /boot
+	true
 }





More information about the Openembedded-commits mailing list