Skip to content
Snippets Groups Projects

build: envkernel: cleanup behaviour

Merged Caleb Connolly requested to merge caleb/envkernel-fix into master
  1. Nov 20, 2024
    • Caleb Connolly's avatar
      build: envkernel: cleanup behaviour (MR 2491) · 04635dcb
      Caleb Connolly authored and Oliver Smith's avatar Oliver Smith committed
      
      recent changes to the kernels build infra in -next seem to have exposed
      some issues with "pmbootstrap build --envkernel", specifically in the
      case where the APKBUILD doesn't build out-of-tree.
      
      We used to rely on the fact that the kernel output directory contains a
      Makefile which points to the source directory, however this Makefile
      now(?) contains an absolute path on the host, which won't match what's
      in the chroot.
      
      As a result, it's now necessary to build with the same output directory
      as the APKBUILD.
      
      We probably need some smarter code here... and/or more consistent
      APKBUILDs.
      
      Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
      Unverified
      04635dcb
Loading