* [PATCH 0/4] make vm + live images can build together
@ 2016-02-24 9:23 Robert Yang
2016-02-24 9:23 ` [PATCH 1/4] image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG Robert Yang
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-24 9:23 UTC (permalink / raw)
To: openembedded-core
Hello,
These patches can make vm and live images build together, and also make
the images easier to use.
I'd like to combine the following classes if you are fine with it:
* boot-directdisk.bbclass and image-vm.bbclass into image-vm.bbclass.
They are used for making vm images.
* bootimg.bbclass and image-live.bbclass into image-live.bbclass.
They are used for making live images.
Combine them can make them easier to understand and also make the
structure clearer.
// Robert
The following changes since commit 205b446f3fc4a9885179a66a8dab9d81bcc63dca:
uclibc: Do not use immediate expansion operator (2016-02-22 20:42:34 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/syslinux
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/syslinux
Robert Yang (4):
image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
boot-directdisk.bbclass: drop IS_VM chechking
syslinux.bbclass: make vm and live can be built together
sanity.bbclass: remove conflict checking for image vm and live
meta/classes/boot-directdisk.bbclass | 21 ++++++++-------------
meta/classes/bootimg.bbclass | 1 +
meta/classes/image-live.bbclass | 17 ++++++++---------
meta/classes/image-vm.bbclass | 15 +++++++--------
meta/classes/sanity.bbclass | 12 ------------
meta/classes/syslinux.bbclass | 23 ++++++++++++++++++-----
6 files changed, 42 insertions(+), 47 deletions(-)
--
1.7.9.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/4] image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
@ 2016-02-24 9:23 ` Robert Yang
2016-02-24 9:23 ` [PATCH 2/4] boot-directdisk.bbclass: drop IS_VM chechking Robert Yang
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-24 9:23 UTC (permalink / raw)
To: openembedded-core
No one uses it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/boot-directdisk.bbclass | 1 -
meta/classes/image-live.bbclass | 1 -
2 files changed, 2 deletions(-)
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index ee8c744..ce637b8 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -58,7 +58,6 @@ inherit ${EFI_CLASS}
# Get the build_syslinux_cfg() function from the syslinux class
-AUTO_SYSLINUXCFG = "1"
DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}"
SYSLINUX_ROOT ?= "root=/dev/sda2"
SYSLINUX_TIMEOUT ?= "10"
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index d2314aa..badf40d 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -1,5 +1,4 @@
-AUTO_SYSLINUXCFG = "1"
INITRD_IMAGE ?= "core-image-minimal-initramfs"
INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz"
SYSLINUX_ROOT ?= "root=/dev/ram0"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/4] boot-directdisk.bbclass: drop IS_VM chechking
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
2016-02-24 9:23 ` [PATCH 1/4] image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG Robert Yang
@ 2016-02-24 9:23 ` Robert Yang
2016-02-24 9:23 ` [PATCH 3/4] syslinux.bbclass: make vm and live can be built together Robert Yang
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-24 9:23 UTC (permalink / raw)
To: openembedded-core
The IS_VM was used for making menus for vmdk, vdi and qcow2, except
hddimg, there is no reason to not make menus for hddimg, so drop it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/boot-directdisk.bbclass | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index ce637b8..89007e3 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -62,8 +62,6 @@ DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}"
SYSLINUX_ROOT ?= "root=/dev/sda2"
SYSLINUX_TIMEOUT ?= "10"
-IS_VM = '${@bb.utils.contains_any("IMAGE_FSTYPES", ["vmdk", "vdi", "qcow2"], "true", "false", d)}'
-
boot_direct_populate() {
dest=$1
install -d $dest
@@ -102,12 +100,10 @@ build_boot_dd() {
efi_hddimg_populate $HDDDIR
fi
- if [ "${IS_VM}" = "true" ]; then
- if [ "x${AUTO_SYSLINUXMENU}" = "x1" ] ; then
- install -m 0644 ${STAGING_DIR}/${MACHINE}/usr/share/syslinux/vesamenu.c32 $HDDDIR/${SYSLINUXDIR}/
- if [ "x${SYSLINUX_SPLASH}" != "x" ] ; then
- install -m 0644 ${SYSLINUX_SPLASH} $HDDDIR/${SYSLINUXDIR}/splash.lss
- fi
+ if [ "x${AUTO_SYSLINUXMENU}" = "x1" ] ; then
+ install -m 0644 ${STAGING_DIR}/${MACHINE}/usr/share/syslinux/vesamenu.c32 $HDDDIR/${SYSLINUXDIR}/
+ if [ "x${SYSLINUX_SPLASH}" != "x" ] ; then
+ install -m 0644 ${SYSLINUX_SPLASH} $HDDDIR/${SYSLINUXDIR}/splash.lss
fi
fi
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/4] syslinux.bbclass: make vm and live can be built together
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
2016-02-24 9:23 ` [PATCH 1/4] image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG Robert Yang
2016-02-24 9:23 ` [PATCH 2/4] boot-directdisk.bbclass: drop IS_VM chechking Robert Yang
@ 2016-02-24 9:23 ` Robert Yang
2016-02-24 9:23 ` [PATCH 4/4] sanity.bbclass: remove conflict checking for image vm and live Robert Yang
2016-02-29 5:54 ` [PATCH 0/4] make vm + live images can build together Robert Yang
4 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-24 9:23 UTC (permalink / raw)
To: openembedded-core
* The vm image(hdddirect, vmdk, qcow2, vdi) and live image (hddimg, iso)
couldn't be built together because the following vars settings are
conflicted:
- SYSLINUX_ROOT (/dev/sda2 vs /dev/ram0)
- LABELS (boot vs boot install)
- INITRD (None vs live install)
- SYSLINUX_CFG (see above)
Introduce new vars (SYSLINUX_ROOT_VM/_LIVE, the samilar to others) to
make them can work together, now we can build all of them together:
IMAGE_FSTYPES += "live iso hddimg hdddirect vmdk qcow2 vdi"
* Use SYSLINUX_CFG rather than SYSLINUXCFG to keep align with others
SYSLINUX vars.
* The SYSLINUX_TIMEOUT had been set, but it didn't work since
AUTO_SYSLINUXMENU wasn't set, this would cause confusions, so also set
AUTO_SYSLINUXMENU.
* Move SYSLINUX_PROMPT and SYSLINUX_TIMEOUT to syslinux.bbclass rather
than in separate classes since they are the same.
* Set SYSLINUX_TIMEOUT to 50 to have a unique timeout for syslinux.
[YOCTO #9161]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/boot-directdisk.bbclass | 8 ++++----
meta/classes/bootimg.bbclass | 1 +
meta/classes/image-live.bbclass | 16 ++++++++--------
meta/classes/image-vm.bbclass | 15 +++++++--------
meta/classes/syslinux.bbclass | 23 ++++++++++++++++++-----
5 files changed, 38 insertions(+), 25 deletions(-)
diff --git a/meta/classes/boot-directdisk.bbclass b/meta/classes/boot-directdisk.bbclass
index 89007e3..fcdef26 100644
--- a/meta/classes/boot-directdisk.bbclass
+++ b/meta/classes/boot-directdisk.bbclass
@@ -53,14 +53,13 @@ def pcbios_class(d):
PCBIOS = "${@pcbios(d)}"
PCBIOS_CLASS = "${@pcbios_class(d)}"
+# Get the build_syslinux_cfg() function from the syslinux class
inherit ${PCBIOS_CLASS}
inherit ${EFI_CLASS}
-# Get the build_syslinux_cfg() function from the syslinux class
-
DISK_SIGNATURE ?= "${DISK_SIGNATURE_GENERATED}"
-SYSLINUX_ROOT ?= "root=/dev/sda2"
-SYSLINUX_TIMEOUT ?= "10"
+SYSLINUX_ROOT_VM ?= "root=/dev/sda2"
+SYSLINUX_CFG_VM ?= "${S}/syslinux_hdd.cfg"
boot_direct_populate() {
dest=$1
@@ -162,6 +161,7 @@ build_boot_dd() {
python do_bootdirectdisk() {
validate_disk_signature(d)
if d.getVar("PCBIOS", True) == "1":
+ syslinux_set_vars(d, 'VM')
bb.build.exec_func('build_syslinux_cfg', d)
if d.getVar("EFI", True) == "1":
bb.build.exec_func('build_efi_cfg', d)
diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass
index b174266..7946839 100644
--- a/meta/classes/bootimg.bbclass
+++ b/meta/classes/bootimg.bbclass
@@ -281,6 +281,7 @@ build_hddimg() {
python do_bootimg() {
if d.getVar("PCBIOS", True) == "1":
+ syslinux_set_vars(d, 'LIVE')
bb.build.exec_func('build_syslinux_cfg', d)
if d.getVar("EFI", True) == "1":
bb.build.exec_func('build_efi_cfg', d)
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass
index badf40d..b8f21cb 100644
--- a/meta/classes/image-live.bbclass
+++ b/meta/classes/image-live.bbclass
@@ -1,10 +1,10 @@
-INITRD_IMAGE ?= "core-image-minimal-initramfs"
-INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz"
-SYSLINUX_ROOT ?= "root=/dev/ram0"
-SYSLINUX_TIMEOUT ?= "50"
-SYSLINUX_LABELS ?= "boot install"
-LABELS_append = " ${SYSLINUX_LABELS} "
+INITRD_IMAGE_LIVE ?= "core-image-minimal-initramfs"
+INITRD_LIVE ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.cpio.gz"
+SYSLINUX_ROOT_LIVE ?= "root=/dev/ram0"
+SYSLINUX_LABELS_LIVE ?= "boot install"
+LABELS_LIVE ?= "${SYSLINUX_LABELS_LIVE}"
+SYSLINUX_CFG_LIVE ?= "${S}/syslinux_live.cfg"
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ext4"
@@ -19,9 +19,9 @@ IMAGE_TYPES_MASKED += "live hddimg iso"
python() {
image_b = d.getVar('IMAGE_BASENAME', True)
- initrd_i = d.getVar('INITRD_IMAGE', True)
+ initrd_i = d.getVar('INITRD_IMAGE_LIVE', True)
if image_b == initrd_i:
- bb.error('INITRD_IMAGE %s cannot use image live, hddimg or iso.' % initrd_i)
+ bb.error('INITRD_IMAGE_LIVE %s cannot use image live, hddimg or iso.' % initrd_i)
bb.fatal('Check IMAGE_FSTYPES and INITRAMFS_FSTYPES settings.')
else:
d.appendVarFlag('do_bootimg', 'depends', ' %s:do_image_complete' % initrd_i)
diff --git a/meta/classes/image-vm.bbclass b/meta/classes/image-vm.bbclass
index 6f3a55b..17e87a5 100644
--- a/meta/classes/image-vm.bbclass
+++ b/meta/classes/image-vm.bbclass
@@ -1,18 +1,17 @@
-SYSLINUX_PROMPT ?= "0"
-SYSLINUX_LABELS = "boot"
-LABELS_append = " ${SYSLINUX_LABELS} "
+SYSLINUX_LABELS_VM ?= "boot"
+LABELS_VM ?= "${SYSLINUX_LABELS_VM}"
-# Using an initramfs is optional. Enable it by setting INITRD_IMAGE.
-INITRD_IMAGE ?= ""
-INITRD ?= "${@'${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz' if '${INITRD_IMAGE}' else ''}"
-do_bootdirectdisk[depends] += "${@'${INITRD_IMAGE}:do_image_complete' if '${INITRD_IMAGE}' else ''}"
+# Using an initramfs is optional. Enable it by setting INITRD_IMAGE_VM.
+INITRD_IMAGE_VM ?= ""
+INITRD_VM ?= "${@'${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_VM}-${MACHINE}.cpio.gz' if '${INITRD_IMAGE_VM}' else ''}"
+do_bootdirectdisk[depends] += "${@'${INITRD_IMAGE_VM}:do_image_complete' if '${INITRD_IMAGE_VM}' else ''}"
# need to define the dependency and the ROOTFS for directdisk
do_bootdirectdisk[depends] += "${PN}:do_image_ext4"
ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.ext4"
-# creating VM images relies on having a hddimg so ensure we inherit it here.
+# creating VM images relies on having a hdddirect so ensure we inherit it here.
inherit boot-directdisk
IMAGE_TYPEDEP_vmdk = "ext4"
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 44ef9a9..1b644b2 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -20,8 +20,6 @@
do_bootimg[depends] += "${MLPREFIX}syslinux:do_populate_sysroot \
syslinux-native:do_populate_sysroot"
-SYSLINUXCFG = "${S}/syslinux.cfg"
-
ISOLINUXDIR = "/isolinux"
SYSLINUXDIR = "/"
# The kernel has an internal default console, which you can override with
@@ -29,6 +27,9 @@ SYSLINUXDIR = "/"
SYSLINUX_DEFAULT_CONSOLE ?= ""
SYSLINUX_SERIAL ?= "0 115200"
SYSLINUX_SERIAL_TTY ?= "console=ttyS0,115200"
+SYSLINUX_PROMPT ?= "0"
+SYSLINUX_TIMEOUT ?= "50"
+AUTO_SYSLINUXMENU ?= "1"
ISO_BOOTIMG = "isolinux/isolinux.bin"
ISO_BOOTCAT = "isolinux/boot.cat"
MKISOFS_OPTIONS = "-no-emul-boot -boot-load-size 4 -boot-info-table"
@@ -37,6 +38,18 @@ APPEND_prepend = " ${SYSLINUX_ROOT} "
# Need UUID utility code.
inherit fs-uuid
+# Some of the vars for vm and live image are conflicted, this function
+# is used for fixing the problem.
+def syslinux_set_vars(d, suffix):
+ vars = ['SYSLINUX_ROOT', 'SYSLINUX_CFG', 'LABELS', 'INITRD']
+ for var in vars:
+ var_with_suffix = var + '_' + suffix
+ if d.getVar(var, True):
+ bb.warn('Found potential conflicted var %s, please use %s rather than %s' % \
+ (var, var_with_suffix, var))
+ elif d.getVar(var_with_suffix, True):
+ d.setVar(var, d.getVar(var_with_suffix, True))
+
syslinux_populate() {
DEST=$1
BOOTDIR=$2
@@ -45,7 +58,7 @@ syslinux_populate() {
install -d ${DEST}${BOOTDIR}
# Install the config files
- install -m 0644 ${SYSLINUXCFG} ${DEST}${BOOTDIR}/${CFGNAME}
+ install -m 0644 ${SYSLINUX_CFG} ${DEST}${BOOTDIR}/${CFGNAME}
if [ "${AUTO_SYSLINUXMENU}" = 1 ] ; then
install -m 0644 ${STAGING_DATADIR}/syslinux/vesamenu.c32 ${DEST}${BOOTDIR}/vesamenu.c32
install -m 0444 ${STAGING_DATADIR}/syslinux/libcom32.c32 ${DEST}${BOOTDIR}/libcom32.c32
@@ -96,9 +109,9 @@ python build_syslinux_cfg () {
bb.debug(1, "No labels, nothing to do")
return
- cfile = d.getVar('SYSLINUXCFG', True)
+ cfile = d.getVar('SYSLINUX_CFG', True)
if not cfile:
- raise bb.build.FuncFailed('Unable to read SYSLINUXCFG')
+ raise bb.build.FuncFailed('Unable to read SYSLINUX_CFG')
try:
cfgfile = file(cfile, 'w')
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/4] sanity.bbclass: remove conflict checking for image vm and live
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
` (2 preceding siblings ...)
2016-02-24 9:23 ` [PATCH 3/4] syslinux.bbclass: make vm and live can be built together Robert Yang
@ 2016-02-24 9:23 ` Robert Yang
2016-02-29 5:54 ` [PATCH 0/4] make vm + live images can build together Robert Yang
4 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-24 9:23 UTC (permalink / raw)
To: openembedded-core
[YOCTO #9161]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/sanity.bbclass | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 466eb49..edf49da 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -843,18 +843,6 @@ def check_sanity_everybuild(status, d):
with open(checkfile, "w") as f:
f.write(tmpdir)
- # Check vmdk and live can't be built together.
- if 'vmdk' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
- status.addresult("Error, IMAGE_FSTYPES vmdk and live can't be built together\n")
-
- # Check vdi and live can't be built together.
- if 'vdi' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
- status.addresult("Error, IMAGE_FSTYPES vdi and live can't be built together\n")
-
- # Check qcow2 and live can't be built together.
- if 'qcow2' in d.getVar('IMAGE_FSTYPES', True) and 'live' in d.getVar('IMAGE_FSTYPES', True):
- status.addresult("Error, IMAGE_FSTYPES qcow2 and live can't be built together\n")
-
# Check /bin/sh links to dash or bash
real_sh = os.path.realpath('/bin/sh')
if not real_sh.endswith('/dash') and not real_sh.endswith('/bash'):
--
1.7.9.5
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] make vm + live images can build together
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
` (3 preceding siblings ...)
2016-02-24 9:23 ` [PATCH 4/4] sanity.bbclass: remove conflict checking for image vm and live Robert Yang
@ 2016-02-29 5:54 ` Robert Yang
2016-02-29 16:30 ` Burton, Ross
2016-03-01 16:36 ` Burton, Ross
4 siblings, 2 replies; 9+ messages in thread
From: Robert Yang @ 2016-02-29 5:54 UTC (permalink / raw)
To: openembedded-core
Hi Ross,
On 02/24/2016 05:23 PM, Robert Yang wrote:
> Hello,
>
> These patches can make vm and live images build together, and also make
> the images easier to use.
>
> I'd like to combine the following classes if you are fine with it:
> * boot-directdisk.bbclass and image-vm.bbclass into image-vm.bbclass.
> They are used for making vm images.
> * bootimg.bbclass and image-live.bbclass into image-live.bbclass.
> They are used for making live images.
> Combine them can make them easier to understand and also make the
> structure clearer.
>
> // Robert
>
> The following changes since commit 205b446f3fc4a9885179a66a8dab9d81bcc63dca:
>
> uclibc: Do not use immediate expansion operator (2016-02-22 20:42:34 +0000)
>
> are available in the git repository at:
>
> git://git.openembedded.org/openembedded-core-contrib rbt/syslinux
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/syslinux
>
> Robert Yang (4):
> image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
> boot-directdisk.bbclass: drop IS_VM chechking
The two are merged.
> syslinux.bbclass: make vm and live can be built together
> sanity.bbclass: remove conflict checking for image vm and live
How about these 2 please ? These are convenient for testing images,
otherwise we have to build two times to get virtual machine and live
images.
// Robert
>
> meta/classes/boot-directdisk.bbclass | 21 ++++++++-------------
> meta/classes/bootimg.bbclass | 1 +
> meta/classes/image-live.bbclass | 17 ++++++++---------
> meta/classes/image-vm.bbclass | 15 +++++++--------
> meta/classes/sanity.bbclass | 12 ------------
> meta/classes/syslinux.bbclass | 23 ++++++++++++++++++-----
> 6 files changed, 42 insertions(+), 47 deletions(-)
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] make vm + live images can build together
2016-02-29 5:54 ` [PATCH 0/4] make vm + live images can build together Robert Yang
@ 2016-02-29 16:30 ` Burton, Ross
2016-03-01 16:36 ` Burton, Ross
1 sibling, 0 replies; 9+ messages in thread
From: Burton, Ross @ 2016-02-29 16:30 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
On 29 February 2016 at 05:54, Robert Yang <liezhi.yang@windriver.com> wrote:
> Robert Yang (4):
>> image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG
>> boot-directdisk.bbclass: drop IS_VM chechking
>>
>
> The two are merged.
>
> syslinux.bbclass: make vm and live can be built together
>> sanity.bbclass: remove conflict checking for image vm and live
>>
>
> How about these 2 please ? These are convenient for testing images,
> otherwise we have to build two times to get virtual machine and live
> images.
Two were easy, two were more complex. They're in mut now.
Ross
[-- Attachment #2: Type: text/html, Size: 1234 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] make vm + live images can build together
2016-02-29 5:54 ` [PATCH 0/4] make vm + live images can build together Robert Yang
2016-02-29 16:30 ` Burton, Ross
@ 2016-03-01 16:36 ` Burton, Ross
2016-03-02 1:39 ` Robert Yang
1 sibling, 1 reply; 9+ messages in thread
From: Burton, Ross @ 2016-03-01 16:36 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 431 bytes --]
On 29 February 2016 at 05:54, Robert Yang <liezhi.yang@windriver.com> wrote:
> syslinux.bbclass: make vm and live can be built together
>> sanity.bbclass: remove conflict checking for image vm and live
>
>
If I build a core-image-sato for intel-corei7-32 I get this warning:
WARNING: core-image-sato-base-1.0-r0 do_bootimg: Found potential conflicted
var INITRD, please use INITRD_LIVE rather than INITRD
Ross
[-- Attachment #2: Type: text/html, Size: 1088 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/4] make vm + live images can build together
2016-03-01 16:36 ` Burton, Ross
@ 2016-03-02 1:39 ` Robert Yang
0 siblings, 0 replies; 9+ messages in thread
From: Robert Yang @ 2016-03-02 1:39 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 03/02/2016 12:36 AM, Burton, Ross wrote:
>
> On 29 February 2016 at 05:54, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> syslinux.bbclass: make vm and live can be built together
> sanity.bbclass: remove conflict checking for image vm and live
>
>
> If I build a core-image-sato for intel-corei7-32 I get this warning:
>
> WARNING: core-image-sato-base-1.0-r0 do_bootimg: Found potential conflicted var
> INITRD, please use INITRD_LIVE rather than INITRD
I added this checking, we need fix from from meta-intel, I will send a patch to
meta-yocto yocto@yoctoproject.org to fix it.
// Robert
>
> Ross
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-03-02 1:39 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24 9:23 [PATCH 0/4] make vm + live images can build together Robert Yang
2016-02-24 9:23 ` [PATCH 1/4] image-live/boot-directdisk.bbclass: remove AUTO_SYSLINUXCFG Robert Yang
2016-02-24 9:23 ` [PATCH 2/4] boot-directdisk.bbclass: drop IS_VM chechking Robert Yang
2016-02-24 9:23 ` [PATCH 3/4] syslinux.bbclass: make vm and live can be built together Robert Yang
2016-02-24 9:23 ` [PATCH 4/4] sanity.bbclass: remove conflict checking for image vm and live Robert Yang
2016-02-29 5:54 ` [PATCH 0/4] make vm + live images can build together Robert Yang
2016-02-29 16:30 ` Burton, Ross
2016-03-01 16:36 ` Burton, Ross
2016-03-02 1:39 ` Robert Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox