Antoine Martin
66bc76897a
Some checks failed
/ lint (pull_request) Successful in 38s
/ deploy-v3.21 (pull_request) Has been skipped
/ build-v3.21 (pull_request) Failing after 51s
/ deploy-v3.20 (pull_request) Successful in 1m28s
/ build-v3.20 (pull_request) Successful in 5m29s
/ deploy-edge (pull_request) Successful in 58s
/ build-edge (pull_request) Successful in 5m58s
64 lines
1.7 KiB
Text
64 lines
1.7 KiB
Text
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
pkgname=qubes-vm-utils
|
|
subpackages="
|
|
qubes-vm-kernel-support:support:noarch
|
|
$pkgname-openrc
|
|
$pkgname-pyc
|
|
"
|
|
pkgver=4.2.17
|
|
pkgrel=5
|
|
_gittag="v$pkgver"
|
|
pkgdesc="Common Linux files for Qubes VM."
|
|
arch="x86_64"
|
|
url="https://github.com/QubesOS/qubes-linux-utils"
|
|
license='GPL'
|
|
depends="
|
|
imagemagick
|
|
py3-pillow
|
|
py3-numpy
|
|
"
|
|
makedepends="
|
|
gcc
|
|
make
|
|
pkgconfig
|
|
py3-setuptools
|
|
icu-dev
|
|
qubes-libvchan-xen-dev
|
|
xen-dev
|
|
"
|
|
source="
|
|
$pkgname-$_gittag.tar.gz::https://github.com/QubesOS/qubes-linux-utils/archive/refs/tags/$_gittag.tar.gz
|
|
qubes-meminfo-writer.openrc
|
|
"
|
|
options="!check" # No testsuite
|
|
builddir="$srcdir"/${pkgname/vm/linux}-${_gittag/v}
|
|
|
|
build() {
|
|
export BACKEND_VMM=xen
|
|
make all
|
|
}
|
|
|
|
package() {
|
|
make install DESTDIR="$pkgdir" LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SBINDIR=/usr/sbin
|
|
install -Dm 755 "$srcdir"/qubes-meminfo-writer.openrc "$pkgdir"/etc/init.d/qubes-meminfo-writer
|
|
}
|
|
|
|
support() {
|
|
depends="
|
|
mkinitcpio
|
|
dkms
|
|
grub
|
|
"
|
|
cd "$builddir"
|
|
mkdir -p "$subpkgdir"/usr/lib/initcpio/install/
|
|
mkdir -p "$subpkgdir"/usr/lib/initcpio/hooks/
|
|
mkdir -p "$subpkgdir"/usr/lib/qubes/
|
|
mkdir -p "$subpkgdir"/usr/bin/
|
|
|
|
install -m 755 "$builddir"/dracut/full-dmroot/qubes_cow_setup.sh "$subpkgdir"/usr/lib/qubes/qubes_cow_setup.sh
|
|
}
|
|
sha512sums="
|
|
3a3ddd46d94b0fae608dc7436a1a43437968b65830de2c65a5735d3264063df493ce12514071b0214ae3c906c364b420e09fcf569c0395629292b1f34f90dd83 qubes-vm-utils-v4.2.17.tar.gz
|
|
c29bac0c6b9a0c81ee42e88541d9216549276448a02c3005ea20d85c7eda483cee28bbc159098bd42badc7ed80058734311931ee4ef13e170e49f83cf3f5a9ae qubes-meminfo-writer.openrc
|
|
"
|