[oe-commits] org.oe.dev liveramdisk-image: No longer stuff payload during, doesn't scale.

pfalcon commit openembedded-commits at lists.openembedded.org
Wed Sep 26 05:04:11 UTC 2007


liveramdisk-image: No longer stuff payload during, doesn't scale.
* Instead, this is done during actual LiveRamdisk building.

Author: pfalcon at openembedded.org
Branch: org.openembedded.dev
Revision: 2bd3aa8010393644d9d0d3db2d56994d3e9e6b1c
ViewMTN: http://monotone.openembedded.org/revision/info/2bd3aa8010393644d9d0d3db2d56994d3e9e6b1c
Files:
1
packages/images/liveramdisk-image.bb
Diffs:

#
# mt diff -r8da9088a1e0c68116c1a9b82d7675b366003da67 -r2bd3aa8010393644d9d0d3db2d56994d3e9e6b1c
#
# 
# 
# patch "packages/images/liveramdisk-image.bb"
#  from [50bce8b81db9fa7166e813dc1cc71316523e9572]
#    to [9ea5e86fc7f87d43b9e120e3a8ee68d9b23e1a10]
# 
============================================================
--- packages/images/liveramdisk-image.bb	50bce8b81db9fa7166e813dc1cc71316523e9572
+++ packages/images/liveramdisk-image.bb	9ea5e86fc7f87d43b9e120e3a8ee68d9b23e1a10
@@ -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 @@ inherit image
 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
-}






More information about the Openembedded-commits mailing list