Merge 8d2367a60f
into 3905a71c1d
This commit is contained in:
commit
dd84d9c8f2
1 changed files with 3 additions and 0 deletions
|
@ -80,6 +80,9 @@ build ()
|
||||||
add_dir "/root/.ssh"
|
add_dir "/root/.ssh"
|
||||||
cat /etc/dropbear/root_key > "${BUILDROOT}"/root/.ssh/authorized_keys
|
cat /etc/dropbear/root_key > "${BUILDROOT}"/root/.ssh/authorized_keys
|
||||||
|
|
||||||
|
groupadd --prefix "${BUILDROOT}" --system -g 0 root
|
||||||
|
useradd --prefix "${BUILDROOT}" --system -g root -u 0 -M -d /root -s /bin/sh root
|
||||||
|
|
||||||
add_full_dir "/etc/dropbear"
|
add_full_dir "/etc/dropbear"
|
||||||
add_file "/lib/libnss_files.so.2"
|
add_file "/lib/libnss_files.so.2"
|
||||||
add_dir "/var/run"
|
add_dir "/var/run"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue