* [PATCH] dpkg-base: Purge S before unpacking a source apt package
@ 2019-08-27 18:49 Jan Kiszka
2019-09-10 10:38 ` Baurzhan Ismagulov
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2019-08-27 18:49 UTC (permalink / raw)
To: isar-users; +Cc: Henning Schild
From: Jan Kiszka <jan.kiszka@siemens.com>
Otherwise we may run into troubles re-applying patches.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
meta/classes/dpkg-base.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass
index d4541a4..d50d565 100644
--- a/meta/classes/dpkg-base.bbclass
+++ b/meta/classes/dpkg-base.bbclass
@@ -28,6 +28,7 @@ do_apt_fetch() {
if [ -z "${@d.getVar("SRC_APT", True).strip()}" ]; then
exit
fi
+ rm -rf ${S}
dpkg_do_mounts
E="${@ bb.utils.export_proxies(d)}"
sudo -E chroot ${BUILDCHROOT_DIR} /usr/bin/apt-get update \
--
2.16.4
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-10 10:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 18:49 [PATCH] dpkg-base: Purge S before unpacking a source apt package Jan Kiszka
2019-09-10 10:38 ` Baurzhan Ismagulov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox