summaryrefslogtreecommitdiff
path: root/package/simpleinit
diff options
context:
space:
mode:
Diffstat (limited to 'package/simpleinit')
-rw-r--r--package/simpleinit/Makefile1
-rwxr-xr-xpackage/simpleinit/files/rc3
2 files changed, 2 insertions, 2 deletions
diff --git a/package/simpleinit/Makefile b/package/simpleinit/Makefile
index 4de28ba48..91fe5141f 100644
--- a/package/simpleinit/Makefile
+++ b/package/simpleinit/Makefile
@@ -20,6 +20,7 @@ BUILD_STYLE:= manual
INSTALL_STYLE:= manual
TARGET_CPPFLAGS+= -DCONFIG_USER_INIT_CONSOLE_SH
+TARGET_CFLAGS+= -Wno-incompatible-pointer-types
do-build:
PATH='$(HOST_PATH)' \
diff --git a/package/simpleinit/files/rc b/package/simpleinit/files/rc
index e5d4f67d6..08d67601a 100755
--- a/package/simpleinit/files/rc
+++ b/package/simpleinit/files/rc
@@ -1,9 +1,8 @@
#!/bin/sh
echo Starting OpenADK
-hostname openadk
mount -t proc proc /proc
mount -t sysfs sys /sys
-mkdir -m 755 /dev/pts
+mkdir /dev/pts
mount -t devpts devpts /dev/pts
mount -t tmpfs tmpfs /tmp
chmod 1777 /tmp