git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea812f
)
linux.inc: add a symlink from /boot/devicetree to /boot/devicetree-${KERNEL-VERSION}
author
Jeremy Laine
<jeremy.laine@m4x.org>
Mon, 9 Jun 2008 15:17:24 +0000
(15:17 +0000)
committer
Jeremy Laine
<jeremy.laine@m4x.org>
Mon, 9 Jun 2008 15:17:24 +0000
(15:17 +0000)
packages/linux/linux.inc
patch
|
blob
|
history
diff --git
a/packages/linux/linux.inc
b/packages/linux/linux.inc
index
679f73a
..
a6bffe7
100644
(file)
--- a/
packages/linux/linux.inc
+++ b/
packages/linux/linux.inc
@@
-142,3
+142,12
@@
do_devicetree_image() {
}
addtask devicetree_image after do_deploy before do_package
+
+pkg_postinst_kernel-devicetree () {
+ cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree devicetree devicetree-${KERNEL_VERSION} ${KERNEL_PRIORITY} || true
+}
+
+pkg_postrm_kernel-devicetree () {
+ cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true
+}
+