* [PATCH(sbuild) 1/1] locate generated binary package in WORKDIR
@ 2022-05-13 14:57 Felix Moessbauer
0 siblings, 0 replies; only message in thread
From: Felix Moessbauer @ 2022-05-13 14:57 UTC (permalink / raw)
To: isar-users; +Cc: amikan, jan.kiszka, Felix Moessbauer
With sbuilder, the generated binary packages are always
emitted into the WORKDIR indepedent of the value of ${S}.
Prior to this fix, this only worked if ${S} was a direct
subfolder of ${WORKDIR} (but no nested folder).
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
meta/classes/dpkg-base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/dpkg-base.bbclass b/meta/classes/dpkg-base.bbclass
index e879bf9c..8743f621 100644
--- a/meta/classes/dpkg-base.bbclass
+++ b/meta/classes/dpkg-base.bbclass
@@ -282,7 +282,7 @@ deb_clean() {
do_deploy_deb() {
deb_clean
repo_add_packages "${REPO_ISAR_DIR}"/"${DISTRO}" \
- "${REPO_ISAR_DB_DIR}"/"${DISTRO}" "${DEBDISTRONAME}" ${S}/../*.deb
+ "${REPO_ISAR_DB_DIR}"/"${DISTRO}" "${DEBDISTRONAME}" ${WORKDIR}/*.deb
}
addtask deploy_deb after do_dpkg_build before do_build
--
2.30.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-13 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 14:57 [PATCH(sbuild) 1/1] locate generated binary package in WORKDIR Felix Moessbauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox