diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-31 00:10:12 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-12-31 00:10:12 +0000 |
commit | 90f97b66b52a7a2890b4a2da07117ee8596948be (patch) | |
tree | f2a187b57630a50b7e9a0151bfe1e38487839e53 | |
parent | 323ba2166a1ba393bbb2581de217c67f58656dc6 (diff) | |
download | poky-90f97b66b52a7a2890b4a2da07117ee8596948be.tar.gz |
moblin-images-live: Move common code to the .inc file
4 files changed, 8 insertions, 14 deletions
diff --git a/meta-moblin/packages/images/moblin-image-live.inc b/meta-moblin/packages/images/moblin-image-live.inc index 0f401091c1..453bc527c8 100644 --- a/meta-moblin/packages/images/moblin-image-live.inc +++ b/meta-moblin/packages/images/moblin-image-live.inc | |||
@@ -9,6 +9,8 @@ TIMEOUT = "10" | |||
9 | 9 | ||
10 | EXCLUDE_FROM_WORLD = "1" | 10 | EXCLUDE_FROM_WORLD = "1" |
11 | 11 | ||
12 | LABELS += "boot install" | ||
13 | |||
12 | do_bootimg[depends] += "moblin-image-minimal-initramfs:do_rootfs" | 14 | do_bootimg[depends] += "moblin-image-minimal-initramfs:do_rootfs" |
13 | 15 | ||
14 | inherit bootimg | 16 | inherit bootimg |
@@ -20,3 +22,6 @@ do_bootimg_prepend () { | |||
20 | bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") | 22 | bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") |
21 | } | 23 | } |
22 | 24 | ||
25 | ROOTFS = "${DEPLOY_DIR_IMAGE}/${MOBLIN_LIVE_IMAGENAME}-${MACHINE}.ext3" | ||
26 | |||
27 | do_bootimg[depends] += "${MOBLIN_LIVE_IMAGENAME}:do_rootfs" | ||
diff --git a/meta-moblin/packages/images/moblin-image-minimal-live.bb b/meta-moblin/packages/images/moblin-image-minimal-live.bb index b2c8ff60d2..9d7f789fa3 100644 --- a/meta-moblin/packages/images/moblin-image-minimal-live.bb +++ b/meta-moblin/packages/images/moblin-image-minimal-live.bb | |||
@@ -3,11 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | DESCRIPTION = "Minimal Bootable Live Image" | 5 | DESCRIPTION = "Minimal Bootable Live Image" |
6 | MOBLIN_LIVE_IMAGENAME = "moblin-image-minimal" | ||
6 | 7 | ||
7 | require moblin-image-live.inc | 8 | require moblin-image-live.inc |
8 | 9 | ||
9 | LABELS += "boot install" | ||
10 | |||
11 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-${MACHINE}.ext3" | ||
12 | |||
13 | do_bootimg[depends] += "moblin-image-minimal:do_rootfs" | ||
diff --git a/meta-moblin/packages/images/moblin-image-netbook-live.bb b/meta-moblin/packages/images/moblin-image-netbook-live.bb index 3fcfda7279..78b579f779 100644 --- a/meta-moblin/packages/images/moblin-image-netbook-live.bb +++ b/meta-moblin/packages/images/moblin-image-netbook-live.bb | |||
@@ -3,11 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | DESCRIPTION = "Netbook Bootable Live Image" | 5 | DESCRIPTION = "Netbook Bootable Live Image" |
6 | MOBLIN_LIVE_IMAGENAME = "moblin-image-netbook" | ||
6 | 7 | ||
7 | require moblin-image-live.inc | 8 | require moblin-image-live.inc |
8 | 9 | ||
9 | LABELS += "boot install" | ||
10 | |||
11 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3" | ||
12 | |||
13 | do_bootimg[depends] += "moblin-image-netbook:do_rootfs" | ||
diff --git a/meta-moblin/packages/images/moblin-image-sdk-live.bb b/meta-moblin/packages/images/moblin-image-sdk-live.bb index 44d2cda950..8301d97ad1 100644 --- a/meta-moblin/packages/images/moblin-image-sdk-live.bb +++ b/meta-moblin/packages/images/moblin-image-sdk-live.bb | |||
@@ -3,11 +3,8 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | DESCRIPTION = "Bootable Live SDK Image" | 5 | DESCRIPTION = "Bootable Live SDK Image" |
6 | MOBLIN_LIVE_IMAGENAME = "moblin-image-sdk" | ||
6 | 7 | ||
7 | require moblin-image-live.inc | 8 | require moblin-image-live.inc |
8 | 9 | ||
9 | LABELS += "boot install" | ||
10 | 10 | ||
11 | ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-sdk-${MACHINE}.ext3" | ||
12 | |||
13 | do_bootimg[depends] += "moblin-image-sdk:do_rootfs" | ||