1. 25 Mar, 2024 1 commit
    • Anton Midyukov's avatar
      Expand @KFLAVOUR in package lists · 5739103f
      Anton Midyukov authored
      The line containing @KFLAVOUR is expanded into several lines,
      it is successively replaced with values from the KFLAVOURS variable.
      This will allow to specify kernel modules and kernel headers in lists.
      5739103f
  2. 01 Oct, 2023 1 commit
    • Anton Midyukov's avatar
      Remove lilo support · 5c4f4aab
      Anton Midyukov authored
      lilo is stagnating, it is better to prepare in advance for the fact
      that it will not exist.
      5c4f4aab
  3. 21 Aug, 2023 2 commits
  4. 18 Jul, 2023 3 commits
  5. 03 Jul, 2023 2 commits
  6. 17 Apr, 2023 2 commits
  7. 03 Jun, 2022 2 commits
  8. 12 May, 2022 1 commit
  9. 11 Apr, 2022 3 commits
  10. 05 Apr, 2022 1 commit
  11. 04 Dec, 2021 3 commits
    • Michael Shigorin's avatar
      bin/archdep-filter: a debugging note · ca6ec25e
      Michael Shigorin authored
      ...just to have it handy when it's in need next time.
      ca6ec25e
    • Michael Shigorin's avatar
      bin/archdep-filter: cosmetic cleanups · b963e9bf
      Michael Shigorin authored
      "-a arch" is not requisite either; and having bunches
      of empty lines in the resulting pkglists that are user
      visible at least within the conventional installer's
      alterator-pkg (groups selection) module wouldn't be nice.
      
      I chose to sacrifice empty-line separators for clarity;
      the really good cleanup would save *single* empty lines
      between chunks of non-empty ones (not at the pkglist's
      start or end); feel free to implement that as well.
      b963e9bf
    • 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
  12. 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
  13. 22 Nov, 2021 1 commit
  14. 04 Sep, 2021 1 commit
  15. 23 Aug, 2021 6 commits
  16. 23 Jul, 2021 3 commits
  17. 28 Apr, 2021 1 commit
    • Michael Shigorin's avatar
      tar2fs: fix e2k handling · ee889270
      Michael Shigorin authored
      The missing glob resulted in disk images properly
      partitioned only for e2kv3 ("e2k" for historical
      reasons in ALT), and v4+ ones only got a single
      ext4 partition that wouldn't work with current
      MCST's Boot code.
      ee889270
  18. 01 Feb, 2021 1 commit
  19. 25 Jan, 2021 1 commit
  20. 26 Nov, 2020 1 commit
  21. 09 Sep, 2020 1 commit
  22. 15 Jul, 2020 2 commits