cozybit / distro11s

12 stars 5 forks source link

distro11s-kernel: newer udev packages need DEVTMPFS #17

Closed jasonabele closed 10 years ago

jasonabele commented 10 years ago

Final tests are still in flight ... I will ping the pull-request with a testing update later this afternoon.

From 62a160c00e776c56580fac14fe68d03371a47fed Mon Sep 17 00:00:00 2001
From: Jason Abele <jason@cozybit.com>
Date: Thu, 12 Sep 2013 12:32:36 -0700
Subject: [PATCH] distro11s-kernel: newer udev packages need DEVTMPFS

Without CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT, udev will fail to
start, causing boot issues with distrolls.  Fix this by adding these
configs to our defconfig.

Signed-off-by: Jason Abele <jason@cozybit.com>

---
 board/qemu/qemu_kernel.config   |    3 ++-
 board/zotac/zotac_kernel.config |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/board/qemu/qemu_kernel.config b/board/qemu/qemu_kernel.config
index 5f0e787..c20019f 100644
--- a/board/qemu/qemu_kernel.config
+++ b/board/qemu/qemu_kernel.config
@@ -966,7 +966,8 @@ CONFIG_HAVE_BPF_JIT=y
 # Generic Driver Options
 #
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
-# CONFIG_DEVTMPFS is not set
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FW_LOADER=y
diff --git a/board/zotac/zotac_kernel.config b/board/zotac/zotac_kernel.config
index c4c0452..d70a9ed 100644
--- a/board/zotac/zotac_kernel.config
+++ b/board/zotac/zotac_kernel.config
@@ -931,7 +931,8 @@ CONFIG_HAVE_BPF_JIT=y
 # Generic Driver Options
 #
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
-# CONFIG_DEVTMPFS is not set
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_STANDALONE=y
 CONFIG_PREVENT_FIRMWARE_BUILD=y
 CONFIG_FW_LOADER=y
-- 
1.7.9.5
jasonabele commented 10 years ago

Works for my distro11s-qemu tests ... Jacob, can you check the zotac's for this issue ... without this patch, I would expect your boot output contains:

http://boo.local:8080/job/distro11s-hwsim-test/353/artifact/out/results/qemu_boot.log [....] udev requires tmpfs support, not started ...AIL]

and this patch should resolve that issue