[arch-commits] Commit in seabios/repos (15 files)

Anatol Pomozov anatolik at gemini.archlinux.org
Mon Dec 6 18:54:18 UTC 2021


    Date: Monday, December 6, 2021 @ 18:54:17
  Author: anatolik
Revision: 430749

archrelease: copy trunk to testing-any

Added:
  seabios/repos/testing-any/
  seabios/repos/testing-any/PKGBUILD
    (from rev 430748, seabios/trunk/PKGBUILD)
  seabios/repos/testing-any/config.coreboot
    (from rev 430748, seabios/trunk/config.coreboot)
  seabios/repos/testing-any/config.csm
    (from rev 430748, seabios/trunk/config.csm)
  seabios/repos/testing-any/config.seabios-128k
    (from rev 430748, seabios/trunk/config.seabios-128k)
  seabios/repos/testing-any/config.seabios-256k
    (from rev 430748, seabios/trunk/config.seabios-256k)
  seabios/repos/testing-any/config.vga.bochs-display
    (from rev 430748, seabios/trunk/config.vga.bochs-display)
  seabios/repos/testing-any/config.vga.cirrus
    (from rev 430748, seabios/trunk/config.vga.cirrus)
  seabios/repos/testing-any/config.vga.isavga
    (from rev 430748, seabios/trunk/config.vga.isavga)
  seabios/repos/testing-any/config.vga.qxl
    (from rev 430748, seabios/trunk/config.vga.qxl)
  seabios/repos/testing-any/config.vga.ramfb
    (from rev 430748, seabios/trunk/config.vga.ramfb)
  seabios/repos/testing-any/config.vga.stdvga
    (from rev 430748, seabios/trunk/config.vga.stdvga)
  seabios/repos/testing-any/config.vga.virtio
    (from rev 430748, seabios/trunk/config.vga.virtio)
  seabios/repos/testing-any/config.vga.vmware
    (from rev 430748, seabios/trunk/config.vga.vmware)
  seabios/repos/testing-any/reproducible-version.patch
    (from rev 430748, seabios/trunk/reproducible-version.patch)

----------------------------+
 PKGBUILD                   |   81 +++++++++++++++++++++++++++++++++++++++++++
 config.coreboot            |    2 +
 config.csm                 |    2 +
 config.seabios-128k        |   14 +++++++
 config.seabios-256k        |    3 +
 config.vga.bochs-display   |    3 +
 config.vga.cirrus          |    3 +
 config.vga.isavga          |    3 +
 config.vga.qxl             |    6 +++
 config.vga.ramfb           |    3 +
 config.vga.stdvga          |    3 +
 config.vga.virtio          |    6 +++
 config.vga.vmware          |    6 +++
 reproducible-version.patch |   15 +++++++
 14 files changed, 150 insertions(+)

