1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/kbd: install kbd_mode into /bin

Busybox's symlink is in /bin/kbd_mode, so it should be installed here so
that it properly overwrites busybox's symlink.

This issue was found when testing usr merge downstream in pmOS.
This commit is contained in:
Clayton Craft 2025-04-22 12:09:19 -07:00 committed by Natanael Copa
parent 762d53c3a6
commit a4a96da64d

View file

@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kbd
pkgver=2.7.1
pkgrel=0
pkgrel=1
pkgdesc="Tools for configuring the console (keyboard, virtual terminals, etc.)"
url="https://kbd-project.org/"
arch="all"
@ -119,6 +119,10 @@ package() {
mkdir -p "$pkgdir"/usr/sbin
mv "$pkgdir"/usr/bin/setfont "$pkgdir"/usr/sbin
# Replace busybox kbd_mode
mkdir -p "$pkgdir"/bin
mv "$pkgdir"/usr/bin/kbd_mode "$pkgdir"/bin
# Link open to openvt
ln -s openvt "$pkgdir"/usr/bin/open
}