tiny-image(s): exchange openssh server with dropbear

This commit is contained in:
Thomas Klaehn 2020-01-31 13:28:54 +01:00
parent b7f42c197e
commit cb62f4e8a3
5 changed files with 16 additions and 13 deletions

View File

@ -1,9 +0,0 @@
do_install_append () {
install -d ${D}${sysconfdir}/
install -d ${D}${sysconfdir}/rcS.d/
cd ${D}${sysconfdir}/rcS.d/
ln -s ../init.d/sshd S47sshd.sh
}

View File

@ -1,5 +1,13 @@
LICENSE = "GPLv2"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " file://docker.init"
SRC_URI += " \
file://docker.init \
file://daemon.json \
"
do_install_append() {
install -d ${D}${sysconfdir}/
install -d ${D}${sysconfdir}/docker/
install -m 0600 ${WORKDIR}/daemon.json ${D}${sysconfdir}/docker/
}

View File

@ -0,0 +1,5 @@
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}

View File

@ -22,6 +22,7 @@ do_install_append () {
cd ${D}${sysconfdir}/rcS.d/
ln -s ../init.d/networking S40networking.sh
ln -s ../init.d/dropbear S47dropbear.sh
ln -s ../init.d/ntpd S48ntpd.sh
ln -s ../init.d/docker.init S50docker.sh
}

View File

@ -6,9 +6,7 @@ IMAGE_FEATURES += "package-management"
CORE_OS = " \
busybox-initcfg \
openssh \
openssh-keygen \
openssh-sftp-server \
dropbear \
psplash \
tzdata \
"