summaryrefslogtreecommitdiff
path: root/sys-kernel/linux-kogaion
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-03-12 13:02:10 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-03-12 13:02:10 +0000
commit683e94bef55c7858f9a3f1064e489b4b8ffe2d43 (patch)
tree5f67d131e912f69df58016a364287aae6137035d /sys-kernel/linux-kogaion
parent7f12175b102c39a80cf8e643a2cbe051b8436f55 (diff)
patch our kernel configs with latest fixes
Diffstat (limited to 'sys-kernel/linux-kogaion')
-rw-r--r--sys-kernel/linux-kogaion/files/linux-kogaion-disable-xhci-enable-user-ns.patch40
-rw-r--r--sys-kernel/linux-kogaion/linux-kogaion-3.14.50.ebuild4
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/linux-kogaion/files/linux-kogaion-disable-xhci-enable-user-ns.patch b/sys-kernel/linux-kogaion/files/linux-kogaion-disable-xhci-enable-user-ns.patch
new file mode 100644
index 00000000..3a6da450
--- /dev/null
+++ b/sys-kernel/linux-kogaion/files/linux-kogaion-disable-xhci-enable-user-ns.patch
@@ -0,0 +1,40 @@
+--- kogaion/config/kogaion-3.14-x86.config.old 2016-03-12 12:43:00.600373413 +0000
++++ kogaion/config/kogaion-3.14-x86.config 2016-03-12 12:46:45.345318549 +0000
+@@ -147,7 +147,7 @@
+ CONFIG_NAMESPACES=y
+ CONFIG_UTS_NS=y
+ CONFIG_IPC_NS=y
+-# CONFIG_USER_NS is not set
++CONFIG_USER_NS=y
+ CONFIG_PID_NS=y
+ CONFIG_NET_NS=y
+ CONFIG_MM_OWNER=y
+@@ -4931,7 +4931,7 @@
+ # USB Host Controller Drivers
+ #
+ CONFIG_USB_C67X00_HCD=m
+-CONFIG_USB_XHCI_HCD=m
++# CONFIG_USB_XHCI_HCD is not set
+ CONFIG_USB_EHCI_HCD=m
+ CONFIG_USB_EHCI_ROOT_HUB_TT=y
+ CONFIG_USB_EHCI_TT_NEWSCHED=y
+--- kogaion/config/kogaion-3.14-amd64.config.old 2016-03-12 12:42:53.359216610 +0000
++++ kogaion/config/kogaion-3.14-amd64.config 2016-03-12 12:46:01.745348709 +0000
+@@ -150,7 +150,7 @@
+ CONFIG_NAMESPACES=y
+ CONFIG_UTS_NS=y
+ CONFIG_IPC_NS=y
+-# CONFIG_USER_NS is not set
++CONFIG_USER_NS=y
+ CONFIG_PID_NS=y
+ CONFIG_NET_NS=y
+ CONFIG_MM_OWNER=y
+@@ -4734,7 +4734,7 @@
+ # USB Host Controller Drivers
+ #
+ CONFIG_USB_C67X00_HCD=m
+-CONFIG_USB_XHCI_HCD=m
++# CONFIG_USB_XHCI_HCD is not set
+ CONFIG_USB_EHCI_HCD=m
+ CONFIG_USB_EHCI_ROOT_HUB_TT=y
+ CONFIG_USB_EHCI_TT_NEWSCHED=y
diff --git a/sys-kernel/linux-kogaion/linux-kogaion-3.14.50.ebuild b/sys-kernel/linux-kogaion/linux-kogaion-3.14.50.ebuild
index 8f57d63b..fec4d858 100644
--- a/sys-kernel/linux-kogaion/linux-kogaion-3.14.50.ebuild
+++ b/sys-kernel/linux-kogaion/linux-kogaion-3.14.50.ebuild
@@ -28,3 +28,7 @@ inherit kogaion-kernel
KEYWORDS="amd64 x86"
DESCRIPTION="Official Kogaion Linux Standard kernel image"
RESTRICT="mirror"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-disable-xhci-enable-user-ns.patch"
+}