From 45745e80e61557f0d6f97a2273296afcd8426aca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Mon, 19 Oct 2020 17:12:42 +0200 Subject: [PATCH] archlinux: add passwordless-root package --- archlinux/PKGBUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD index 7e09620..49a2f87 100644 --- a/archlinux/PKGBUILD +++ b/archlinux/PKGBUILD @@ -1,6 +1,6 @@ #!/bin/bash # shellcheck disable=SC2034 -pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring) +pkgname=(qubes-vm-core qubes-vm-networking qubes-vm-keyring qubes-vm-passwordless-root) pkgver=$(cat version) pkgrel=15 epoch= @@ -31,7 +31,7 @@ noextract=() md5sums=(SKIP) build() { - for source in autostart-dropins applications-dropins app-menu qubes-rpc misc Makefile vm-init.d vm-systemd network init version doc setup.py qubesagent post-install.d; do + for source in autostart-dropins applications-dropins app-menu qubes-rpc misc passwordless-root Makefile vm-init.d vm-systemd network init version doc setup.py qubesagent post-install.d; do # shellcheck disable=SC2154 (ln -s "$srcdir/../$source" "$srcdir/$source") done @@ -143,4 +143,9 @@ package_qubes-vm-keyring() { } +package_qubes-vm-passwordless-root() { + pkgdesc="Qubes OS Passwordless root access from normal user" + make -C passwordless-root install DESTDIR="$pkgdir" SBINDIR=/usr/bin LIBDIR=/usr/lib SYSLIBDIR=/usr/lib SYSTEM_DROPIN_DIR=/usr/lib/systemd/system USER_DROPIN_DIR=/usr/lib/systemd/user DIST=archlinux +} + # vim:set ts=2 sw=2 et: