Skip to content
Snippets Groups Projects
  1. Oct 15, 2024
  2. Oct 13, 2024
  3. Oct 11, 2024
    • Clayton Craft's avatar
      pmb.build: make sure cross compiler config is appropriate for each given package (MR 2433) · e56eadd6
      Clayton Craft authored
      Here's the problem: Imagine a queue with 2 packages in it, the 1st
      package uses crossdirect and the second uses cross-native. When building
      the 1st package, pmb will configure the native chroot for crossdirect
      as expected. When it gets to the 2nd package, the chroot env/config
      might not be appropriate for actually doing a native cross compile.
      
      This re-inits the cross compiler stuff if the cross compile method
      changes while processing the queue.
      
      Another approach that might solve this problem is to not re-use chroots
      when building packages... I didn't think this was a good way to go
      because it would greatly increase runtime (having to recreate chroots
      multiple times)
      e56eadd6
  4. Oct 08, 2024
  5. Oct 07, 2024
  6. Oct 03, 2024
  7. Sep 30, 2024
  8. Sep 26, 2024
  9. Sep 22, 2024
    • Oliver Smith's avatar
      pmb.helpers.pmaports.get_repo: "systemd" or None (MR 2405) · c7a7fee9
      Oliver Smith authored
      This function is used by "pmbootstrap repo_missing", which is only used
      by bpo. In order to support building the split repository in bpo, this
      patch is required.
      
      Return "systemd" for the packages that are in extra-repos/systemd, and
      None for all other packages (indicating that they don't get split into a
      separate repository).
      
      Checking the parent-parent dir of the APKBUILD is a bit fragile
      (assuming we don't have subdirs in the systemd repository), but that
      assumption was made with the previous implementation as well (would only
      return "systemd" in that case). I don't see a better solution with
      reasonable effort right now, given that we also support multiple
      pmaports dirs. We can improve this in the future, meanwhile let's just
      not use subdirs in the systemd repository.
      c7a7fee9
    • Oliver Smith's avatar
      pmb.helpers.pmaports.get_repo: drop must_exist (MR 2405) · 61a9bdc8
      Oliver Smith authored
      The function is never called with must_exist=False, so drop it.
      61a9bdc8
Loading