summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Grapentin2020-06-16 08:01:02 +0200
committerAndreas Grapentin2020-06-16 08:01:02 +0200
commitcc953ee80c1caa3c324557c38f38270bf1d257c7 (patch)
treee2300d6085ba84e283ade8625923a4abc4faa3a1
parent78e9d1d1b8640d34cb1954a22168d9a8f01a2038 (diff)
downloadaur-cc953ee80c1caa3c324557c38f38270bf1d257c7.tar.gz
vmdebootstrap: updated to 1.11
-rw-r--r--0001-Don-t-enforce-U-EFI-on-arm64.patch30
-rw-r--r--PKGBUILD11
2 files changed, 37 insertions, 4 deletions
diff --git a/0001-Don-t-enforce-U-EFI-on-arm64.patch b/0001-Don-t-enforce-U-EFI-on-arm64.patch
new file mode 100644
index 000000000000..7056c0156c3c
--- /dev/null
+++ b/0001-Don-t-enforce-U-EFI-on-arm64.patch
@@ -0,0 +1,30 @@
+>From 1d70f88536654e98c1111ed993a107fbb8f7ffb2 Mon Sep 17 00:00:00 2001
+From: Michael Stapelberg <stapelberg@debian.org>
+Date: Wed, 23 Nov 2016 12:36:11 +0100
+Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20enforce=20(U)EFI=20on=20arm64?=
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The Raspberry Pi 3 uses arm64 but comes with a custom bootloader, so
+there is no need for UEFI.
+---
+ vmdebootstrap/constants.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vmdebootstrap/constants.py b/vmdebootstrap/constants.py
+index 9f39415..3d807c6 100644
+--- a/vmdebootstrap/constants.py
++++ b/vmdebootstrap/constants.py
+@@ -46,7 +46,7 @@ arch_table = { # pylint: disable=invalid-name
+ 'package': 'grub-efi-arm64',
+ 'bin_package': 'grub-efi-arm64-bin',
+ 'extra': None,
+- 'exclusive': True,
++ 'exclusive': False,
+ 'target': 'arm64-efi',
+ }
+ }
+--
+2.9.3
+
diff --git a/PKGBUILD b/PKGBUILD
index edfe2ec1d14c..70b22e65a697 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Andreas Grapentin <andreas@grapentin.org>
pkgname=vmdebootstrap
-pkgver=1.7
+pkgver=1.11
pkgrel=1
pkgdesc="debootstrap installs a basic Debian system into a directory, for use with chroot(8). vmdeboostrap is a wrapper around it to install Debian into a disk image, which can be used with a virtual machine (such as KVM)."
arch=('i686' 'x86_64')
@@ -22,12 +22,14 @@ makedepends=('python-sphinx')
source=("http://git.liw.fi/cgi-bin/cgit/cgit.cgi/$pkgname/snapshot/$pkgname-$pkgver.tar.gz"
'python_version.patch'
'default_arch.patch'
- 'fix_path.patch')
+ 'fix_path.patch'
+ '0001-Don-t-enforce-U-EFI-on-arm64.patch')
-sha256sums=('e5b652e7aff4906bbe0221855cd51683f0528e27a711a66beef86457a54cc0e9'
+sha256sums=('4a1b32e1ceb68a87a38c64b226cd2b827fafdec5e2c0135b50f83f7a455e5582'
'10ef6c58c24d52ff3b66498eac23526623b881871ce1d3d2138e358ef9580f41'
'a9971329a87e08f3de371647fe60b0ffab99ecd7925c55a00fdb1f2ef70781f0'
- 'e8d3a250dc8bf11aafa707602c9ca6d496b3c3c3183dcf9f04a50de6a3b26b75')
+ 'e8d3a250dc8bf11aafa707602c9ca6d496b3c3c3183dcf9f04a50de6a3b26b75'
+ 'ca5bfcddcbdfe25a2cc0b5c1adab57ed647074e38964b014f2a028afa0091d86')
prepare() {
@@ -36,6 +38,7 @@ prepare() {
patch -p1 < ../python_version.patch
patch -p1 < ../default_arch.patch
patch -p1 < ../fix_path.patch
+ patch -p1 < ../0001-Don-t-enforce-U-EFI-on-arm64.patch
}
build() {