Copied: seabios/repos/testing-any/PKGBUILD (from rev 430748, seabios/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,81 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+
+pkgname=seabios
+pkgver=1.15.0
+pkgrel=1
+pkgdesc="A 16-bit x86 bios"
+arch=('any')
+url="https://www.coreboot.org/SeaBIOS"
+license=('GPL3' 'LGPL3')
+makedepends=('iasl' 'python' 'inetutils')
+options=('!makeflags' '!strip')
+_tag=rel-$pkgver
+source=(seabios-$pkgver.zip::https://github.com/coreboot/seabios/archive/$_tag.zip
+        config.coreboot
+        config.seabios-128k
+        config.seabios-256k
+        config.vga.isavga
+        config.vga.stdvga
+        config.csm
+        config.vga.cirrus
+        config.vga.qxl
+        config.vga.vmware
+        config.vga.bochs-display
+        config.vga.ramfb
+        config.vga.virtio
+        reproducible-version.patch)
+sha1sums=('ee850120fcc4a617c838f63b036a93d603c7531b'
+          '5f2adb09c9006def1719b8cbd4792f14a7c7f7c9'
+          '7a4ec70237476c7cdd78589b069d0d39dfeaa8eb'
+          '05b912a291994226049103cbe6754976cc03532d'
+          'd56482f6ee0bf9633c551b10e99e24c74d9ece1e'
+          '54d4edf6eccf30883aedca348b9d2f125502fcdb'
+          '590739c1d5dc6cb63bdf311ee1cfbcde6c0ccc0f'
+          '84a44c04e74a09affae0d1a6e50800d10997108f'
+          '5a1316a0081f91acc300f57372de18fa9c67415e'
+          '5b017b16aec445df873618aaebd154aa97107148'
+          'c7c730ade7a63e1efc7de81c7536632e0617e808'
+          'c2f4a7708befd6a0763dd4a5a4f8b5168db30340'
+          'a2b3d09f944e3d6857ceee272b733075a7edc52e'
+          '352aa180d17642d1230391e5a1a26389a9629c47')
+
+# build routine from fedora
+build_bios() {
+  make clean distclean
+  cp $1 .config
+  make oldnoconfig V=1
+
+  make V=1 $4
+
+  cp out/$2 binaries/$3
+}
+
+prepare() {
+  cd seabios-$_tag
+
+  patch -p1 < ../reproducible-version.patch # FS#67178
+
+  rm -rf binaries
+  mkdir binaries
+
+  echo "ArchLinux ${pkgver}-${pkgrel}" > .version
+}
+
+build() {
+  cd seabios-$_tag
+  # seabios
+  build_bios "${srcdir}"/config.csm Csm16.bin bios-csm.bin
+  build_bios "${srcdir}"/config.coreboot bios.bin.elf bios-coreboot.bin
+  build_bios "${srcdir}"/config.seabios-128k bios.bin bios.bin
+  build_bios "${srcdir}"/config.seabios-256k bios.bin bios-256k.bin
+  # seavgabios
+  for config in "${srcdir}"/{config.vga.isavga,config.vga.stdvga,config.vga.cirrus,config.vga.qxl,config.vga.vmware,config.vga.ramfb,config.vga.virtio,config.vga.bochs-display}; do
+    name=${config#*config.vga.}
+    build_bios ${config} vgabios.bin vgabios-${name}.bin out/vgabios.bin
+  done
+}
+
+package() {
+  cd seabios-$_tag
+  install -Dm644 -t "${pkgdir}/usr/share/qemu" binaries/*.bin
+}

Copied: seabios/repos/testing-any/config.coreboot (from rev 430748, seabios/trunk/config.coreboot)
===================================================================
--- testing-any/config.coreboot	                        (rev 0)
+++ testing-any/config.coreboot	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,2 @@
+CONFIG_QEMU_HARDWARE=y
+CONFIG_COREBOOT=y

Copied: seabios/repos/testing-any/config.csm (from rev 430748, seabios/trunk/config.csm)
===================================================================
--- testing-any/config.csm	                        (rev 0)
+++ testing-any/config.csm	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,2 @@
+CONFIG_QEMU_HARDWARE=y
+CONFIG_CSM=y

Copied: seabios/repos/testing-any/config.seabios-128k (from rev 430748, seabios/trunk/config.seabios-128k)
===================================================================
--- testing-any/config.seabios-128k	                        (rev 0)
+++ testing-any/config.seabios-128k	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,14 @@
+# for qemu machine types 1.7 + older
+# need to turn off features (bootsplash) to make it fit into 128k
+CONFIG_QEMU=y
+CONFIG_ROM_SIZE=128
+CONFIG_BOOTSPLASH=n
+CONFIG_XEN=n
+CONFIG_USB_OHCI=n
+CONFIG_USB_XHCI=n
+CONFIG_USB_UAS=n
+CONFIG_SDCARD=n
+CONFIG_TCGBIOS=n
+CONFIG_MPT_SCSI=n
+CONFIG_DEBUG_LEVEL=0
+CONFIG_DEBUG_IO=n

Copied: seabios/repos/testing-any/config.seabios-256k (from rev 430748, seabios/trunk/config.seabios-256k)
===================================================================
--- testing-any/config.seabios-256k	                        (rev 0)
+++ testing-any/config.seabios-256k	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+# for qemu machine types 2.0 + newer
+CONFIG_QEMU=y
+CONFIG_ROM_SIZE=256

Copied: seabios/repos/testing-any/config.vga.bochs-display (from rev 430748, seabios/trunk/config.vga.bochs-display)
===================================================================
--- testing-any/config.vga.bochs-display	                        (rev 0)
+++ testing-any/config.vga.bochs-display	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_DISPLAY_BOCHS=y
+CONFIG_VGA_PCI=y

Copied: seabios/repos/testing-any/config.vga.cirrus (from rev 430748, seabios/trunk/config.vga.cirrus)
===================================================================
--- testing-any/config.vga.cirrus	                        (rev 0)
+++ testing-any/config.vga.cirrus	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_CIRRUS=y
+CONFIG_VGA_PCI=y

Copied: seabios/repos/testing-any/config.vga.isavga (from rev 430748, seabios/trunk/config.vga.isavga)
===================================================================
--- testing-any/config.vga.isavga	                        (rev 0)
+++ testing-any/config.vga.isavga	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_BOCHS=y
+CONFIG_VGA_PCI=n

Copied: seabios/repos/testing-any/config.vga.qxl (from rev 430748, seabios/trunk/config.vga.qxl)
===================================================================
--- testing-any/config.vga.qxl	                        (rev 0)
+++ testing-any/config.vga.qxl	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,6 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_BOCHS=y
+CONFIG_VGA_PCI=y
+CONFIG_OVERRIDE_PCI_ID=y
+CONFIG_VGA_VID=0x1b36
+CONFIG_VGA_DID=0x0100

Copied: seabios/repos/testing-any/config.vga.ramfb (from rev 430748, seabios/trunk/config.vga.ramfb)
===================================================================
--- testing-any/config.vga.ramfb	                        (rev 0)
+++ testing-any/config.vga.ramfb	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_RAMFB=y
+CONFIG_VGA_PCI=n

Copied: seabios/repos/testing-any/config.vga.stdvga (from rev 430748, seabios/trunk/config.vga.stdvga)
===================================================================
--- testing-any/config.vga.stdvga	                        (rev 0)
+++ testing-any/config.vga.stdvga	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,3 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_BOCHS=y
+CONFIG_VGA_PCI=y

Copied: seabios/repos/testing-any/config.vga.virtio (from rev 430748, seabios/trunk/config.vga.virtio)
===================================================================
--- testing-any/config.vga.virtio	                        (rev 0)
+++ testing-any/config.vga.virtio	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,6 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_BOCHS=y
+CONFIG_VGA_PCI=y
+CONFIG_OVERRIDE_PCI_ID=y
+CONFIG_VGA_VID=0x1af4
+CONFIG_VGA_DID=0x1050

Copied: seabios/repos/testing-any/config.vga.vmware (from rev 430748, seabios/trunk/config.vga.vmware)
===================================================================
--- testing-any/config.vga.vmware	                        (rev 0)
+++ testing-any/config.vga.vmware	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,6 @@
+CONFIG_BUILD_VGABIOS=y
+CONFIG_VGA_BOCHS=y
+CONFIG_VGA_PCI=y
+CONFIG_OVERRIDE_PCI_ID=y
+CONFIG_VGA_VID=0x15ad
+CONFIG_VGA_DID=0x0405

Copied: seabios/repos/testing-any/reproducible-version.patch (from rev 430748, seabios/trunk/reproducible-version.patch)
===================================================================
--- testing-any/reproducible-version.patch	                        (rev 0)
+++ testing-any/reproducible-version.patch	2021-12-06 18:54:17 UTC (rev 430749)
@@ -0,0 +1,15 @@
+diff --git a/scripts/buildversion.py b/scripts/buildversion.py
+index 8875497..a0eb646 100755
+--- a/scripts/buildversion.py
++++ b/scripts/buildversion.py
+@@ -124,10 +124,6 @@ def main():
+         cleanbuild = cleanbuild and ver and options.extra != ""
+         if not ver:
+             ver = "?"
+-    if not cleanbuild:
+-        btime = time.strftime("%Y%m%d_%H%M%S")
+-        hostname = socket.gethostname()
+-        ver = "%s-%s-%s" % (ver, btime, hostname)
+     write_version(outfile, ver + options.extra, toolstr)
+ 
+ if __name__ == '__main__':



More information about the arch-commits mailing list