summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-07 06:40:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-07 06:40:49 +0000
commit1747953569f36106c1f30207067c466154ede6d4 (patch)
tree626061c95933a9a32059c9ea66519f58592fdaf6
parent79fd28fa96d12a25831ef7761d58c633ab9cb727 (diff)
downloadaports-1747953569f36106c1f30207067c466154ede6d4.tar.bz2
aports-1747953569f36106c1f30207067c466154ede6d4.tar.xz
main/mkinitfs: add hid-generic driver to fix usb keyboards
ref #2071
-rw-r--r--main/mkinitfs/APKBUILD8
-rw-r--r--main/mkinitfs/git.patch48
2 files changed, 52 insertions, 4 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 9641c8253..ec4a54969 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
-pkgver=2.4.4_git20130506
+pkgver=2.4.4_git20130807
_ver=${pkgver%_git*}
pkgrel=0
pkgdesc="Tool to generate initramfs images for Alpine"
@@ -46,11 +46,11 @@ package() {
make install DESTDIR="$pkgdir" || return 1
}
md5sums="5b897ab38204bf62ed8abf63d6b7cafd mkinitfs-2.4.4.tar.bz2
-b6f5ce5713d9592f942d9cb0ce3ea18b git.patch
+37415211a36cab0422f0fba4a1652469 git.patch
067649665a767ff1a08578e1f4e61524 eglibc.patch"
sha256sums="454e43149322e9cdfd7ea397480621b42169b5d78dd8eab1be46b96762fc5dc5 mkinitfs-2.4.4.tar.bz2
-6bc549d1ba8b953d5ab871147f83fe8317bfa152e7a95a51fef9d37ebd27c6e8 git.patch
+60824f3c2f6d633d6151b8a7aaaa168e2c6c590708c0e268f143e86da0caab72 git.patch
2db513d1a058be0f5794dc74d00418807253d8ac850c9713ea0eeb0be5f3f65a eglibc.patch"
sha512sums="9f0e49b20a592b4315155453e4398abf710c8bae62496d4b8d281e21d13366804084be26f0303d35ef3f0bf295eba76885ca43ff452d4aea1e59f0bdce0de18e mkinitfs-2.4.4.tar.bz2
-6f4e9f1d1070b7b2bb1b18ae1d4eb584c178ba8bf97df63cc731509a6daafc3c41e6bb79bb194ff983e4ed3f8a4e634bd9df8c51e2cfd95f8091dd0d61e4851a git.patch
+d999dd2a8222099d57a15303b760b6e1a36590e49fa0d25ad7efaaf9bb2f034c75c8e6e0170db18e74e11dd5a1747d842cea5fae0dd59dcf3e99a830e57911fa git.patch
3498d9930889cd776a34863733d467b50b83679ea7f91d79963c81e4f1dc138f887ef1f2a696da6d836d1f6f862dcfd2c2fb9a55b0e3b2926e9f3fc648bc5a15 eglibc.patch"
diff --git a/main/mkinitfs/git.patch b/main/mkinitfs/git.patch
index dfa0719c2..8d59648d6 100644
--- a/main/mkinitfs/git.patch
+++ b/main/mkinitfs/git.patch
@@ -1,3 +1,40 @@
+diff --git a/group b/group
+index f605ffb..5a6cbcc 100644
+--- a/group
++++ b/group
+@@ -24,9 +24,12 @@ sshd:x:22:
+ at:x:25:at
+ tape:x:26:root
+ video:x:27:root
++netdev:x:28:
++readproc:x:30:
+ squid:x:31:squid
+ gdm:x:32:gdm
+ xfs:x:33:xfs
++kvm:x:34:kvm
+ games:x:35:
+ named:x:40:named
+ mysql:x:60:
+@@ -35,16 +38,17 @@ cdrw:x:80:
+ apache:x:81:
+ nut:x:84:
+ usb:x:85:
++avahi:x:86:
+ vpopmail:x:89:
+ users:x:100:games
+ ntp:x:123:
+ nofiles:x:200:
+-qmail:x:201:
+ postfix:x:207:
+ postdrop:x:208:
+ smmsp:x:209:smmsp
++distcc:x:240:
+ slocate:x:245:
+-portage:x:250:portage
++abuild:x:300:
+ utmp:x:406:
+ nogroup:x:65533:
+ nobody:x:65534:
diff --git a/initramfs-init.in b/initramfs-init.in
index 3c05f81..0050787 100755
--- a/initramfs-init.in
@@ -305,3 +342,14 @@ index 3c05f81..0050787 100755
# setup bootchart for switch_root
chart_init=""
if [ "$KOPT_chart" = yes ]; then
+diff --git a/modules.d/usb b/modules.d/usb
+index 0e9a81e..acf6b6f 100644
+--- a/modules.d/usb
++++ b/modules.d/usb
+@@ -1,5 +1,6 @@
+ kernel/drivers/usb/host
+ kernel/drivers/usb/storage
+ kernel/drivers/hid/usbhid
++kernel/drivers/hid/hid-generic.ko
+ kernel/fs/fat
+ kernel/fs/nls