target/generic: inittab: fix devpts mounts when devtmpfs is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 May 2010 10:01:19 +0000 (12:01 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 May 2010 10:01:19 +0000 (12:01 +0200)
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 <jacmet@sunsite.dk>
target/generic/target_skeleton/etc/inittab

index 7aa654f8af2d372626caf8f03df483338e4e5e8a..2949c91252e07736f380646b3cfd8960e5f325a9 100644 (file)
@@ -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