All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christopher Clark" <christopher.w.clark@gmail.com>
To: meta-virtualization@yoctoproject.org
Cc: bruce.ashfield@gmail.com, cardoe@gentoo.org
Subject: [meta-virtualization][PATCH v3 01/22] seabios: upgrade to version 1.13.0 at official URI and switch to python3
Date: Tue, 25 Feb 2020 16:15:45 -0800	[thread overview]
Message-ID: <20200226001606.14750-2-christopher.w.clark@gmail.com> (raw)
In-Reply-To: <20200226001606.14750-1-christopher.w.clark@gmail.com>

From: Christopher Clark <christopher.w.clark@gmail.com>

Use native python3 for the build as python2 no longer available.
Official seabios release SRC_URI fixes QA warning about using GitHub archives.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
---
 recipes-extended/seabios/seabios/python3.patch      | 13 +++++++++++++
 .../{seabios_1.11.2.bb => seabios_1.13.0.bb}        | 13 ++++++++-----
 2 files changed, 21 insertions(+), 5 deletions(-)
 create mode 100644 recipes-extended/seabios/seabios/python3.patch
 rename recipes-extended/seabios/{seabios_1.11.2.bb => seabios_1.13.0.bb} (67%)

diff --git a/recipes-extended/seabios/seabios/python3.patch b/recipes-extended/seabios/seabios/python3.patch
new file mode 100644
index 0000000..a2786fd
--- /dev/null
+++ b/recipes-extended/seabios/seabios/python3.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 516cb38..7f6acaa 100644
+--- a/Makefile
++++ b/Makefile
+@@ -22,7 +22,7 @@ LD=$(CROSS_PREFIX)ld
+ OBJCOPY=$(CROSS_PREFIX)objcopy
+ OBJDUMP=$(CROSS_PREFIX)objdump
+ STRIP=$(CROSS_PREFIX)strip
+-PYTHON=python
++PYTHON=python3
+ CPP=$(CROSS_PREFIX)cpp
+ IASL:=iasl
+ LD32BIT_FLAG:=-melf_i386
diff --git a/recipes-extended/seabios/seabios_1.11.2.bb b/recipes-extended/seabios/seabios_1.13.0.bb
similarity index 67%
rename from recipes-extended/seabios/seabios_1.11.2.bb
rename to recipes-extended/seabios/seabios_1.13.0.bb
index 81eaec9..4cf4420 100644
--- a/recipes-extended/seabios/seabios_1.11.2.bb
+++ b/recipes-extended/seabios/seabios_1.13.0.bb
@@ -3,22 +3,25 @@ HOMEPAGE = "http://www.coreboot.org/SeaBIOS"
 LICENSE = "LGPLv3"
 SECTION = "firmware"
 
+inherit python3native
+
 SRC_URI = " \
-    https://github.com/qemu/seabios/archive/rel-${PV}.tar.gz \
+    https://www.seabios.org/downloads/seabios-${PV}.tar.gz \
     file://hostcc.patch \
+    file://python3.patch \
     "
-S = "${WORKDIR}/${PN}-rel-${PV}"
+S = "${WORKDIR}/${PN}-${PV}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504         \
                     file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6  \
                     "
 
-SRC_URI[md5sum] = "3f78065837dbd8873513a1b7d5276e78"
-SRC_URI[sha256sum] = "73e73c8e406d97265782f6c942b3c1d178ed4f4afc9f381b22336c3968291693"
+SRC_URI[md5sum] = "1dc1725bac1d230bfd6b3204eed4f2f7"
+SRC_URI[sha256sum] = "37673dc2d6308591b15bdb94e5bcc3e99bdb40198d2247733c43f50b55dbe703"
 
 FILES_${PN} = "/usr/share/firmware"
 
-DEPENDS = "util-linux-native file-native bison-native flex-native gettext-native acpica-native python-native"
+DEPENDS += "util-linux-native file-native bison-native flex-native gettext-native acpica-native"
 
 TUNE_CCARGS = ""
 EXTRA_OEMAKE += "HOSTCC='${BUILD_CC}'"
-- 
2.17.1


  reply	other threads:[~2020-02-26  0:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-26  0:15 [meta-virtualization][PATCH v3 00/22] Xen: python3, wic, 4.12.2, tools separation Christopher Clark
2020-02-26  0:15 ` Christopher Clark [this message]
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 02/22] ipxe: fix build with uprev to the latest git revision Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 03/22] linux-yocto/xen.cfg: update Xen KConfig fragment entries Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 04/22] xen: pass compiler flags via Xen-provided variables Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 05/22] xen: upgrade to 4.12.2 Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 06/22] wic: add support for bootable pcbios partition with Xen hypervisor Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 07/22] xen: package the EFI hypervisor binary /boot/xen.efi Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 08/22] xen: add RDEPENDS for xen-pygrub and xen-python packages Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 09/22] xen: retire Qemu packaging from the Xen recipe Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 10/22] xen: separate recipes for hypervisor and tools; switch to git as source Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 11/22] xen-tools: move xentrace_setmask into the xentrace package Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 12/22] xen: add seabios to RRECOMMENDS of xen-tools when HVM-enabled Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 13/22] xen-image-minimal: add kernel-module-tun for HVM guest networking Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 14/22] xen-tools: change globbing to fix syntax highlighting Christopher Clark
2020-02-26  0:15 ` [meta-virtualization][PATCH v3 15/22] xen, xen-tools: update recipes for python3 Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 16/22] xen, xen-tools: separate COMPATIBLE_HOST for hypervisor and tools Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 17/22] xen, xen-tools: remove stubs task and use multilib when necessary Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 18/22] xen, xen-tools: bug fix to post_patch task Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 19/22] xen: add contact to recipe README file Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 20/22] xen-image-minimal: add a build dependency on the xen hypervisor Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 21/22] xen: add menuconfig instructions to the README Christopher Clark
2020-02-26  0:16 ` [meta-virtualization][PATCH v3 22/22] xen, xen-tools: updates to the deploy task Christopher Clark
2020-02-27 21:59 ` [meta-virtualization][PATCH v3 00/22] Xen: python3, wic, 4.12.2, tools separation Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200226001606.14750-2-christopher.w.clark@gmail.com \
    --to=christopher.w.clark@gmail.com \
    --cc=bruce.ashfield@gmail.com \
    --cc=cardoe@gentoo.org \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.