Date: Friday, April 22, 2016 @ 22:28:40 Author: anatolik Revision: 265854
archrelease: copy trunk to testing-any Added: seabios/repos/testing-any/ seabios/repos/testing-any/PKGBUILD (from rev 265853, seabios/trunk/PKGBUILD) seabios/repos/testing-any/config.coreboot (from rev 265853, seabios/trunk/config.coreboot) seabios/repos/testing-any/config.csm (from rev 265853, seabios/trunk/config.csm) seabios/repos/testing-any/config.seabios-128k (from rev 265853, seabios/trunk/config.seabios-128k) seabios/repos/testing-any/config.seabios-256k (from rev 265853, seabios/trunk/config.seabios-256k) seabios/repos/testing-any/config.vga.cirrus (from rev 265853, seabios/trunk/config.vga.cirrus) seabios/repos/testing-any/config.vga.isavga (from rev 265853, seabios/trunk/config.vga.isavga) seabios/repos/testing-any/config.vga.qxl (from rev 265853, seabios/trunk/config.vga.qxl) seabios/repos/testing-any/config.vga.stdvga (from rev 265853, seabios/trunk/config.vga.stdvga) seabios/repos/testing-any/config.vga.vmware (from rev 265853, seabios/trunk/config.vga.vmware) ---------------------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ config.coreboot | 2 + config.csm | 2 + config.seabios-128k | 9 +++++ config.seabios-256k | 3 + config.vga.cirrus | 3 + config.vga.isavga | 3 + config.vga.qxl | 6 +++ config.vga.stdvga | 3 + config.vga.vmware | 6 +++ 10 files changed, 113 insertions(+) Copied: seabios/repos/testing-any/PKGBUILD (from rev 265853, seabios/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2016-04-22 20:28:40 UTC (rev 265854) @@ -0,0 +1,76 @@ +# $Id$ +# Maintainer: Tobias Powalowski <tp...@archlinux.org> + +pkgname=seabios +pkgver=1.9.2 +pkgrel=1 +pkgdesc="A 16-bit x86 bios" +arch=('any') +url="http://www.coreboot.org/SeaBIOS" +license=('GPL3' 'LGPL3') +makedepends=('iasl' 'python2' 'inetutils') +options=('!makeflags' '!strip') +source=(http://code.coreboot.org/p/seabios/downloads/get/${pkgname}-${pkgver}.tar.gz + 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) +sha1sums=('771920d525b7fc9a2505da2952968e6b6344868f' + '5f2adb09c9006def1719b8cbd4792f14a7c7f7c9' + '39c2f98d3662933d3ce3360bc89421ec9c42612f' + '05b912a291994226049103cbe6754976cc03532d' + 'd56482f6ee0bf9633c551b10e99e24c74d9ece1e' + '54d4edf6eccf30883aedca348b9d2f125502fcdb' + '590739c1d5dc6cb63bdf311ee1cfbcde6c0ccc0f' + '84a44c04e74a09affae0d1a6e50800d10997108f' + '5a1316a0081f91acc300f57372de18fa9c67415e' + '5b017b16aec445df873618aaebd154aa97107148') + +# 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 ${pkgname}-${pkgver} + rm -rf binaries + sed -i 's/python/python2/g' Makefile + mkdir binaries +} + +build() { + cd ${pkgname}-${pkgver} + # 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 + cp out/src/fw/*dsdt*.aml binaries + # seavgabios + for config in ${srcdir}/{config.vga.isavga,config.vga.stdvga,config.vga.cirrus,config.vga.qxl,config.vga.vmware}; do + name=${config#*config.vga.} + build_bios ${config} vgabios.bin vgabios-${name}.bin out/vgabios.bin + done +} + +package() { + cd ${pkgname}-${pkgver} + install -Dm644 binaries/bios.bin "${pkgdir}/usr/share/qemu/bios.bin" + install -Dm644 binaries/bios-256k.bin "${pkgdir}/usr/share/qemu/bios-256k.bin" + install -Dm644 binaries/bios-csm.bin "${pkgdir}/usr/share/qemu/bios-csm.bin" + install -Dm644 binaries/bios-coreboot.bin "${pkgdir}/usr/share/qemu/bios-coreboot.bin" + install -Dm644 binaries/*.aml "${pkgdir}/usr/share/qemu" + install -Dm644 binaries/vgabios*.bin "${pkgdir}/usr/share/qemu" +} + Copied: seabios/repos/testing-any/config.coreboot (from rev 265853, seabios/trunk/config.coreboot) =================================================================== --- testing-any/config.coreboot (rev 0) +++ testing-any/config.coreboot 2016-04-22 20:28:40 UTC (rev 265854) @@ -0,0 +1,2 @@ +CONFIG_QEMU_HARDWARE=y +CONFIG_COREBOOT=y Copied: seabios/repos/testing-any/config.csm (from rev 265853, seabios/trunk/config.csm) =================================================================== --- testing-any/config.csm (rev 0) +++ testing-any/config.csm 2016-04-22 20:28:40 UTC (rev 265854) @@ -0,0 +1,2 @@ +CONFIG_QEMU_HARDWARE=y +CONFIG_CSM=y Copied: seabios/repos/testing-any/config.seabios-128k (from rev 265853, seabios/trunk/config.seabios-128k) =================================================================== --- testing-any/config.seabios-128k (rev 0) +++ testing-any/config.seabios-128k 2016-04-22 20:28:40 UTC (rev 265854) @@ -0,0 +1,9 @@ +# for qemu machine types 1.7 + older +# need to turn off features (xhci,debug) to make it fit into 128k +CONFIG_QEMU=y +CONFIG_ROM_SIZE=128 +CONFIG_XEN=n +CONFIG_USB_XHCI=n +CONFIG_USB_UAS=n +CONFIG_DEBUG_LEVEL=0 +CONFIG_DEBUG_IO=n Copied: seabios/repos/testing-any/config.seabios-256k (from rev 265853, seabios/trunk/config.seabios-256k) =================================================================== --- testing-any/config.seabios-256k (rev 0) +++ testing-any/config.seabios-256k 2016-04-22 20:28:40 UTC (rev 265854) @@ -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.cirrus (from rev 265853, seabios/trunk/config.vga.cirrus) =================================================================== --- testing-any/config.vga.cirrus (rev 0) +++ testing-any/config.vga.cirrus 2016-04-22 20:28:40 UTC (rev 265854) @@ -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 265853, seabios/trunk/config.vga.isavga) =================================================================== --- testing-any/config.vga.isavga (rev 0) +++ testing-any/config.vga.isavga 2016-04-22 20:28:40 UTC (rev 265854) @@ -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 265853, seabios/trunk/config.vga.qxl) =================================================================== --- testing-any/config.vga.qxl (rev 0) +++ testing-any/config.vga.qxl 2016-04-22 20:28:40 UTC (rev 265854) @@ -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.stdvga (from rev 265853, seabios/trunk/config.vga.stdvga) =================================================================== --- testing-any/config.vga.stdvga (rev 0) +++ testing-any/config.vga.stdvga 2016-04-22 20:28:40 UTC (rev 265854) @@ -0,0 +1,3 @@ +CONFIG_BUILD_VGABIOS=y +CONFIG_VGA_BOCHS=y +CONFIG_VGA_PCI=y Copied: seabios/repos/testing-any/config.vga.vmware (from rev 265853, seabios/trunk/config.vga.vmware) =================================================================== --- testing-any/config.vga.vmware (rev 0) +++ testing-any/config.vga.vmware 2016-04-22 20:28:40 UTC (rev 265854) @@ -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