summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-02-24 14:49:41 +0000
committerSuper user <root@baserock.(none)>2012-09-17 13:11:37 +0000
commit3c08f83c43983baede2f7d2bf943ad2f86a456e0 (patch)
treead97b38359352f6e5f02623e4fc52a0883bc3bd8
parent9dbd6013606727055192bd468571a82dc8f11b5e (diff)
downloadbusybox-3c08f83c43983baede2f7d2bf943ad2f86a456e0.tar.gz
morphs: set sticky permissions for busybox binary
This is required for ping to work
-rw-r--r--busybox-devel.morph1
-rw-r--r--busybox.morph1
2 files changed, 2 insertions, 0 deletions
diff --git a/busybox-devel.morph b/busybox-devel.morph
index e6e9d54d9..755941d56 100644
--- a/busybox-devel.morph
+++ b/busybox-devel.morph
@@ -23,6 +23,7 @@
],
"install-commands": [
"make CONFIG_PREFIX=\"$DESTDIR\" install",
+ "chmod 6755 \"$DESTDIR\"/bin/busybox",
"install -d \"$DESTDIR\"/usr/share/udhcpc",
"cp examples/udhcp/simple.script \"$DESTDIR\"/usr/share/udhcpc/default.script",
"cp examples/mdev_fat.conf \"$DESTDIR\"/etc/mdev.conf",
diff --git a/busybox.morph b/busybox.morph
index 4986f5fe9..31abeae1f 100644
--- a/busybox.morph
+++ b/busybox.morph
@@ -18,6 +18,7 @@
],
"install-commands": [
"make CONFIG_PREFIX=\"$DESTDIR\" install",
+ "chmod 6755 \"$DESTDIR\"/bin/busybox",
"cp examples/mdev_fat.conf \"$DESTDIR\"/etc/mdev.conf",
"install -d \"$DESTDIR\"/usr/share/udhcpc",
"cp examples/udhcp/simple.script \"$DESTDIR\"/usr/share/udhcpc/default.script"