Skip to content
Snippets Groups Projects
  1. Oct 11, 2024
    • Clayton Craft's avatar
      pmb.build: make sure cross compiler config is appropriate for each given package · d37751c4
      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)
      Verified
      d37751c4
  2. Oct 08, 2024
  3. Oct 07, 2024
  4. Oct 03, 2024
  5. Sep 30, 2024
  6. Sep 26, 2024
  7. 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.
      Unverified
      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.
      Unverified
      61a9bdc8
    • Oliver Smith's avatar
      repo_missing: set try_other_arches to False · b25fa5a8
      Oliver Smith authored
      Don't attempt to find packages of other arches in repo_missing code.
      This leads to unexpected results in general (we want to check if a
      binary package exists for only one specific architecture!) - and in case
      of master_staging_systemd, it current causes errors because pmbootstrap
      tries to fetch armhf, riscv etc. APKINDEXes for which we don't build the
      staging repositories.
      Unverified
      b25fa5a8
    • Oliver Smith's avatar
      helpers.package.get: pass try_other_arches along · 476976ba
      Oliver Smith authored
      Let the get() function pass the try_other_arches parameter when calling
      itself, so it does not get lost.
      Unverified
      476976ba
  8. Sep 19, 2024
  9. Sep 18, 2024
  10. Sep 17, 2024
Loading