aboutsummaryrefslogtreecommitdiffstats
path: root/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorErik Hovland <erik@hovland.org>2006-05-23 20:50:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-23 20:50:21 +0000
commit014c6dc6a37005cc8518ae0e3f76a2ccb167d46d (patch)
tree976501bf0d0ff062a81270d87f2344ad808fc636 /classes/rootfs_ipk.bbclass
parent7b8c9cabc0b9181040ba22606a3315b30981ab28 (diff)
downloadopenembedded-014c6dc6a37005cc8518ae0e3f76a2ccb167d46d.tar.gz
This commit brings my tree in line with Rene's tree for the familiar
0.8.4 release.
Diffstat (limited to 'classes/rootfs_ipk.bbclass')
-rw-r--r--classes/rootfs_ipk.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index 062c957359..8b8c951a2e 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -130,7 +130,13 @@ create_etc_timestamp() {
date +%2m%2d%2H%2M%Y >${IMAGE_ROOTFS}/etc/timestamp
}
+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 and create_etc_timestamp
-EXPORT_FUNCTIONS zap_root_password create_etc_timestamp
+EXPORT_FUNCTIONS zap_root_password create_etc_timestamp make_zimage_symlink_relative
addtask rootfs before do_build after do_install