From bb0055e0eb93cfcc0a8f93a0a315b562a314d7aa Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Sun, 17 Aug 2014 17:53:35 +0200 Subject: [PATCH] dropbear: restore init script, as it's needed for RSA key generation in initramfs --- .../recipes-core/dropbear/dropbear_2013.58.bbappend | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta-opendreambox/recipes-core/dropbear/dropbear_2013.58.bbappend b/meta-opendreambox/recipes-core/dropbear/dropbear_2013.58.bbappend index 25a43a79..3ed460fd 100644 --- a/meta-opendreambox/recipes-core/dropbear/dropbear_2013.58.bbappend +++ b/meta-opendreambox/recipes-core/dropbear/dropbear_2013.58.bbappend @@ -8,17 +8,15 @@ SYSTEMD_SERVICE_${PN} = "dropbear.socket" inherit systemd xinetd do_install_append() { - rm -rf ${D}${sysconfdir}/init.d - install -d ${D}${sysconfdir}/default echo 'DROPBEAR_EXTRA_ARGS="-B"' > ${D}${sysconfdir}/default/dropbear + echo 'DAEMON="${base_bindir}/true"' >> ${D}${sysconfdir}/default/dropbear install -d ${D}${systemd_unitdir}/system + ln -sf /dev/null ${D}${systemd_unitdir}/system/dropbear.service install -m644 ${WORKDIR}/dropbear@.service ${D}${systemd_unitdir}/system install -m644 ${WORKDIR}/dropbear.socket ${D}${systemd_unitdir}/system install -m644 ${WORKDIR}/dropbearkey.service ${D}${systemd_unitdir}/system } FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -INITSCRIPT_PACKAGES = "" -- 2.20.1