Its last consumer, the mmdebstrap setup hook uploading the file to
/etc/apt/sources-init, was removed in commit "mmdebstrap: drop
orphan upload of APTSRCS_INIT to /etc/apt/sources-list", leaving dead
code that wastes a do_apt_config_prepare write on every bootstrap.
meta/classes-recipe/bootstrap.bbclass | 3 ---
1 file changed, 3 deletions(-)
diff --git a/meta/classes-recipe/bootstrap.bbclass b/meta/classes-recipe/bootstrap.bbclass
index 03014cb8..51cd2517 100644
--- a/meta/classes-recipe/bootstrap.bbclass
+++ b/meta/classes-recipe/bootstrap.bbclass
@@ -16,7 +16,6 @@ BOOTSTRAP_FOR_HOST ?= "0"
APTPREFS = "${WORKDIR}/apt-preferences"
APTSRCS = "${WORKDIR}/apt-sources"
-APTSRCS_INIT = "${WORKDIR}/apt-sources-init"
DISTRO_BOOTSTRAP_KEYFILES = ""
THIRD_PARTY_APT_KEYFILES = ""
DISTRO_BOOTSTRAP_KEYS ?= ""
@@ -222,10 +221,8 @@ python do_apt_config_prepare() {
aggregate_files(d, apt_preferences_list, apt_preferences_out)
apt_sources_out = d.getVar("APTSRCS")
- apt_sources_init_out = d.getVar("APTSRCS_INIT")
apt_sources_list = get_aptsources_list(d)
- aggregate_files(d, apt_sources_list, apt_sources_init_out)
aggregate_aptsources_list(d, apt_sources_list, apt_sources_out)
}
addtask apt_config_prepare before do_bootstrap after do_unpack
--
2.54.0