diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-03 12:01:19 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-05-03 12:01:19 +0200 |
commit | d39641ccd64b82494716e4bf35ac5d0c8fa67201 (patch) | |
tree | ec8163f5ab9446aea2c1b75ffe1f73f8f8cbe471 /target/generic | |
parent | 3bb02f5ba5e81655f43b55ee3709084605542dd1 (diff) | |
download | buildroot-novena-d39641ccd64b82494716e4bf35ac5d0c8fa67201.tar.gz buildroot-novena-d39641ccd64b82494716e4bf35ac5d0c8fa67201.zip |
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 <jacmet@sunsite.dk>
Diffstat (limited to 'target/generic')
-rw-r--r-- | target/generic/target_skeleton/etc/inittab | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/generic/target_skeleton/etc/inittab b/target/generic/target_skeleton/etc/inittab index 7aa654f8a..2949c9125 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 |