tiny-image(s): exchange openssh server with dropbear
This commit is contained in:
parent
53cc9f6600
commit
cf1dcbe16d
@ -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"
|
LICENSE = "GPLv2"
|
||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
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/
|
cd ${D}${sysconfdir}/rcS.d/
|
||||||
ln -s ../init.d/networking S40networking.sh
|
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/ntpd S48ntpd.sh
|
||||||
ln -s ../init.d/docker.init S50docker.sh
|
ln -s ../init.d/docker.init S50docker.sh
|
||||||
}
|
}
|
||||||
|
@ -6,9 +6,7 @@ IMAGE_FEATURES += "package-management"
|
|||||||
|
|
||||||
CORE_OS = " \
|
CORE_OS = " \
|
||||||
busybox-initcfg \
|
busybox-initcfg \
|
||||||
openssh \
|
dropbear \
|
||||||
openssh-keygen \
|
|
||||||
openssh-sftp-server \
|
|
||||||
psplash \
|
psplash \
|
||||||
tzdata \
|
tzdata \
|
||||||
"
|
"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user