diff --git a/dropbear_install b/dropbear_install index 1371746..2936200 100644 --- a/dropbear_install +++ b/dropbear_install @@ -100,8 +100,12 @@ build () add_file "/lib/libnss_files.so.2" add_dir "/var/run" add_dir "/var/log" + touch "${BUILDROOT}"/var/log/lastlog + [ -f "${BUILDROOT}"/etc/passwd ] || echo "root:x:0:0::/root:/bin/sh" > "${BUILDROOT}"/etc/passwd + [ -f "${BUILDROOT}"/etc/group ] || echo "root:x:0:" > "${BUILDROOT}"/etc/group + add_runscript }