Skip to contentSkip to conversation

beagleboard-test-image: added ramdisk

PATCH In review Jason Kridner 2 participants 3 messages Aug 4, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 beagleboard-test-image: added ramdisk

Simply adding 'ext2.gz' to the IMAGE_FSTYPES to produce a default sized ramdisk image whenever this image is built.

---
 recipes/images/beagleboard-test-image.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/images/beagleboard-test-image.bb +2 -1
index 0ea323a..f4d736d 100644
@@ -22,4 +22,5 @@ IMAGE_INSTALL += " \
 
 export IMAGE_BASENAME = "beagleboard-test-image"
 
-EXTRA_IMAGEDEPENDS += "x-load u-boot virtual/kernel"
+EXTRA_IMAGEDEPENDS += " x-load u-boot virtual/kernel"
+IMAGE_FSTYPES += " ext2.gz"
Signature · 1 line
1.5.6.4
#1 lore raw

Am Dienstag, den 03.08.2010, 23:44 -0500 schrieb Jason Kridner:

Quoted 11 lines

Simply adding 'ext2.gz' to the IMAGE_FSTYPES to produce a default sized ramdisk image whenever this image is built.

---
 recipes/images/beagleboard-test-image.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes/images/beagleboard-test-image.bb +0 -0
index 0ea323a..f4d736d 100644

recipes/images/beagleboard-test-image.bb IMAGE_INSTALL += " \ · line 25

Quoted 5 lines
recipes/images/beagleboard-test-image.bb +1 -1
@@ -22,4 +22,5 @@ IMAGE_INSTALL += " \
 
 export IMAGE_BASENAME = "beagleboard-test-image"
 
-EXTRA_IMAGEDEPENDS += "x-load u-boot virtual/kernel"
+EXTRA_IMAGEDEPENDS += " x-load u-boot virtual/kernel"

Not needed [1].

You can append values to existing variables using the += operator. Note that this operator will add a space between the existing content of the variable and the new content.

(It should have been a separate patch anyway.)

recipes/images/beagleboard-test-image.bb IMAGE_INSTALL += " \ · line 26

Quoted 1 line
recipes/images/beagleboard-test-image.bb +1 -0
+IMAGE_FSTYPES += " ext2.gz"

Thanks,

Paul

[1] http://docs.openembedded.org/usermanual/usermanual.html

#2 lore raw

PATCH 1/1 beagleboard-test-image: added ramdisk

In reply to Jason Kridner

Simply adding 'ext2.gz' to the IMAGE_FSTYPES to produce a default sized ramdisk image whenever this image is built.

Uses 'IMAGE_FSTYPES +=' syntax to add a compressed ext2 image to use as a ramdisk for BeagleBoard validation. No space is required in the string per link provided by Paul Menzel. [1]

[1] http://docs.openembedded.org/usermanual/usermanual.html

---
 recipes/images/beagleboard-test-image.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/images/beagleboard-test-image.bb +1 -0
index 0ea323a..669eb52 100644
@@ -23,3 +23,4 @@ IMAGE_INSTALL += " \
 export IMAGE_BASENAME = "beagleboard-test-image"
 
 EXTRA_IMAGEDEPENDS += "x-load u-boot virtual/kernel"
+IMAGE_FSTYPES += "ext2.gz"
Signature · 1 line
1.5.6.4