From f2c7c48e2a607a1cdaa151e99d90e9bcdd415e09 Mon Sep 17 00:00:00 2001 From: Newbyte Date: Fri, 16 Sep 2022 11:59:11 +0200 Subject: [PATCH] main/postmarketos-base: make apk interactive by default (MR 3444) This would mitigate issues where apk unexpectedly replaces packages somewhat as this way the user will be able to see precisely what changes will happen to their system before they are committed. Furthermore, most users are likely accustomed to package managers like apt, dnf, pacman, among others that all are interactive by default and as such this would provide a more familiar experience for them. This will not affected pre-existing installs, and advanced users who do not like this behaviour can restore the old one by deleting /etc/apk/interactive. [ci:skip-build]: already built successfully in CI --- main/postmarketos-base/APKBUILD | 4 ++-- main/postmarketos-base/postmarketos-base.post-install | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-base/APKBUILD b/main/postmarketos-base/APKBUILD index 93bd239f8..ccbb386ea 100644 --- a/main/postmarketos-base/APKBUILD +++ b/main/postmarketos-base/APKBUILD @@ -1,6 +1,6 @@ pkgname=postmarketos-base -pkgver=21 -pkgrel=2 +pkgver=22 +pkgrel=0 pkgdesc="Meta package for minimal postmarketOS base" url="https://postmarketos.org" arch="noarch" diff --git a/main/postmarketos-base/postmarketos-base.post-install b/main/postmarketos-base/postmarketos-base.post-install index ec049f2ca..ae448f3a3 100644 --- a/main/postmarketos-base/postmarketos-base.post-install +++ b/main/postmarketos-base/postmarketos-base.post-install @@ -24,5 +24,8 @@ done mkdir -p /run/openrc touch /run/openrc/shutdowntime +# Make apk interactive by default +touch /etc/apk/interactive + exit 0