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:
8c092e5
)
linux 2.6.22: provide symlink to latest kernel image built for Compulab CM-X270 board
author
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 9 Oct 2007 14:15:11 +0000
(14:15 +0000)
committer
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 9 Oct 2007 14:15:11 +0000
(14:15 +0000)
packages/linux/linux_2.6.22.bb
patch
|
blob
|
history
diff --git
a/packages/linux/linux_2.6.22.bb
b/packages/linux/linux_2.6.22.bb
index
b33274d
..
c493d05
100644
(file)
--- a/
packages/linux/linux_2.6.22.bb
+++ b/
packages/linux/linux_2.6.22.bb
@@
-51,6
+51,15
@@
python do_compulab_image() {
fo.write(size_s)
fo.write(image_data)
fo.close()
+
+ os.chdir(deploy_dir)
+ link_file = bb.data.expand('${KERNEL_IMAGE_SYMLINK_NAME}', d) + '.cmx270'
+ img_file = bb.data.expand('${KERNEL_IMAGE_BASE_NAME}', d) + '.cmx270'
+ try:
+ os.unlink(link_file)
+ except:
+ pass
+ os.symlink(img_file, link_file)
}
addtask compulab_image after do_deploy before do_package