All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/5] seabios: uprev to 1.9.0
@ 2015-12-22 19:02 Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning Chris Patterson
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Chris Patterson @ 2015-12-22 19:02 UTC (permalink / raw)
  To: meta-virtualization

SeaBIOS 1.7.5 fails to compile on newer gcc, so update it! :)

Also removing PR while I'm here.

Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 recipes-extended/seabios/seabios_1.7.5.bb |   45 -----------------------------
 recipes-extended/seabios/seabios_1.9.0.bb |   43 +++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 45 deletions(-)
 delete mode 100644 recipes-extended/seabios/seabios_1.7.5.bb
 create mode 100644 recipes-extended/seabios/seabios_1.9.0.bb

diff --git a/recipes-extended/seabios/seabios_1.7.5.bb b/recipes-extended/seabios/seabios_1.7.5.bb
deleted file mode 100644
index d57e250..0000000
--- a/recipes-extended/seabios/seabios_1.7.5.bb
+++ /dev/null
@@ -1,45 +0,0 @@
-DESCRIPTION = "SeaBIOS"
-HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
-LICENSE = "LGPLv3"
-SECTION = "firmware"
-
-SRC_URI = " \
-    http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
-    file://hostcc.patch \
-    file://defconfig \
-    "
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504         \
-                    file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6  \
-                    "
-
-SRC_URI[md5sum] = "3f1e17485ca327b245ae5938d9aa02d9"
-SRC_URI[sha256sum] = "858d9eda4ad91efa1c45a5a401d560ef9ca8dd172f03b0a106f06661c252dc51"
-
-PR = "r0"
-
-FILES_${PN} = "/usr/share/firmware"
-
-DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-native"
-
-TUNE_CCARGS = ""
-EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
-EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}"
-
-do_configure() {
-    install -m 0644 "${WORKDIR}/defconfig" .config
-    oe_runmake oldconfig
-}
-
-do_compile() {
-    unset CPP
-    unset CPPFLAGS
-    oe_runmake
-}
-
-do_install() {
-    oe_runmake
-    install -d ${D}/usr/share/firmware
-    install -m 0644 out/bios.bin ${D}/usr/share/firmware/
-}
-
diff --git a/recipes-extended/seabios/seabios_1.9.0.bb b/recipes-extended/seabios/seabios_1.9.0.bb
new file mode 100644
index 0000000..fcdc0c5
--- /dev/null
+++ b/recipes-extended/seabios/seabios_1.9.0.bb
@@ -0,0 +1,43 @@
+DESCRIPTION = "SeaBIOS"
+HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
+LICENSE = "LGPLv3"
+SECTION = "firmware"
+
+SRC_URI = " \
+    http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
+    file://hostcc.patch \
+    file://defconfig \
+    "
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504         \
+                    file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6  \
+                    "
+
+SRC_URI[md5sum] = "c3fea87e731e396bd4e7e2c478ba39d9"
+SRC_URI[sha256sum] = "88595545c6d580a7a6da1c40befc46dd74c0e4aaf808547867dd7ce8cc3b4d0e"
+
+FILES_${PN} = "/usr/share/firmware"
+
+DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-native"
+
+TUNE_CCARGS = ""
+EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
+EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}"
+
+do_configure() {
+    install -m 0644 "${WORKDIR}/defconfig" .config
+    oe_runmake oldconfig
+}
+
+do_compile() {
+    unset CPP
+    unset CPPFLAGS
+    oe_runmake
+}
+
+do_install() {
+    oe_runmake
+    install -d ${D}/usr/share/firmware
+    install -m 0644 out/bios.bin ${D}/usr/share/firmware/
+}
+
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning
  2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
@ 2015-12-22 19:02 ` Chris Patterson
  2015-12-26  3:54   ` Bruce Ashfield
  2015-12-22 19:02 ` [PATCH v2 3/5] xen: add support for files added with Xen 4.6 Chris Patterson
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 8+ messages in thread
From: Chris Patterson @ 2015-12-22 19:02 UTC (permalink / raw)
  To: meta-virtualization

It appears that it defaults to rdepend on xen, causing a QA error:
  WARNING: QA Issue: xen-dev rdepends on xen,
  but it isn't a build dependency? [build-deps]

Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 recipes-extended/xen/xen.inc |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index 00f1823..d1f5a1b 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -78,6 +78,8 @@ RDEPENDS_${PN}-base = "\
     ${PN}-xl \
     "
 
+RDEPENDS_${PN}-dev = ""
+
 RRECOMMENDS_${PN}-base = " \
     ${PN}-libblktap \
     ${PN}-flask \
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 3/5] xen: add support for files added with Xen 4.6
  2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning Chris Patterson
@ 2015-12-22 19:02 ` Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 4/5] xen: drop unnecessary variable modifications Chris Patterson
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Chris Patterson @ 2015-12-22 19:02 UTC (permalink / raw)
  To: meta-virtualization

