1. 23 Jul, 2021 3 commits
  2. 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
  3. 01 Feb, 2021 1 commit
  4. 25 Jan, 2021 1 commit
  5. 26 Nov, 2020 1 commit
  6. 09 Sep, 2020 1 commit
  7. 15 Jul, 2020 2 commits
  8. 22 May, 2020 1 commit
  9. 07 Apr, 2020 3 commits
  10. 03 Apr, 2020 1 commit
  11. 01 Nov, 2019 1 commit
  12. 31 Oct, 2019 1 commit
    • Michael Shigorin's avatar
      bin/check-pkg-list: imported from m-p-d · 0e9bb9a6
      Michael Shigorin authored
      I've long wanted to have this nice helper around in m-p too
      but might have set the bar too high.
      
      The "prorper integration" idea was to have the script check
      just those pkglists which are relevant for a given image IIRC.
      
      Let's toss it in to begin.
      0e9bb9a6
  13. 23 Oct, 2019 1 commit
    • Michael Shigorin's avatar
      bin/archdep-filter: factored out · fab15ba7
      Michael Shigorin authored
      This code started breeding within pkg.in/*/Makefile,
      and it was lacking both E2K (as a generic alias,
      not just "e2k or e2kv4") _and_ the ability to negate
      selection, as in "everywhere but not on any e2k").
      
      Let's fix all of that at once, and parallelize sed
      execution as well; my tests with 1000-line file
      containing "a b c d@!E2K e@e2k f g@!X86 h i@IA32"
      lines show roughly 3x higher CPU load and lower
      execution time (~0.3 sec vs ~0.9 sec on 801-PC).
      
      And turn that code snippet into a proper filter
      with inline edit capability (I've dropped the exit
      trap as failing to mv signals a disaster anyway).
      fab15ba7
  14. 23 Sep, 2019 1 commit
    • Anton Midyukov's avatar
      tar2fs: avoid duplicate fstab entry · 2ac26880
      Anton Midyukov authored
      This commit fixes duplication of root device entry in /etc/fstab
      and changes LABEL=ROOT entry with the proper one if found.
      
      Apparently this didn't hurt qemu images much though...
      2ac26880
  15. 19 Aug, 2019 5 commits
  16. 10 Jun, 2019 2 commits
    • Anton Midyukov's avatar
      tar2fs: implement u-boot support · d571ab54
      Anton Midyukov authored
      d571ab54
    • Michael Shigorin's avatar
      cleanlog, reports.mk: factor the script out · f8ae619b
      Michael Shigorin authored
      Sometimes REPORT=1 just wasn't passed to make, and the build.log
      saved is noisy and harder to compare through diff(1); let's move
      the implementation out of the makefile and into a standalone
      script so it can be reused like this:
      
        BUILDDIR=$(sed -rn "s/^mki-image-scripts: export GLOBAL_BUILDDIR='(.*)'$/\1/p" build/build.log
        bin/cleanlog < build/build.log > build/reports/clean.log
      
      See "export GLOBAL_BUILDDIR=" line in the particular log
      (grabbing that one from stdin is not exactly trivial though).
      f8ae619b
  17. 04 Jun, 2019 2 commits
  18. 04 Mar, 2019 2 commits
  19. 25 Dec, 2018 1 commit
  20. 24 Dec, 2018 1 commit
  21. 29 Oct, 2018 2 commits
  22. 21 May, 2018 2 commits
  23. 07 Aug, 2017 1 commit
    • Michael Shigorin's avatar
      tar2fs: chgrp and failsafe kpartx · aa7f2d84
      Michael Shigorin authored
      The current state made vm images belong to root group,
      no reason to not change those to the primary group of
      the user building an image.
      
      kpartx -d -s could fail in some circumstances,
      make a safety cleanup call more verbose.
      aa7f2d84
  24. 02 Aug, 2017 2 commits
    • Michael Shigorin's avatar
      tar2fs: add e2k arch support · 35dd2008
      Michael Shigorin authored
      Somewhat ARM-like with only the bootloader bits
      standing out; Elbrus 2000 firmware can read ext2
      and boot the kernel directly.
      35dd2008
    • Michael Shigorin's avatar
      build-vm, tar2fs: unify kver handling · 3d7a0c5c
      Michael Shigorin authored
      No need to deduce kernel version again,
      just save it in a temporary file.
      
      The main reason to change what worked is
      that e2k kernel-image package has Linux bits
      named as image-$kver and not vmlinuz-$kver;
      the guessing logic taking all of this into
      account resulted in non-aesthetic patch.
      
      NB: there's a duplicating script within
          kernel feature; it wasn't easy to avoid
          this and it might differ when handling
          multiple kernels, I didn't think much
          about this now as vm images tend to ship
          with the sole one.
      3d7a0c5c
  25. 08 Feb, 2017 1 commit