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
This commit is contained in:
Newbyte 2022-09-16 11:59:11 +02:00 committed by Oliver Smith
parent 6f074ad61d
commit f2c7c48e2a
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
2 changed files with 5 additions and 2 deletions

View file

@ -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"

View file

@ -24,5 +24,8 @@ done
mkdir -p /run/openrc
touch /run/openrc/shutdowntime
# Make apk interactive by default
touch /etc/apk/interactive
exit 0