public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/2] use BPN instead of PN for PP
@ 2024-09-12  8:27 'Cedric Hombourger' via isar-users
  2024-09-12  8:27 ` [PATCH 1/2] refactor: remove duplicate definition of BPN 'Cedric Hombourger' via isar-users
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: 'Cedric Hombourger' via isar-users @ 2024-09-12  8:27 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

With 2ca3a7e5, sources are built only once and re-used when building
-native and -compat binary packages. The dpkg-raw class generates
a debian/rules file with ${PP}/image expanded: this causes build
of the -compat or -native variants to fail since /home/builder/${PN}
does not exist in the sbuild environment of -compat/-native.

Change the definition of PP to be /home/builder/${BPN} so that the
expanded value remains the same for all variants.

Having absolute paths in generated debian/rules files is obviously
questionable.


Cedric Hombourger (2):
  refactor: remove duplicate definition of BPN
  dpkg: use BPN instead of PN when defining PP

 meta/classes/dpkg-base.bbclass | 2 +-
 meta/classes/multiarch.bbclass | 2 --
 meta/classes/sbuild.bbclass    | 2 +-
 meta/classes/sdk.bbclass       | 1 -
 meta/conf/bitbake.conf         | 1 +
 5 files changed, 3 insertions(+), 5 deletions(-)

-- 
2.39.2

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240912082741.354985-1-cedric.hombourger%40siemens.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-19 13:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-12  8:27 [PATCH 0/2] use BPN instead of PN for PP 'Cedric Hombourger' via isar-users
2024-09-12  8:27 ` [PATCH 1/2] refactor: remove duplicate definition of BPN 'Cedric Hombourger' via isar-users
2024-09-12  8:27 ` [PATCH 2/2] dpkg: use BPN instead of PN when defining PP 'Cedric Hombourger' via isar-users
2024-09-19 13:17 ` [PATCH 0/2] use BPN instead of PN for PP Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox