liveramdisk-image: No longer stuff payload during, doesn't scale.
authorPaul Sokolovsky <pmiscml@gmail.com>
Wed, 26 Sep 2007 04:24:46 +0000 (04:24 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Wed, 26 Sep 2007 04:24:46 +0000 (04:24 +0000)
* Instead, this is done during actual LiveRamdisk building.

packages/images/liveramdisk-image.bb

index 026ed7b..b3c288e 100644 (file)
@@ -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
-}