diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-21 21:44:40 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-21 21:46:59 +0000 |
commit | 8fdd5e2aa1dc66c6afa6413d66ec0c7a99ae0ad6 (patch) | |
tree | d54a521149c2b29647befb1577fbca1a73401d33 | |
parent | 15dd032b51e05924cc658f482047351ccedad385 (diff) | |
download | alpine_aports-8fdd5e2aa1dc66c6afa6413d66ec0c7a99ae0ad6.tar.bz2 alpine_aports-8fdd5e2aa1dc66c6afa6413d66ec0c7a99ae0ad6.tar.xz alpine_aports-8fdd5e2aa1dc66c6afa6413d66ec0c7a99ae0ad6.zip |
main/mkinitfs: add hid-apple for apple keyboard support
fixes #9889
-rw-r--r-- | main/mkinitfs/0001-features-add-support-for-hid-apple-keyboards.patch | 24 | ||||
-rw-r--r-- | main/mkinitfs/APKBUILD | 9 |
2 files changed, 30 insertions, 3 deletions
diff --git a/main/mkinitfs/0001-features-add-support-for-hid-apple-keyboards.patch b/main/mkinitfs/0001-features-add-support-for-hid-apple-keyboards.patch new file mode 100644 index 0000000000..bab77ed49e --- /dev/null +++ b/main/mkinitfs/0001-features-add-support-for-hid-apple-keyboards.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From cb044ba7dae8dac17040303063e1ea7b0137f1a4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Mon, 21 Jan 2019 21:40:54 +0000 | ||
4 | Subject: [PATCH] features: add support for hid-apple keyboards | ||
5 | |||
6 | https://bugs.alpinelinux.org/issues/9889 | ||
7 | --- | ||
8 | features.d/usb.modules | 1 + | ||
9 | 1 file changed, 1 insertion(+) | ||
10 | |||
11 | diff --git a/features.d/usb.modules b/features.d/usb.modules | ||
12 | index 30b68e2..d29a9da 100644 | ||
13 | --- a/features.d/usb.modules | ||
14 | +++ b/features.d/usb.modules | ||
15 | @@ -3,5 +3,6 @@ kernel/drivers/usb/storage | ||
16 | kernel/drivers/hid/usbhid | ||
17 | kernel/drivers/hid/hid-generic.ko | ||
18 | kernel/drivers/hid/hid-cherry.ko | ||
19 | +kernel/drivers/hid/hid-apple.ko | ||
20 | kernel/fs/fat | ||
21 | kernel/fs/nls | ||
22 | -- | ||
23 | 2.20.1 | ||
24 | |||
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index dab56d977a..6cf9cd970a 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD | |||
@@ -2,7 +2,7 @@ | |||
2 | pkgname=mkinitfs | 2 | pkgname=mkinitfs |
3 | pkgver=3.4.0_rc1 | 3 | pkgver=3.4.0_rc1 |
4 | _ver=${pkgver%_git*} | 4 | _ver=${pkgver%_git*} |
5 | pkgrel=0 | 5 | pkgrel=1 |
6 | pkgdesc="Tool to generate initramfs images for Alpine" | 6 | pkgdesc="Tool to generate initramfs images for Alpine" |
7 | url="https://git.alpinelinux.org/cgit/mkinitfs" | 7 | url="https://git.alpinelinux.org/cgit/mkinitfs" |
8 | arch="all" | 8 | arch="all" |
@@ -16,7 +16,9 @@ depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25" | |||
16 | subpackages="$pkgname-doc" | 16 | subpackages="$pkgname-doc" |
17 | install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" | 17 | install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" |
18 | triggers="$pkgname.trigger=/usr/share/kernel/*" | 18 | triggers="$pkgname.trigger=/usr/share/kernel/*" |
19 | source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz" | 19 | source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz |
20 | 0001-features-add-support-for-hid-apple-keyboards.patch | ||
21 | " | ||
20 | 22 | ||
21 | builddir="$srcdir/$pkgname-$_ver" | 23 | builddir="$srcdir/$pkgname-$_ver" |
22 | 24 | ||
@@ -30,4 +32,5 @@ package() { | |||
30 | make install DESTDIR="$pkgdir" | 32 | make install DESTDIR="$pkgdir" |
31 | } | 33 | } |
32 | 34 | ||
33 | sha512sums="c3ccf36411ecd30213bd3d9dd58ba70bff3ddf7e7a4f818d9f9bb5cc6d632c04b67982a458ae13d08033a69574c106277b557c9b9aeccf285d53425657978cc9 mkinitfs-3.4.0_rc1.tar.xz" | 35 | sha512sums="c3ccf36411ecd30213bd3d9dd58ba70bff3ddf7e7a4f818d9f9bb5cc6d632c04b67982a458ae13d08033a69574c106277b557c9b9aeccf285d53425657978cc9 mkinitfs-3.4.0_rc1.tar.xz |
36 | 14b7655c92d6cd17de3011a532c5194b52cc926c5da40756b54ef6fae6e62216f24996236518d9f2407d39425f22066f550bf4efd4ef5741c236d15230cc567e 0001-features-add-support-for-hid-apple-keyboards.patch" | ||