diff options
author | Koen Kooi <koen@openembedded.org> | 2006-07-08 14:44:20 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-07-08 14:44:20 +0000 |
commit | a5f559d252b844f9265eaec3aaca827967067772 (patch) | |
tree | 3360ce8b6caf66da037e7be9d0f5538a9091d1ad /classes/rootfs_ipk.bbclass | |
parent | 92a907484ae07caab542eb689639f960f8a7ac58 (diff) |
rootfs_ipk.bbclass: add make_zimage_symlink_relative
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r-- | classes/rootfs_ipk.bbclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass index 676492cdc3..b2b7479fad 100644 --- a/classes/rootfs_ipk.bbclass +++ b/classes/rootfs_ipk.bbclass @@ -139,7 +139,14 @@ remove_init_link () { fi } +make_zimage_symlink_relative () { + if [ -L ${IMAGE_ROOTFS}/boot/zImage ]; then + (cd ${IMAGE_ROOTFS}/boot/ && for i in `ls zImage-* | sort`; do ln -sf $i zImage; done) + fi +} + # export the zap_root_password, create_etc_timestamp and remote_init_link -EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link +EXPORT_FUNCTIONS zap_root_password create_etc_timestamp remove_init_link make_zimage_symlink_relative + addtask rootfs before do_build after do_install |