main/alpine-conf: install under /usr

The files installed by alpine-conf are not required to boot a device,
but to configure and set it up. They are mostly useful in boot-media,
where there is a single partition, and no risk of them not being
available. So move them outside the root to the /usr hierarchy

Relates https://gitlab.alpinelinux.org/alpine/tsc/-/issues/73
This commit is contained in:
Pablo Correa Gómez 2024-09-04 13:24:08 +02:00 committed by Natanael Copa
parent 858a269e26
commit 04a401116e

View File

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=3.18.1
pkgrel=0
pkgrel=1
pkgdesc="Alpine configuration management scripts"
url="https://git.alpinelinux.org/alpine-conf/about"
arch="all"
@ -15,9 +15,9 @@ build() {
}
package() {
make install PREFIX= DESTDIR="$pkgdir"
make install PREFIX="/usr" DESTDIR="$pkgdir"
for i in commit exclude include status update; do
ln -s lbu "$pkgdir"/sbin/lbu_$i
ln -s lbu "$pkgdir"/usr/sbin/lbu_$i
done
}