From: Doug Goldstein <cardoe@cardoe.com>

Xen 4.6 dropped udev support and has instead switched to their own
'devd' daemon run by the xl command. There is a SysV init script
provided with it but no systemd service file.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 recipes-extended/xen/xen.inc |   12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index d1f5a1b..1ac033f 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -87,6 +87,10 @@ RRECOMMENDS_${PN}-base = " \
     ${PN}-xenpaging \
     "
 
+RDEPENDS_${PN}-devd = " \
+    ${PN}-xl \
+    "
+
 RDEPENDS_${PN}-fsimage = " \
     libext2fs \
     "
@@ -328,6 +332,10 @@ FILES_${PN}-console = "\
     ${sbindir}/xenconsoled \
     "
 
+FILES_${PN}-devd = "\
+    ${sysconfdir}/init.d/xendriverdomain \
+    "
+
 FILES_${PN}-flask = "\
     ${sbindir}/flask-get-bool \
     ${sbindir}/flask-getenforce \
@@ -648,7 +656,7 @@ FILES_${PN}-xendomains += "\
     "
 
 # configure init.d scripts
-INITSCRIPT_PACKAGES = "${PN}-xend ${PN}-xencommons ${PN}-xen-watchdog ${PN}-xendomains"
+INITSCRIPT_PACKAGES = "${PN}-xend ${PN}-xencommons ${PN}-xen-watchdog ${PN}-xendomains ${PN}-devd"
 INITSCRIPT_NAME_${PN}-xencommons = "xencommons"
 INITSCRIPT_PARAMS_${PN}-xencommons = "defaults 80"
 INITSCRIPT_NAME_${PN}-xen-watchdog = "xen-watchdog"
@@ -657,6 +665,8 @@ INITSCRIPT_NAME_${PN}-xend = "xend"
 INITSCRIPT_PARAMS_${PN}-xend = "defaults 82"
 INITSCRIPT_NAME_${PN}-xendomains = "xendomains"
 INITSCRIPT_PARAMS_${PN}-xendomains = "defaults 83"
+INITSCRIPT_NAME_${PN}-devd = "xendriverdomain"
+INITSCRIPT_PARAMS_${PN}-devd = "defaults 82"
 
 # systemd packages
 SYSTEMD_PACKAGES = "${PN}-xen-watchdog ${PN}-xencommons ${PN}-xendomains"
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 4/5] xen: drop unnecessary variable modifications
  2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 3/5] xen: add support for files added with Xen 4.6 Chris Patterson
