Patchwork [4/4] self-hosted-image: Create a VMDK image with correct SYSLINUX_* settings

login
register
mail settings
Submitter Saul Wold
Date March 1, 2012, 7:46 a.m.
Message ID <b9d93f6158d8768c107501f4c2e481caa02fcd9c.1330587785.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/22517/
State Accepted
Commit 1a3bd2ae195d515fe2c93bc178b45cce8505d831
Headers show

Comments

Saul Wold - March 1, 2012, 7:46 a.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/images/self-hosted-image.bb |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
Koen Kooi - March 1, 2012, 8:15 a.m.
Op 1 mrt. 2012, om 08:46 heeft Saul Wold het volgende geschreven:

> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-core/images/self-hosted-image.bb |   16 ++++++++++++++--
> 1 files changed, 14 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
> index a0a7592..d56c2cb 100644
> --- a/meta/recipes-core/images/self-hosted-image.bb
> +++ b/meta/recipes-core/images/self-hosted-image.bb
> @@ -1,11 +1,23 @@
> IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
> 
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> +                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> +
> +PR = "r5"

AFAICT PR in images does nothing, since they are nostamp.

regards,

Koen
Richard Purdie - March 1, 2012, 8:34 a.m.
On Thu, 2012-03-01 at 09:15 +0100, Koen Kooi wrote:
> Op 1 mrt. 2012, om 08:46 heeft Saul Wold het volgende geschreven:
> 
> > Signed-off-by: Saul Wold <sgw@linux.intel.com>
> > ---
> > meta/recipes-core/images/self-hosted-image.bb |   16 ++++++++++++++--
> > 1 files changed, 14 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
> > index a0a7592..d56c2cb 100644
> > --- a/meta/recipes-core/images/self-hosted-image.bb
> > +++ b/meta/recipes-core/images/self-hosted-image.bb
> > @@ -1,11 +1,23 @@
> > IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
> > 
> > +LICENSE = "MIT"
> > +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
> > +                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
> > +
> > +PR = "r5"
> 
> AFAICT PR in images does nothing

PR doesn't do anything

> , since they are nostamp.

although with BasicHash, we could change that :)

Cheers,

Richard

Patch

diff --git a/meta/recipes-core/images/self-hosted-image.bb b/meta/recipes-core/images/self-hosted-image.bb
index a0a7592..d56c2cb 100644
--- a/meta/recipes-core/images/self-hosted-image.bb
+++ b/meta/recipes-core/images/self-hosted-image.bb
@@ -1,11 +1,23 @@ 
 IMAGE_INSTALL = "task-core-boot task-core-apps-console task-core-ssh-openssh task-self-hosted"
 
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+PR = "r5"
+
 CORE_IMAGE_EXTRA_INSTALL = "\
     task-self-hosted \
     "
 
 IMAGE_FEATURES += "x11-mini package-management"
 
-inherit core-image
+# Ensure there's enough space to do a core-image-minimal build, with rm_work enabled
+IMAGE_ROOTFS_EXTRA_SPACE = "2621440"
 
-PR = "r2"
+# Do a quiet boot with limited console messages
+APPEND += "quiet"
+
+IMAGE_FSTYPES = "vmdk"
+
+inherit core-image