summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
authorSimon Rettberg2013-11-27 17:38:29 +0100
committerSimon Rettberg2013-11-27 17:38:29 +0100
commit043537b3f657a50be3eabde991ad9e858fe7619d (patch)
tree5752b3b0dd618185e9ef9c1a7dcfa2ab6ab2c335 /remote/rootfs
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-043537b3f657a50be3eabde991ad9e858fe7619d.tar.gz
tm-scripts-043537b3f657a50be3eabde991ad9e858fe7619d.tar.xz
tm-scripts-043537b3f657a50be3eabde991ad9e858fe7619d.zip
[rfs-stage32] Make our busybox ash the default /bin/sh
Diffstat (limited to 'remote/rootfs')
l---------remote/rootfs/rootfs-stage32/data/bin/sh1
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build3
2 files changed, 1 insertions, 3 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/bin/sh b/remote/rootfs/rootfs-stage32/data/bin/sh
new file mode 120000
index 00000000..f8c409b1
--- /dev/null
+++ b/remote/rootfs/rootfs-stage32/data/bin/sh
@@ -0,0 +1 @@
+/opt/openslx/bin/ash \ No newline at end of file
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index 1b1b190b..cdb73342 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -93,9 +93,6 @@ post_copy() {
# link /etc/mtab, needed for systemd
[ ! -e "${TARGET_BUILD_DIR}/etc/mtab" ] && ln -s "/proc/self/mounts" "${TARGET_BUILD_DIR}/etc/mtab"
- # need a /bin/sh
- [ ! -e "$TARGET_BUILD_DIR/bin/sh" ] && ln -s "bash" "$TARGET_BUILD_DIR/bin/sh"
-
# passwd, group, shadow
init_users_and_groups