Fix xen-image-minimal build
cover Fix xen-image-minimal build
From: Christopher Clark <[email protected]>
A short series of small patches to enable xen-image-minimal to build to completion with MACHINE = "genericx86-64".
Compile-tested on debian jessie 64-bit with:
BBLAYERS ?= " \
.../poky/meta \
.../poky/meta-poky \
.../poky/meta-yocto-bsp \
.../poky/meta-openembedded/meta-oe \
.../poky/meta-openembedded/meta-networking \
.../poky/meta-openembedded/meta-python \
.../poky/meta-virtualization \
"
Christopher Clark (4):
vgabios : extract biossums tool and build it separately, native
ipxe: fetch using https rather than git protocol
xen : cp long-double-64.h long-double-32.h to fix hvmloader build xen-image-minimal : change SYSLINUXCFG to SYSLINUX_CFG
recipes-extended/images/xen-image-minimal.bb | 14 +++++------ recipes-extended/ipxe/ipxe_git.bb | 2 +- recipes-extended/vgabios/biossums_0.7a.bb | 37 ++++++++++++++++++++++++++++ recipes-extended/vgabios/vgabios_0.7a.bb | 6 +++-- recipes-extended/xen/xen.inc | 1 + 5 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 recipes-extended/vgabios/biossums_0.7a.bb
Signature · 1 line
2.1.4
PATCH 1/4 vgabios : extract biossums tool and build it separately, native
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built one
--- recipes-extended/vgabios/biossums_0.7a.bb | 37 +++++++++++++++++++++++++++++++ recipes-extended/vgabios/vgabios_0.7a.bb | 6 +++-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 recipes-extended/vgabios/biossums_0.7a.bb
recipes-extended/vgabios/biossums_0.7a.bb new file +37 -0
@@ -0,0 +1,37 @@ +DESCRIPTION = "biossums tool for building Plex86/Bochs LGPL VGABios" +HOMEPAGE = "http://www.nongnu.org/vgabios/" +LICENSE = "LGPLv2.1" +SECTION = "firmware" + +LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" + +SRC_URI = "http://savannah.gnu.org/download/vgabios/vgabios-${PV}.tgz" + +SRC_URI[md5sum] = "2c0fe5c0ca08082a9293e3a7b23dc900" +SRC_URI[sha256sum] = "9d24c33d4bfb7831e2069cf3644936a53ef3de21d467872b54ce2ea30881b865" + +PR = "r0" + +BBCLASSEXTEND = "native" + +FILES_${PN} = "${bindir}/biossums" + +S = "${WORKDIR}/vgabios-${PV}" + +do_configure() { + # Don't override the compiler or its flags: + sed 's,^CC,DISABLED_CC,' -i Makefile + sed 's,^CFLAGS,DISABLED_CFLAGS,' -i Makefile + # Supply the C flags to the compiler: + sed 's,-o biossums,$(CFLAGS) -o biossums,' -i Makefile +} + +do_compile() { + oe_runmake clean + oe_runmake biossums +} + +do_install() { + mkdir -p "${D}${bindir}" + install -m 0755 biossums "${D}${bindir}" +}
recipes-extended/vgabios/vgabios_0.7a.bb +4 -2
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.nongnu.org/vgabios/" LICENSE = "LGPLv2.1" SECTION = "firmware" -DEPENDS = "dev86-native" +DEPENDS = "dev86-native biossums-native" LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"
@@ -20,7 +20,9 @@ FILES_${PN}-dbg = "/usr/share/firmware/${PN}-${PV}*.debug.bin" S = "${WORKDIR}/${PN}-${PV}" do_configure() { - echo "Skip do_configure" + # Override to use the native-built biossums tool: + sed 's,./biossums,biossums,' -i Makefile + sed 's,$(CC) -o biossums biossums.c,touch biossums,' -i Makefile } do_install() {
Signature · 1 line
2.1.4
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 38 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built oneSigned-off-by Christopher Clark <[email protected]>--- recipes-extended/vgabios/biossums_0.7a.bb | 37 +++++++++++++++++++++++++++++++ recipes-extended/vgabios/vgabios_0.7a.bb | 6 +++-- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 recipes-extended/vgabios/biossums_0.7a.bbrecipes-extended/vgabios/biossums_0.7a.bb new file +11
-0@@ -0,0 +1,37 @@ +DESCRIPTION = "biossums tool for building Plex86/Bochs LGPL VGABios" +HOMEPAGE = "http://www.nongnu.org/vgabios/" +LICENSE = "LGPLv2.1" +SECTION = "firmware" + +LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" + +SRC_URI = "http://savannah.gnu.org/download/vgabios/vgabios-${PV}.tgz" + +SRC_URI[md5sum] = "2c0fe5c0ca08082a9293e3a7b23dc900" +SRC_URI[sha256sum] = "9d24c33d4bfb7831e2069cf3644936
a53ef3de21d467872b54ce2ea30881b865"
recipes-extended/vgabios/biossums_0.7a.bb
Quoted 2 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +2
-0+ +PR = "r0"
Minor issue, no need for a PR value in a new recipe. The PR server will handle it.
Quoted 8 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +7
-0+ +BBCLASSEXTEND = "native" + +FILES_${PN} = "${bindir}/biossums" + +S = "${WORKDIR}/vgabios-${PV}" +
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 10 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +10
-0+do_configure() { + # Don't override the compiler or its flags: + sed 's,^CC,DISABLED_CC,' -i Makefile + sed 's,^CFLAGS,DISABLED_CFLAGS,' -i Makefile + # Supply the C flags to the compiler: + sed 's,-o biossums,$(CFLAGS) -o biossums,' -i Makefile +} + +do_compile() { + oe_runmake clean
What actually happens if the clean isn't run before each compile ?
Bruce
Quoted 42 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +7
-0+ oe_runmake biossums +} + +do_install() { + mkdir -p "${D}${bindir}" + install -m 0755 biossums "${D}${bindir}" +}recipes-extended/vgabios/vgabios_0.7a.bb +1
-1@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.nongnu.org/vgabios/" LICENSE = "LGPLv2.1" SECTION = "firmware" -DEPENDS = "dev86-native" +DEPENDS = "dev86-native biossums-native" LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589"@@ -20,7 +20,9 @@ FILES_${PN}-dbg = "/usr/share/firmware/${PN}-${PV}*.debug.bin"
S = "${WORKDIR}/${PN}-${PV}"
do_configure(){recipes-extended/vgabios/vgabios_0.7a.bb +3
-2- echo "Skip do_configure" + # Override to use the native-built biossums tool: + sed 's,./biossums,biossums,' -i Makefile + sed 's,$(CC) -o biossums biossums.c,touch biossums,' -i Makefile } do_install() { --2.1.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 10 lines · Bruce Ashfield
Quoted 9 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built one
...
Quoted 4 lines
Quoted 1 line
+PR = "r0"
Minor issue, no need for a PR value in a new recipe. The PR server will handle it.
Oh yes - thanks, good catch.
Quoted 6 lines
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 3 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +3
-0+ +do_compile() { + oe_runmake cleanWhat actually happens if the clean isn't run before each compile ?
It's a good question. Here's where I see different behaviour with and without that clean:
bitbake -c cleansstate vgabios biossums-native
bitbake vgabios
With the clean present, building vgabios will trigger biossums-native to be built to satisfy the dependency, and vgabios's compile will succeed. Without the clean present, biossums-native does get its build triggered, but the vgabios build fails with:
"make: execvp: biossums: Accessing a corrupted shared library"
I think if bitbake has calculated that running the compile step is required, then it needs to actually do the compile and not have "make" make its own local decision to skip it, and the clean forces that to happen.
Christopher
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 34 lines · Christopher Clark
Quoted 10 lines · Bruce Ashfield
Quoted 9 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built one...
Quoted 4 lines
Quoted 1 line
+PR = "r0"
Minor issue, no need for a PR value in a new recipe. The PR server will handle it.
Oh yes - thanks, good catch.
Quoted 6 lines
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 3 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +3
-0+ +do_compile() { + oe_runmake cleanWhat actually happens if the clean isn't run before each compile ?
It's a good question. Here's where I see different behaviour with and without that clean:
bitbake -c cleansstate vgabios biossums-native
bitbake vgabios
Quoted 7 lines
With the clean present, building vgabios will trigger biossums-native to be built to satisfy the dependency, and vgabios's compile will succeed. Without the clean present, biossums-native does get its build triggered, but the vgabios build fails with:
"make: execvp: biossums: Accessing a corrupted shared library"
Interesting. So it sounds like whatever is installed from biossums-native in a
previous build is checked for .. something ... and declared invalid on a subsequent run.
.. but since the clean is before the make of biosums-native, I'm at a loss to
understand why on a later build of vgabios it makes a difference. Is it some sort of host vs target issue ?
When that error happens, and you look in the native sysroot, what does the .so look like ? What does file say about it ?
Bruce
Quoted 8 lines
I think if bitbake has calculated that running the compile step is required, then it needs to actually do the compile and not have "make" make its own local decision to skip it, and the clean forces that to happen.
Christopher
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 45 lines · Bruce Ashfield
Quoted 27 lines · Christopher Clark
Quoted 11 lines · Bruce Ashfield
Quoted 9 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built oneQuoted 6 lines
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 3 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +3
-0+ +do_compile() { + oe_runmake cleanWhat actually happens if the clean isn't run before each compile ?
It's a good question. Here's where I see different behaviour with and without that clean:
bitbake -c cleansstate vgabios biossums-native
bitbake vgabiosQuoted 6 lines
With the clean present, building vgabios will trigger biossums-native to be built to satisfy the dependency, and vgabios's compile will succeed. Without the clean present, biossums-native does get its build triggered, but the vgabios build fails with:
"make: execvp: biossums: Accessing a corrupted shared library"
Interesting. So it sounds like whatever is installed from biossums-native in a
previous build is checked for .. something ... and declared invalid on a subsequent run.
Quoted 4 lines
.. but since the clean is before the make of biosums-native, I'm at a loss to
understand why on a later build of vgabios it makes a difference. Is it some sort of host vs target issue ?
I think yes, something like that is going on, but I don't have a precise answer yet.
Quoted 2 lines
When that error happens, and you look in the native sysroot, what does the .so look like ? What does file say about it ?
It's probably helpful to know that I do not have the 32-bit compatibility libraries installed on this debian build VM, which I think is ensuring that things that should break are breaking.
Without the clean:
user@build-vm:tmp$ file sysroots-components/x86_64/biossums-native/usr/bin/biossums sysroots-components/x86_64/biossums-native/usr/bin/biossums: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /mnt/build/master/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.4, stripped
user@build-vm:tmp$ ldd
sysroots-components/x86_64/biossums-native/usr/bin/biossums
not a dynamic executableWith the clean:
user@build-vm:tmp$ file sysroots-components/x86_64/biossums-native/usr/bin/biossums sysroots-components/x86_64/biossums-native/usr/bin/biossums: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /mnt/build/master/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=e47d34032f342f20532a91d95208534e080cdc73, stripped
user@build-vm:tmp$ ldd
sysroots-components/x86_64/biossums-native/usr/bin/biossums
linux-vdso.so.1 (0x00007fff383ed000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f673ecd5000)
/mnt/build/master/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2
=> /lib64/ld-linux-x86-64.so.2 (0x00005588ab4c3000)Just for completeness, I also get these same results directing bitbake to build biossums-native directly, rather than inferring it from vgabios's dependencies, with this:
bitbake -c cleansstate vgabios biossums-native && bitbake biossums-native
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 20 lines · Christopher Clark
Quoted 17 lines · Bruce Ashfield
Quoted 13 lines · Christopher Clark
Quoted 10 lines · Bruce Ashfield
Quoted 9 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than a locally built one
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 3 lines
recipes-extended/vgabios/biossums_0.7a.bb new file +3
-0+ +do_compile() { + oe_runmake cleanWhat actually happens if the clean isn't run before each compile ?
I figured it out: a 32-bit biossums binary is distributed inside the upstream source tarball, and make decides that it doesn't need to rebuild it since the timestamp is newer than the source code file.
I think that makes the "clean" seem like a reasonable step to put before compile.
Christopher
Re: [PATCH 1/4] vgabios : extract biossums tool and build it separately, native
Quoted 31 lines · Christopher Clark
Quoted 10 lines · Christopher Clark
Quoted 8 lines · Bruce Ashfield
Quoted 4 lines · Christopher Clark
Quoted 1 line · Bruce Ashfield
On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]>
Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
From: Christopher Clark <[email protected]>
The biossums tool is used to generate the vgabios build product.
This patch:
* adds a separate recipe "biossums" for the tool
* makes the vgabios recipe depend upon biossums-native
* makes the vgabios recipe use the native binary rather than alocally
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
recipes-extended/vgabios/biossums_0.7a.bb line 30
Quoted 5 lines
built one
recipes-extended/vgabios/biossums_0.7a.bb new file +3
-0+ +do_compile() { + oe_runmake cleanWhat actually happens if the clean isn't run before each compile ?
Quoted 4 lines
I figured it out: a 32-bit biossums binary is distributed inside the upstream source tarball, and make decides that it doesn't need to rebuild it since the timestamp is newer than the source code file.
Aha. Thanks for the information .. gives more confidence in the approach. We could
also just rm the files, but using the clean mechanism to take care of it properly makes
sense.
I've now merged the 4 patch series.
Bruce
Quoted 6 lines
I think that makes the "clean" seem like a reasonable step to put before compile.
Christopher
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
PATCH 2/4 ipxe: fetch using https rather than git protocol
In reply to [email protected]From: Christopher Clark <[email protected]>
The git protocol isn't responding at the ipxe fetch source; https is, so use that instead.
--- recipes-extended/ipxe/ipxe_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/ipxe/ipxe_git.bb +1 -1
@@ -8,7 +8,7 @@ SRCREV = "8c43891db4eb131d019360ccfb619f235b17eb58" PV = "gitr${SRCPV}" PR = "r0" -SRC_URI = "git://git.ipxe.org/ipxe.git;protocol=git" +SRC_URI = "git://git.ipxe.org/ipxe.git;protocol=https" FILES_${PN} = "/usr/share/firmware/*.rom"
Signature · 1 line
2.1.4
PATCH 3/4 xen : cp long-double-64.h long-double-32.h to fix hvmloader build
In reply to [email protected]From: Christopher Clark <[email protected]>
Fix the xen build when MACHINE = "genericx86-64" by providing long-double-32.h
Inspired by a similar recent patch to meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb since the contents of the header are minimal:
cp ${STAGING_INCDIR}/bits/long-double-64.h ${STAGING_INCDIR}/bits/long-double-32.h
--- recipes-extended/xen/xen.inc | 1 + 1 file changed, 1 insertion(+)
recipes-extended/xen/xen.inc +1 -0
@@ -912,6 +912,7 @@ do_configure() { # do configure oe_runconf + cp ${STAGING_INCDIR}/bits/long-double-64.h ${STAGING_INCDIR}/bits/long-double-32.h } do_compile() {
Signature · 1 line
2.1.4
PATCH 4/4 xen-image-minimal : change SYSLINUXCFG to SYSLINUX_CFG
In reply to [email protected]From: Christopher Clark <[email protected]>
Fixes the build for xen-image-minimal.
--- recipes-extended/images/xen-image-minimal.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
recipes-extended/images/xen-image-minimal.bb +7 -7
@@ -50,12 +50,12 @@ SYSLINUX_XEN_ARGS ?= "loglvl=all guest_loglvl=all console=com1,vga com1=115200,8 SYSLINUX_KERNEL_ARGS ?= "ramdisk_size=32768 root=/dev/ram0 rw console=hvc0 earlyprintk=xen console=tty0 panic=10 LABEL=boot debugshell=5" build_syslinux_cfg () { - echo "ALLOWOPTIONS 1" > ${SYSLINUXCFG} - echo "DEFAULT boot" >> ${SYSLINUXCFG} - echo "TIMEOUT 10" >> ${SYSLINUXCFG} - echo "PROMPT 1" >> ${SYSLINUXCFG} - echo "LABEL boot" >> ${SYSLINUXCFG} - echo " KERNEL mboot.c32" >> ${SYSLINUXCFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUXCFG} + echo "ALLOWOPTIONS 1" > ${SYSLINUX_CFG} + echo "DEFAULT boot" >> ${SYSLINUX_CFG} + echo "TIMEOUT 10" >> ${SYSLINUX_CFG} + echo "PROMPT 1" >> ${SYSLINUX_CFG} + echo "LABEL boot" >> ${SYSLINUX_CFG} + echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz ${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG} }
Signature · 1 line
2.1.4
Re: [PATCH 4/4] xen-image-minimal : change SYSLINUXCFG to SYSLINUX_CFG
Quoted 4 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
Fixes the build for xen-image-minimal.
What change triggered the need to update the variable ? It would be nice to log that in the commit message.
I did a quick grep and didn't find the root cause.
Bruce
Quoted 44 lines
Signed-off-by Christopher Clark <[email protected]>--- recipes-extended/images/xen-image-minimal.bb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)recipes-extended/images/xen-image-minimal.bb +0
-0@@ -50,12 +50,12 @@ SYSLINUX_XEN_ARGS ?= "loglvl=all guest_loglvl=allconsole=com1,vga com1=115200,8
SYSLINUX_KERNEL_ARGS?= "ramdisk_size=32768 root=/dev/ram0 rw
console=hvc0 earlyprintk=xen console=tty0 panic=10 LABEL=boot debugshell=5"
build_syslinux_cfg() {recipes-extended/images/xen-image-minimal.bb +0
-7- echo "ALLOWOPTIONS 1" > ${SYSLINUXCFG} - echo "DEFAULT boot" >> ${SYSLINUXCFG} - echo "TIMEOUT 10" >> ${SYSLINUXCFG} - echo "PROMPT 1" >> ${SYSLINUXCFG} - echo "LABEL boot" >> ${SYSLINUXCFG} - echo " KERNEL mboot.c32" >> ${SYSLINUXCFG} - echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUXCFG}
recipes-extended/images/xen-image-minimal.bb +7
-0+ echo "ALLOWOPTIONS 1" > ${SYSLINUX_CFG} + echo "DEFAULT boot" >> ${SYSLINUX_CFG} + echo "TIMEOUT 10" >> ${SYSLINUX_CFG} + echo "PROMPT 1" >> ${SYSLINUX_CFG} + echo "LABEL boot" >> ${SYSLINUX_CFG} + echo " KERNEL mboot.c32" >> ${SYSLINUX_CFG} + echo " APPEND /xen.gz ${SYSLINUX_XEN_ARGS} --- /vmlinuz${SYSLINUX_KERNEL_ARGS} --- /initrd" >> ${SYSLINUX_CFG}
}--
2.1.4--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Re: [PATCH 4/4] xen-image-minimal : change SYSLINUXCFG to SYSLINUX_CFG
Quoted 7 lines · Bruce Ashfield
Quoted 3 lines · On Tue, Aug 22, 2017 at 1:08 AM, <[email protected]> wrote:
From: Christopher Clark <[email protected]>
Fixes the build for xen-image-minimal.
What change triggered the need to update the variable ? It would be nice to log that in the commit message.
Agreed. I can respin the patch with an updated description.
Quoted 1 line
I did a quick grep and didn't find the root cause.
It looks like this is it:
git://git.yoctoproject.org/poky.git
commit bb1c719250cecc8725147cbdd999a9a44a11b549
Author: Robert Yang <[email protected]> Date: Wed Feb 24 01:23:58 2016 -0800
syslinux.bbclass: make vm and live can be built together
which touches: meta/classes/syslinux.bbclass
The above commit indicates that it is taken from openembedded-core:
git://git.openembedded.org/openembedded-core
commit e38c94d6bf83ed3ca7f046d9503e81b927487bf2
Christopher