From 7d24d4c5875d461d0c354e96e2c2933c77fae295 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Tue, 9 Oct 2007 14:15:11 +0000 Subject: linux 2.6.22: provide symlink to latest kernel image built for Compulab CM-X270 board --- packages/linux/linux_2.6.22.bb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/linux') diff --git a/packages/linux/linux_2.6.22.bb b/packages/linux/linux_2.6.22.bb index b33274d8bf..c493d05b8b 100644 --- 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 -- cgit v1.2.3