From d39641ccd64b82494716e4bf35ac5d0c8fa67201 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 3 May 2010 12:01:19 +0200 Subject: [PATCH] target/generic: inittab: fix devpts mounts when devtmpfs is used If devtmpfs (the kernel-maintained /dev filesystem) is used, no /dev/pts directory is created, causing the devpts mount to fail, which in term causes stuff like dropbear to fail. Signed-off-by: Peter Korsgaard --- target/generic/target_skeleton/etc/inittab | 1 + 1 file changed, 1 insertion(+) diff --git a/target/generic/target_skeleton/etc/inittab b/target/generic/target_skeleton/etc/inittab index 7aa654f8af..2949c91252 100644 --- a/target/generic/target_skeleton/etc/inittab +++ b/target/generic/target_skeleton/etc/inittab @@ -16,6 +16,7 @@ # Startup the system null::sysinit:/bin/mount -o remount,rw / null::sysinit:/bin/mount -t proc proc /proc +null::sysinit:/bin/mkdir -p /dev/pts null::sysinit:/bin/mount -a null::sysinit:/bin/hostname -F /etc/hostname null::sysinit:/sbin/ifconfig lo 127.0.0.1 up -- 2.30.2