Skip to content

Commit

Permalink
classes: openrc-image: drop debug-tweaks IMAGE_FEATURE
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbronder committed Nov 12, 2024
1 parent cb41395 commit b24a142
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/openrc-image.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ openrc_delete_services() {
}

# Like oe-core/meta/classes/rootfs-postcommands, allow dropbear to accept
# logins from accounts with an empty password string if debug-tweaks or
# allow-empty-password is enabled.
ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains_any('IMAGE_FEATURES', ['debug-tweaks', 'allow-empty-password'], 'openrc_ssh_allow_empty_password; ', '', d)}"
# logins from accounts with an empty password string if allow-empty-password is
# enabled.
ROOTFS_POSTPROCESS_COMMAND += "${@bb.utils.contains('IMAGE_FEATURES', 'allow-empty-password', 'openrc_ssh_allow_empty_password; ', '', d)}"

openrc_ssh_allow_empty_password() {
local confd=${IMAGE_ROOTFS}${OPENRC_CONFDIR}/dropbear
Expand Down

0 comments on commit b24a142

Please sign in to comment.