1. 08 Oct, 2024 1 commit
  2. 25 Mar, 2024 1 commit
  3. 22 Mar, 2024 1 commit
  4. 14 Mar, 2024 1 commit
  5. 04 Mar, 2024 1 commit
  6. 01 Mar, 2024 1 commit
  7. 09 Feb, 2024 1 commit
  8. 07 Feb, 2024 3 commits
  9. 08 Dec, 2023 1 commit
  10. 30 May, 2023 1 commit
    • Anton Midyukov's avatar
      reports: DEBUG must be enabled, CHECK must be disabled · b627d755
      Anton Midyukov authored
      We cannot get IMAGE_OUTPATH from the build.log, and there is currently
      no other mechanism. Creating a CHECK directory was a bad idea. It should
      have been created only for CHECK, but it was always created when DEBUG
      was not enabled. So it's better to just issue a warning.
      b627d755
  11. 27 Mar, 2023 1 commit
    • Anton Midyukov's avatar
      alternatives: initial feature · 2f0cf575
      Anton Midyukov authored
      This feature allows you to set alternatives [1].
      For example, like this:
      
         @$(call add,ALTERNATIVES,/usr/bin/xvt:/usr/bin/xterm)
      
      Also, in the config itself, targets for setting alternatives may already
      be predefined. For example, use/alternatives/xvt/% allows you to specify
      arbitrary alternatives for xvt:
      use/alternatives/xvt/xterm, use/alternatives/xvt/mate-terminal, etc.
      However, an alternative must be available.
      
      1. https://www.altlinux.org/Alternatives
      2f0cf575
  12. 18 Mar, 2023 1 commit
  13. 30 Dec, 2022 4 commits
  14. 04 Dec, 2021 1 commit
    • Michael Shigorin's avatar
      bin/archdep-filter: implement multi-!matching too · 1b5b309b
      Michael Shigorin authored
      This has been clearly lacking while making the previous commit
      but the implementation isn't that clear so let it be a separate
      step.
      
      The problem requiring the change in subsequent processors
      is that these relied upon "@arch" as a flag to be inspected,
      and "pkg@!arch1,arch2" on arch2 needs to take out *all* of that
      fragment *including* arch1 mention as well.
      
      Part of the cause is difference in handling: "positive" multi-match
      would explode its "client" line into multiple lines to filter down
      the pipeline, while "negative" multi-match *has* to keep that line
      on a similarly single line (otherwise we'd end up with N-1 of those
      slipping past the filter for particular architecture thus defeating
      the whole purpose of "negative" matching semantics):
      
      $ echo 'pkg@!E2K,mipsel,riscv64' |
        sed -r  ':loop; s/^((([^@]+@!)[^,]+)+),([a-zA-Z0-9_]+)/\1@!\4/; t loop'
      pkg@!E2K@!mipsel@!riscv64
      
      I've tried my best to test this specific change but it still might
      introduce a regression in some corner case; feel free to report;
      looks like there's a space for improvement in m-p's automated
      tests department as well.
      
      So now we can do:
      
        pkg@!ARCHES1,ARCHES2,arch3,arch4
      
      and have pkg excluded on arches mentioned; the previous approach
      could only offer explicit whitelists (not that it was entirely
      wrong but then again, we have both ExclusiveArch and ExcludeArch
      rpmtags in our spec files).
      1b5b309b
  15. 23 Nov, 2021 1 commit
    • Michael Shigorin's avatar
      bin/archdep-filter: implement multi-matching · 2bc28a9c
      Michael Shigorin authored
      This has been inspired by a few commits that cared
      for package availability reasons on a particular
      architecture; the problem at hand is that pkglists
      might need to include groups of packages that are
      (un)available on groups of arches, and tackling that
      with plain pkg@arch just results in combinatorial
      explosion of that matrix.
      
      Arches are handled one-by-one with a few hardcoded
      macro substitutions.
      
      Exploding a "pkg@arch1,arch2" string into a set of:
      
      pkg@arch1
      pkg@arch2
      
      with subsequent archdep pruning would do the trick;
      so here's another sed oneliner that does just that:
      
      $ echo 'pkg@X86,ARM,ppc64le' |
        sed -r ':loop; s/^((([^@]+@)[^,]+)+),([^,]+)/\1\n\3\4/; t loop'
      pkg@X86
      pkg@ARM
      pkg@ppc64le
      
      See-also: 9601a9e7
      See-also: 5581dc91
      See-also: http://stackoverflow.com/a/55781741/561921
      2bc28a9c
  16. 22 Nov, 2021 1 commit
    • Anton Midyukov's avatar
      build.mk, params.txt: add parameter USE_QEMU · 1c50ff1f
      Anton Midyukov authored
      The parameter determines use of QEMU or not, if the target architecture
      does not correspond to the host architecture.
      By default, the parameter is on (Value 1).
      For architectures that do not support QEMU (e2k), the option is turned off.
      1c50ff1f
  17. 25 Oct, 2021 1 commit
  18. 14 Oct, 2021 1 commit
  19. 21 Sep, 2021 1 commit
  20. 01 Sep, 2021 1 commit
  21. 30 Aug, 2021 1 commit
  22. 23 Aug, 2021 2 commits
  23. 23 Jul, 2021 2 commits
  24. 20 Jul, 2021 1 commit
  25. 18 Jun, 2021 2 commits
  26. 06 Jun, 2021 5 commits
  27. 17 May, 2021 1 commit
  28. 30 Apr, 2021 1 commit