From 08fd8660acf19ad6e274665051bc8377185e18cb Mon Sep 17 00:00:00 2001 From: Willy Tu Date: Tue, 9 Feb 2021 16:31:28 -0800 Subject: meta-google: recipes-core: dropbear: Import from gBMC Update recipes-core/dropbear code from gBMC. Google-Bug-Id: 179618554 Upstream: 8ac594bdf054082ca6dbe35c4345759fe4c31669 Signed-off-by: Willy Tu Change-Id: I56886cf316ebc5f77e0f5afdc0bcc970d7cf490e --- meta-google/recipes-core/dropbear/dropbear/dropbear.default | 1 + meta-google/recipes-core/dropbear/dropbear_%.bbappend | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 meta-google/recipes-core/dropbear/dropbear/dropbear.default (limited to 'meta-google/recipes-core/dropbear') diff --git a/meta-google/recipes-core/dropbear/dropbear/dropbear.default b/meta-google/recipes-core/dropbear/dropbear/dropbear.default new file mode 100644 index 000000000..e5f778145 --- /dev/null +++ b/meta-google/recipes-core/dropbear/dropbear/dropbear.default @@ -0,0 +1 @@ +DROPBEAR_EXTRA_ARGS="" diff --git a/meta-google/recipes-core/dropbear/dropbear_%.bbappend b/meta-google/recipes-core/dropbear/dropbear_%.bbappend index 20c53fecb..e93eba8b6 100644 --- a/meta-google/recipes-core/dropbear/dropbear_%.bbappend +++ b/meta-google/recipes-core/dropbear/dropbear_%.bbappend @@ -1,3 +1,10 @@ +FILESEXTRAPATHS_prepend_gbmc := "${THISDIR}/${PN}:" +SRC_URI_append_gbmc = " file://dropbear.default" +SYSTEMD_AUTO_ENABLE_${PN}_prod = "disable" + +FILESEXTRAPATHS_remove_gbmc_bandaid := "${THISDIR}/${PN}:" +SYSTEMD_AUTO_ENABLE_${PN}_bandaid_prod = "enable" + # Allow SSH to the mgmt node on DEV builds do_install_append_gbmc_dev() { nftables_dir=${D}${sysconfdir}/nftables -- cgit v1.2.3