tiny-image(s): exchange openssh server with dropbear
This commit is contained in:
parent
b7f42c197e
commit
cb62f4e8a3
@ -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
|
||||
|
||||
}
|
||||
|
@ -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/
|
||||
}
|
||||
|
5
recipes-containers/docker/files/daemon.json
Normal file
5
recipes-containers/docker/files/daemon.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"ipv6": true,
|
||||
"fixed-cidr-v6": "2001:db8:1::/64"
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -6,9 +6,7 @@ IMAGE_FEATURES += "package-management"
|
||||
|
||||
CORE_OS = " \
|
||||
busybox-initcfg \
|
||||
openssh \
|
||||
openssh-keygen \
|
||||
openssh-sftp-server \
|
||||
dropbear \
|
||||
psplash \
|
||||
tzdata \
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user