@ 2015-12-22 19:02 ` Chris Patterson
  2015-12-22 19:02 ` [PATCH v2 5/5] xen: uprev to 4.6.0 Chris Patterson
  2015-12-22 23:08 ` [PATCH v2 1/5] seabios: uprev to 1.9.0 Doug Goldstein
  4 siblings, 0 replies; 8+ messages in thread
From: Chris Patterson @ 2015-12-22 19:02 UTC (permalink / raw)
  To: meta-virtualization

From: Doug Goldstein <cardoe@cardoe.com>

These variable modifications are necessary so that Yocto can supply
--sysroot. The other variables are unmodified so there's no reason to
modify them.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 recipes-extended/xen/xen_4.5.0.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen_4.5.0.bb b/recipes-extended/xen/xen_4.5.0.bb
index 6c17b90..7f791cc 100644
--- a/recipes-extended/xen/xen_4.5.0.bb
+++ b/recipes-extended/xen/xen_4.5.0.bb
@@ -29,7 +29,7 @@ EXTRA_OEMAKE += "ETHERBOOT_ROMS=${STAGING_DIR_HOST}/usr/share/firmware/rtl8139.r
 
 do_configure_prepend() {
     # fixup AS/CC/CCP/etc variable within StdGNU.mk
-    for i in AS LD CC CPP AR RANLIB NM STRIP OBJCOPY OBJDUMP; do
+    for i in LD CC CPP CXX; do
         sed -i "s/^\($i\s\s*\).*=/\1?=/" ${S}/config/StdGNU.mk
     done
     # fixup environment passing in some makefiles
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 5/5] xen: uprev to 4.6.0
  2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
                   ` (2 preceding siblings ...)
  2015-12-22 19:02 ` [PATCH v2 4/5] xen: drop unnecessary variable modifications Chris Patterson
@ 2015-12-22 19:02 ` Chris Patterson
  2015-12-22 23:08 ` [PATCH v2 1/5] seabios: uprev to 1.9.0 Doug Goldstein
  4 siblings, 0 replies; 8+ messages in thread
From: Chris Patterson @ 2015-12-22 19:02 UTC (permalink / raw)
  To: meta-virtualization

- Update LICENSE checksum.
- Drop udev package that has been removed
  (replaced with xl devd / xendriverdomain)

Signed-off-by: Chris Patterson <cjp256@gmail.com>
---
 recipes-extended/xen/xen.inc      |   13 +---------
 recipes-extended/xen/xen_4.5.0.bb |   50 -------------------------------------
 recipes-extended/xen/xen_4.6.0.bb |   50 +++++++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+), 62 deletions(-)
 delete mode 100644 recipes-extended/xen/xen_4.5.0.bb
 create mode 100644 recipes-extended/xen/xen_4.6.0.bb

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index 1ac033f..74a67de 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://xen.org"
 LICENSE = "GPLv2"
 SECTION = "console/tools"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=e0f0f3ac55608719a82394cc353928df"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6260c12cd5de27e80d89ae18e48d20a"
 
 COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux'
 
@@ -69,7 +69,6 @@ RDEPENDS_${PN}-base = "\
     ${PN}-fsimage \
     ${PN}-scripts-block \
     ${PN}-scripts-network \
-    ${PN}-udev \
     ${PN}-xen-watchdog \
     ${PN}-xencommons \
     ${PN}-xendomains \
@@ -105,7 +104,6 @@ RDEPENDS_${PN}-remus = "python"
 RDEPENDS_${PN}-scripts-block = "\
     bash \
     ${PN}-scripts-common \
-    ${PN}-udev \
     ${PN}-volatiles \
     "
 
@@ -115,12 +113,9 @@ RDEPENDS_${PN}-scripts-network = "\
     bash \
     bridge-utils \
     ${PN}-scripts-common \
-    ${PN}-udev \
     ${PN}-volatiles \
     "
 
-RDEPENDS_${PN}-udev = "udev"
-
 RDEPENDS_${PN}-xencommons = "\
     bash \
     ${PN}-console \
@@ -188,7 +183,6 @@ PACKAGES = "\
     ${PN}-scripts-common \
     ${PN}-scripts-network \
     ${PN}-staticdev \
-    ${PN}-udev \
     ${PN}-volatiles \
     ${PN}-xcutils \
     ${PN}-xencommons \
@@ -522,11 +516,6 @@ FILES_${PN}-scripts-common = " \
     ${sysconfdir}/xen/scripts/xen-script-common.sh \
     "
 
-FILES_${PN}-udev = "\
-    ${sysconfdir}/udev/rules.d/xen-backend.rules \
-    ${sysconfdir}/udev/rules.d/xend.rules \
-    "
-
 FILES_${PN}-volatiles = "\
     ${sysconfdir}/default/volatiles/99_xen \
     ${sysconfdir}/tmpfiles.d/xen.conf \
diff --git a/recipes-extended/xen/xen_4.5.0.bb b/recipes-extended/xen/xen_4.5.0.bb
deleted file mode 100644
index 7f791cc..0000000
--- a/recipes-extended/xen/xen_4.5.0.bb
+++ /dev/null
@@ -1,50 +0,0 @@
-require xen.inc
-
-SRC_URI = " \
-    http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
-    file://xen-x86-Fix-up-rules-when-forcing-mno-sse.patch \
-    "
-
-SRC_URI[md5sum] = "9bac43d2419d05a647064d9253bb03fa"
-SRC_URI[sha256sum] = "5bdb40e2b28d2eeb541bd71a9777f40cbe2ae444b987521d33f099541a006f3b"
-
-S = "${WORKDIR}/xen-${PV}"
-
-# Xen suffixes the libexecdir within its configure scripts, prevent the nested xen/xen/
-libexecdir = "${libdir}"
-
-# These options override detected values from the build.
-EXTRA_OECONF_append += " \
-    --with-initddir=${INIT_D_DIR} \
-    --with-sysconfig-leaf-dir=default \
-    --with-system-qemu=/usr/bin/qemu-system-i386 \
-    --disable-qemu-traditional \
-    "
-
-EXTRA_OEMAKE += "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin"
-EXTRA_OEMAKE += "CIRRUSVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.cirrus.bin"
-EXTRA_OEMAKE += "SEABIOS_ROM=${STAGING_DIR_HOST}/usr/share/firmware/bios.bin"
-EXTRA_OEMAKE += "ETHERBOOT_ROMS=${STAGING_DIR_HOST}/usr/share/firmware/rtl8139.rom"
-#EXTRA_OEMAKE += "XENGFX_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios.bin"
-
-do_configure_prepend() {
-    # fixup AS/CC/CCP/etc variable within StdGNU.mk
-    for i in LD CC CPP CXX; do
-        sed -i "s/^\($i\s\s*\).*=/\1?=/" ${S}/config/StdGNU.mk
-    done
-    # fixup environment passing in some makefiles
-    sed -i 's#\(\w*\)=\(\$.\w*.\)#\1="\2"#' ${S}/tools/firmware/Makefile
-
-    # libsystemd-daemon -> libsystemd for newer systemd versions
-    sed -i 's#libsystemd-daemon#libsystemd#' ${S}/tools/configure
-}
-
-do_install_append() {
-    # fixup default path to qemu-system-i386
-    sed -i 's#\(test -z "$QEMU_XEN" && QEMU_XEN=\).*$#\1"/usr/bin/qemu-system-i386"#' ${D}/etc/init.d/xencommons
-
-    if [ -e ${D}${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service ]; then
-        sed -i 's#ExecStart=.*qemu-system-i386\(.*\)$#ExecStart=/usr/bin/qemu-system-i386\1#' \
-            ${D}${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service
-    fi
-}
diff --git a/recipes-extended/xen/xen_4.6.0.bb b/recipes-extended/xen/xen_4.6.0.bb
new file mode 100644
index 0000000..92975a0
--- /dev/null
+++ b/recipes-extended/xen/xen_4.6.0.bb
@@ -0,0 +1,50 @@
+require xen.inc
+
+SRC_URI = " \
+    http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz \
+    file://xen-x86-Fix-up-rules-when-forcing-mno-sse.patch \
+    "
+
+SRC_URI[md5sum] = "48e232f90927c08326a7b52bb06f49bc"
+SRC_URI[sha256sum] = "6fa1c2431df55aa5950d248e6093b8c8c0f11c357a0adbd348a2186478e80909"
+
+S = "${WORKDIR}/xen-${PV}"
+
+# Xen suffixes the libexecdir within its configure scripts, prevent the nested xen/xen/
+libexecdir = "${libdir}"
+
+# These options override detected values from the build.
+EXTRA_OECONF_append += " \
+    --with-initddir=${INIT_D_DIR} \
+    --with-sysconfig-leaf-dir=default \
+    --with-system-qemu=/usr/bin/qemu-system-i386 \
+    --disable-qemu-traditional \
+    "
+
+EXTRA_OEMAKE += "STDVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.bin"
+EXTRA_OEMAKE += "CIRRUSVGA_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios-0.7a.cirrus.bin"
+EXTRA_OEMAKE += "SEABIOS_ROM=${STAGING_DIR_HOST}/usr/share/firmware/bios.bin"
+EXTRA_OEMAKE += "ETHERBOOT_ROMS=${STAGING_DIR_HOST}/usr/share/firmware/rtl8139.rom"
+#EXTRA_OEMAKE += "XENGFX_ROM=${STAGING_DIR_HOST}/usr/share/firmware/vgabios.bin"
+
+do_configure_prepend() {
+    # fixup AS/CC/CCP/etc variable within StdGNU.mk
+    for i in LD CC CPP CXX; do
+        sed -i "s/^\($i\s\s*\).*=/\1?=/" ${S}/config/StdGNU.mk
+    done
+    # fixup environment passing in some makefiles
+    sed -i 's#\(\w*\)=\(\$.\w*.\)#\1="\2"#' ${S}/tools/firmware/Makefile
+
+    # libsystemd-daemon -> libsystemd for newer systemd versions
+    sed -i 's#libsystemd-daemon#libsystemd#' ${S}/tools/configure
+}
+
+do_install_append() {
+    # fixup default path to qemu-system-i386
+    sed -i 's#\(test -z "$QEMU_XEN" && QEMU_XEN=\).*$#\1"/usr/bin/qemu-system-i386"#' ${D}/etc/init.d/xencommons
+
+    if [ -e ${D}${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service ]; then
+        sed -i 's#ExecStart=.*qemu-system-i386\(.*\)$#ExecStart=/usr/bin/qemu-system-i386\1#' \
+            ${D}${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service
+    fi
+}
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/5] seabios: uprev to 1.9.0
  2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
                   ` (3 preceding siblings ...)
  2015-12-22 19:02 ` [PATCH v2 5/5] xen: uprev to 4.6.0 Chris Patterson
@ 2015-12-22 23:08 ` Doug Goldstein
  2016-01-01 15:41   ` Chris Patterson
  4 siblings, 1 reply; 8+ messages in thread
From: Doug Goldstein @ 2015-12-22 23:08 UTC (permalink / raw)
  To: Chris Patterson, meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 3784 bytes --]

On 12/22/15 1:02 PM, Chris Patterson wrote:
> SeaBIOS 1.7.5 fails to compile on newer gcc, so update it! :)
> 
> Also removing PR while I'm here.
> 
> Signed-off-by: Chris Patterson <cjp256@gmail.com>
> ---
>  recipes-extended/seabios/seabios_1.7.5.bb |   45 -----------------------------
>  recipes-extended/seabios/seabios_1.9.0.bb |   43 +++++++++++++++++++++++++++
>  2 files changed, 43 insertions(+), 45 deletions(-)
>  delete mode 100644 recipes-extended/seabios/seabios_1.7.5.bb
>  create mode 100644 recipes-extended/seabios/seabios_1.9.0.bb
> 
> diff --git a/recipes-extended/seabios/seabios_1.7.5.bb b/recipes-extended/seabios/seabios_1.7.5.bb
> deleted file mode 100644
> index d57e250..0000000
> --- a/recipes-extended/seabios/seabios_1.7.5.bb
> +++ /dev/null
> @@ -1,45 +0,0 @@
> -DESCRIPTION = "SeaBIOS"
> -HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
> -LICENSE = "LGPLv3"
> -SECTION = "firmware"
> -
> -SRC_URI = " \
> -    http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
> -    file://hostcc.patch \
> -    file://defconfig \
> -    "
> -
> -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504         \
> -                    file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6  \
> -                    "
> -
> -SRC_URI[md5sum] = "3f1e17485ca327b245ae5938d9aa02d9"
> -SRC_URI[sha256sum] = "858d9eda4ad91efa1c45a5a401d560ef9ca8dd172f03b0a106f06661c252dc51"
> -
> -PR = "r0"
> -
> -FILES_${PN} = "/usr/share/firmware"
> -
> -DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-native"
> -
> -TUNE_CCARGS = ""
> -EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
> -EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}"
> -
> -do_configure() {
> -    install -m 0644 "${WORKDIR}/defconfig" .config
> -    oe_runmake oldconfig
> -}
> -
> -do_compile() {
> -    unset CPP
> -    unset CPPFLAGS
> -    oe_runmake
> -}
> -
> -do_install() {
> -    oe_runmake
> -    install -d ${D}/usr/share/firmware
> -    install -m 0644 out/bios.bin ${D}/usr/share/firmware/
> -}
> -
> diff --git a/recipes-extended/seabios/seabios_1.9.0.bb b/recipes-extended/seabios/seabios_1.9.0.bb
> new file mode 100644
> index 0000000..fcdc0c5
> --- /dev/null
> +++ b/recipes-extended/seabios/seabios_1.9.0.bb
> @@ -0,0 +1,43 @@
> +DESCRIPTION = "SeaBIOS"
> +HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
> +LICENSE = "LGPLv3"
> +SECTION = "firmware"
> +
> +SRC_URI = " \
> +    http://code.coreboot.org/p/seabios/downloads/get/${PN}-${PV}.tar.gz \
> +    file://hostcc.patch \
> +    file://defconfig \
> +    "
> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504         \
> +                    file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6  \
> +                    "
> +
> +SRC_URI[md5sum] = "c3fea87e731e396bd4e7e2c478ba39d9"
> +SRC_URI[sha256sum] = "88595545c6d580a7a6da1c40befc46dd74c0e4aaf808547867dd7ce8cc3b4d0e"
> +
> +FILES_${PN} = "/usr/share/firmware"
> +
> +DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native iasl-native python-native"
> +
> +TUNE_CCARGS = ""
> +EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
> +EXTRA_OEMAKE += "CROSS_PREFIX=${TARGET_PREFIX}"
> +
> +do_configure() {
> +    install -m 0644 "${WORKDIR}/defconfig" .config
> +    oe_runmake oldconfig
> +}
> +
> +do_compile() {
> +    unset CPP
> +    unset CPPFLAGS
> +    oe_runmake
> +}
> +
> +do_install() {
> +    oe_runmake
> +    install -d ${D}/usr/share/firmware
> +    install -m 0644 out/bios.bin ${D}/usr/share/firmware/
> +}
> +
> 

Only question would be did something need to change in defconfig with
1.9.0 for Xen?

-- 
Doug Goldstein


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 978 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning
  2015-12-22 19:02 ` [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning Chris Patterson
@ 2015-12-26  3:54   ` Bruce Ashfield
  0 siblings, 0 replies; 8+ messages in thread
From: Bruce Ashfield @ 2015-12-26  3:54 UTC (permalink / raw)
  To: Chris Patterson; +Cc: meta-virtualization

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

I've merged the entire v2 series.

Bruce

On Tue, Dec 22, 2015 at 2:02 PM, Chris Patterson <cjp256@gmail.com> wrote:

> It appears that it defaults to rdepend on xen, causing a QA error:
>   WARNING: QA Issue: xen-dev rdepends on xen,
>   but it isn't a build dependency? [build-deps]
>
> Signed-off-by: Chris Patterson <cjp256@gmail.com>
> ---
>  recipes-extended/xen/xen.inc |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index 00f1823..d1f5a1b 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -78,6 +78,8 @@ RDEPENDS_${PN}-base = "\
>      ${PN}-xl \
>      "
>
> +RDEPENDS_${PN}-dev = ""
> +
>  RRECOMMENDS_${PN}-base = " \
>      ${PN}-libblktap \
>      ${PN}-flask \
> --
> 1.7.10.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"

[-- Attachment #2: Type: text/html, Size: 1894 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH v2 1/5] seabios: uprev to 1.9.0
  2015-12-22 23:08 ` [PATCH v2 1/5] seabios: uprev to 1.9.0 Doug Goldstein
@ 2016-01-01 15:41   ` Chris Patterson
  0 siblings, 0 replies; 8+ messages in thread
From: Chris Patterson @ 2016-01-01 15:41 UTC (permalink / raw)
  To: Doug Goldstein; +Cc: meta-virtualization

>
> Only question would be did something need to change in defconfig with
> 1.9.0 for Xen?

Sorry about the delay, I have been away on vacation.  :)

Yes, there should be some defconfig changes.  I will submit a patch
shortly to remove the included defconfig and instead build using 'make
defconfig' (it's the approach upstream Xen has used since 4.5, so it
appears to be the ideal route).

Thanks!


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-01-01 15:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-22 19:02 [PATCH v2 1/5] seabios: uprev to 1.9.0 Chris Patterson
2015-12-22 19:02 ` [PATCH v2 2/5] xen: empty out rdepends for xen-dev to lose QA warning Chris Patterson
2015-12-26  3:54   ` Bruce Ashfield
2015-12-22 19:02 ` [PATCH v2 3/5] xen: add support for files added with Xen 4.6 Chris Patterson
2015-12-22 19:02 ` [PATCH v2 4/5] xen: drop unnecessary variable modifications Chris Patterson
2015-12-22 19:02 ` [PATCH v2 5/5] xen: uprev to 4.6.0 Chris Patterson
2015-12-22 23:08 ` [PATCH v2 1/5] seabios: uprev to 1.9.0 Doug Goldstein
2016-01-01 15:41   ` Chris Patterson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.