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:
parent
762d53c3a6
commit
a4a96da64d
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue