diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 08:09:18 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 08:10:06 +0000 |
commit | 081f8a1b130ed1c3cfae5317fc6bbb79b5905fd5 (patch) | |
tree | 749de017734f4a09121e61abf839317aa3cea70c | |
parent | b5d65e501d022bed748713268ff5dcd5c0562f9f (diff) | |
download | aports-081f8a1b130ed1c3cfae5317fc6bbb79b5905fd5.tar.bz2 aports-081f8a1b130ed1c3cfae5317fc6bbb79b5905fd5.tar.xz |
main/mkinitfs: add af_packet to dhcp feature
fixes #10750
-rw-r--r-- | main/mkinitfs/0001-features-add-af_packet-kernel-module-for-dhcp.patch | 23 | ||||
-rw-r--r-- | main/mkinitfs/APKBUILD | 6 |
2 files changed, 27 insertions, 2 deletions
diff --git a/main/mkinitfs/0001-features-add-af_packet-kernel-module-for-dhcp.patch b/main/mkinitfs/0001-features-add-af_packet-kernel-module-for-dhcp.patch new file mode 100644 index 0000000000..20962f48a8 --- /dev/null +++ b/main/mkinitfs/0001-features-add-af_packet-kernel-module-for-dhcp.patch @@ -0,0 +1,23 @@ +From 5a6f829e2ccd5f34bd299f93d6d0e03ca83e7f72 Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Fri, 23 Aug 2019 08:01:53 +0000 +Subject: [PATCH] features: add af_packet kernel module for dhcp + +udhcpc needs af_packet to work. + +ref https://gitlab.alpinelinux.org/alpine/aports/issues/10750 +--- + features.d/dhcp.modules | 1 + + 1 file changed, 1 insertion(+) + create mode 100644 features.d/dhcp.modules + +diff --git a/features.d/dhcp.modules b/features.d/dhcp.modules +new file mode 100644 +index 0000000..f9799e0 +--- /dev/null ++++ b/features.d/dhcp.modules +@@ -0,0 +1 @@ ++kernel/net/packet/af_packet.ko +-- +2.23.0 + diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index e8021245b6..d5a2ee7f5e 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -2,7 +2,7 @@ pkgname=mkinitfs pkgver=3.4.3 _ver=${pkgver%_git*} -pkgrel=1 +pkgrel=2 pkgdesc="Tool to generate initramfs images for Alpine" url="https://git.alpinelinux.org/cgit/mkinitfs" arch="all" @@ -17,6 +17,7 @@ install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" triggers="$pkgname.trigger=/usr/share/kernel/*" source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz 0001-nlplug-findfs.c-Explicitly-include-sys-sysmacros.h-d.patch + 0001-features-add-af_packet-kernel-module-for-dhcp.patch " build() { @@ -30,4 +31,5 @@ package() { } sha512sums="d335a6f58ca38a3cc6dcc560baaabd3ea9522ce25de008eb637f0761db7f783c3b03767ba046c3d34550d1d0741bcc54ad09903b41e79fe408264eadbbc0a457 mkinitfs-3.4.3.tar.xz -6b7c16035181ab96a1d0dad9f31df8d74e6d39db775ce540b2b2efaaa4d918a18f331829f4113bff7a38805f648b7d83b7ec15adaaf78b17c9465dc0a19e8b32 0001-nlplug-findfs.c-Explicitly-include-sys-sysmacros.h-d.patch" +6b7c16035181ab96a1d0dad9f31df8d74e6d39db775ce540b2b2efaaa4d918a18f331829f4113bff7a38805f648b7d83b7ec15adaaf78b17c9465dc0a19e8b32 0001-nlplug-findfs.c-Explicitly-include-sys-sysmacros.h-d.patch +2b29aceee789a79c5395e9a4e896aa0561f812420aa98ab9febdca8e1ea34691d2b819a8f0c09e56d198fda587e569ce026bc6aacdb700ea00a91fc08dcd3a05 0001-features-add-af_packet-kernel-module-for-dhcp.patch" |