mbox series

[0/1] dpkg-raw: make sure do_install gets called for -compat/-native builds

Message ID 20240912151121.212959-1-cedric.hombourger@siemens.com
Headers show
Series dpkg-raw: make sure do_install gets called for -compat/-native builds | expand

Message

Cedric Hombourger Sept. 12, 2024, 3:11 p.m. UTC
With sources being built only once, do_prepare_build (and its dependencies)
are skipped when building -compat or -native packages. This unfortunately
means that do_install is not executed and is causing the package build
to fail as the install step is not finding any files in ${PP}/image. To
avoid changing how do_install is scheduled in the normal case, it is simply
added as an extra dependency to do_dpkg_build to make sure it gets executed
prior to the build of the binary package.

This patch depends on https://groups.google.com/g/isar-users/c/Ys54mk6_bRM

Cedric Hombourger (1):
  dpkg-raw: make sure do_install gets called for -compat/-native builds

 meta/classes/dpkg-raw.bbclass | 6 ++++++
 1 file changed, 6 insertions(+)