aboutsummaryrefslogtreecommitdiff
path: root/scripts/root
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-05-09 23:36:07 -0500
committerRob Landley <rob@landley.net>2020-05-09 23:36:07 -0500
commitaeacb2891013482881b125ce68b7a05054e3350e (patch)
treed99c9c6e0b89dbe5773102223573fe854c087d8f /scripts/root
parent7573e325d3e9ed3d21fc8a93c464604c974ed76b (diff)
downloadtoybox-aeacb2891013482881b125ce68b7a05054e3350e.tar.gz
Add an actual hardware target (sh2eb) to "make root".
Diffstat (limited to 'scripts/root')
-rwxr-xr-xscripts/root/dropbear2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/root/dropbear b/scripts/root/dropbear
index 9dc9bb0d..a2a49ddc 100755
--- a/scripts/root/dropbear
+++ b/scripts/root/dropbear
@@ -33,7 +33,7 @@ sed -i 's@/usr/bin/dbclient@ssh@' options.h &&
sed -i 's@\(#define NON_INETD_MODE\) 1@\1 0@' default_options.h &&
make -j $(nproc) PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1 SCPPROGRESS=1 &&
${CROSS_COMPILE}strip dropbearmulti &&
-mkdir -p "$ROOT"/{bin,etc/dropbear,var/log} &&
+mkdir -p "$ROOT"/{bin,etc/{rc,dropbear},var/log} &&
touch "$ROOT"/var/log/lastlog &&
cp dropbearmulti "$ROOT"/bin || exit 1
for i in "$ROOT"/bin/{ssh,dropbear,scp,dropbearkey}