summaryrefslogtreecommitdiff
path: root/packages/images/liveramdisk-image.bb
diff options
context:
space:
mode:
authorLeon Woestenberg <leon.woestenberg@gmail.com>2007-10-05 12:43:03 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2007-10-05 12:43:03 +0000
commitfb5a8ff3d88fca827e22ad48f136c7fe1c6cea10 (patch)
treef28b9b4a860576cf9909d567efc7baeb20dd2740 /packages/images/liveramdisk-image.bb
parentf0f72d8aa5de6a41796117c6e781e150bbacbe47 (diff)
parentbab0c48ac5132ad63b4f3da27a1c39c20b5db86c (diff)
merge of 'aac60b186b977130a688c4d00bfde913fb6221eb'
and 'f42403739ba7106ebfe92b3af59bf9c81b54f06d'
Diffstat (limited to 'packages/images/liveramdisk-image.bb')
-rw-r--r--packages/images/liveramdisk-image.bb15
1 files changed, 2 insertions, 13 deletions
diff --git a/packages/images/liveramdisk-image.bb b/packages/images/liveramdisk-image.bb
index 026ed7b81c..b3c288ec31 100644
--- a/packages/images/liveramdisk-image.bb
+++ b/packages/images/liveramdisk-image.bb
@@ -1,7 +1,6 @@
# LiveRamdisk image
-# Hwo to build:
-# First build angstrom-x11-image with glibc
-# then switch to ANGSTROM_MODE=uclibc and build this recipe
+# Building with ANGSTROM_MODE=uclibc is recommended
+#
# LiveRamdisk concept/implementation by Paul Sokolovsky
LICENSE = "MIT"
IMAGE_FSTYPES = "cpio.gz"
@@ -16,13 +15,3 @@ export IMAGE_LINGUAS = ""
PACKAGE_INSTALL_NO_DEPS = "1"
inherit image
-
-IMAGE_PREPROCESS_COMMAND += " copy_jffs2_image; "
-
-copy_jffs2_image() {
- # We need glibc main image
- latest_image=`ls -1 -r ${DEPLOY_DIR}/../glibc/images/${MACHINE}/Angstrom-x11-image-glibc-*.rootfs.jffs2|head -n1`
- [ -n "$latest_image" ] || oefatal "Cannot find jffs2 image in ${DEPLOY_DIR}/../glibc/images/${MACHINE}/"
- oenote "Using: cp $latest_image ${IMAGE_ROOTFS}/initrd.jffs2"
- cp $latest_image ${IMAGE_ROOTFS}/initrd.jffs2
-}