Skip to content

Commit

Permalink
Add upgrades-status-notify and upgrades-installed-check to archlinux …
Browse files Browse the repository at this point in the history
…package
  • Loading branch information
techge committed Sep 30, 2022
1 parent 3400298 commit eee6b0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion archlinux/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/[email protected]/"
cat <<EOF > "$pkgdir/etc/systemd/system/[email protected]/autologin.conf"
Expand Down

0 comments on commit eee6b0a

Please sign in to comment.