From eee6b0a3b219d06cfd8d8fa46c70a9afcec69c00 Mon Sep 17 00:00:00 2001 From: Alexander Paetzelt Date: Fri, 30 Sep 2022 21:24:28 +0200 Subject: [PATCH] Add upgrades-status-notify and upgrades-installed-check to archlinux package --- archlinux/PKGBUILD | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/archlinux/PKGBUILD b/archlinux/PKGBUILD index 437cb7d0b..1bd16bd2c 100644 --- a/archlinux/PKGBUILD +++ b/archlinux/PKGBUILD @@ -29,7 +29,7 @@ noextract=() md5sums=(SKIP) build() { - 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 boot; do + for source in autostart-dropins applications-dropins app-menu qubes-rpc misc package-managers passwordless-root Makefile vm-init.d vm-systemd network init version doc setup.py qubesagent boot; do # shellcheck disable=SC2154 ln -sf "../$source" "$srcdir" done @@ -95,6 +95,10 @@ package_qubes-vm-core() { echo "Installing repository for release ${release}" install -m 644 "$srcdir/PKGBUILD-qubes-repo-${release}.conf" "${pkgdir}/etc/pacman.d/99-qubes-repository-${release}.conf.disabled" + # Install upgrade check scripts + install -m 0755 "$srcdir/package-managers/upgrades-installed-check" "${pkgdir}/usr/lib/qubes/" + install -m 0755 "$srcdir/package-managers/upgrades-status-notify" "${pkgdir}/usr/lib/qubes/" + # Archlinux specific: enable autologin on tty1 mkdir -p "$pkgdir/etc/systemd/system/getty@tty1.service.d/" cat < "$pkgdir/etc/systemd/system/getty@tty1.service.d/autologin.conf"