file://dropbear-0.53.1-static_build_fix.patch \
file://configure.patch \
file://fix-2kb-keys.patch \
- file://allow-nopw.patch;apply=no \
+ ${@base_contains("DISTRO_TYPE", "debug", "file://allow-nopw.patch", "",d)} \
file://init \
${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} "
DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
-do_debug_patch() {
- if [ "${DISTRO_TYPE}" = "debug" ]; then
- bbnote "WARNING: applying allow-nopw.patch which allows password-less logins!"
- patch -p1 < ${WORKDIR}/allow-nopw.patch
- fi
-}
-
-addtask do_debug_patch after do_patch before do_configure
-
do_install() {
install -d ${D}${sysconfdir} \
${D}${sysconfdir}/init.d \