1. 09 Feb, 2024 1 commit
  2. 31 Oct, 2023 1 commit
  3. 30 Oct, 2023 1 commit
  4. 03 Oct, 2023 1 commit
  5. 30 Dec, 2022 1 commit
  6. 02 Mar, 2022 1 commit
  7. 20 Feb, 2022 1 commit
  8. 15 Aug, 2021 1 commit
  9. 06 Jun, 2021 1 commit
  10. 20 May, 2021 1 commit
  11. 30 Apr, 2021 1 commit
  12. 03 Apr, 2021 1 commit
  13. 24 Dec, 2018 1 commit
  14. 16 Jul, 2018 1 commit
  15. 15 Feb, 2018 1 commit
  16. 04 Dec, 2017 1 commit
  17. 07 Aug, 2017 1 commit
    • Michael Shigorin's avatar
      image.in, main.mk: align debug targets · 319fdfc5
      Michael Shigorin authored
      Weird but the last round of image builds on e2k started complaining:
      
        Makefile:95: *** target file `debug' has both : and :: entries.  Stop.
      
      Looks like these should have been fixed indeed.
      But why didn't this surface before then?
      319fdfc5
  18. 08 Feb, 2016 1 commit
  19. 07 Aug, 2015 1 commit
  20. 04 Feb, 2013 1 commit
    • Michael Shigorin's avatar
      ensure that IMAGEDIR exists (thus globbable) · e46c259a
      Michael Shigorin authored
      It appears that manually specified IMAGEDIR, e.g. by adding
      
        IMAGEDIR = ~/out/$(shell date +%Y%m%d)
      
      to ~/.mkimage/profiles.mk, might be problematic due to
      missing globbing.  Let's make sure the paths are globbed
      and directories are created -- since make's wildcard()
      returns an empty string when there's nothing there [yet].
      e46c259a
  21. 21 Jan, 2013 1 commit
  22. 17 Dec, 2012 1 commit
  23. 10 Oct, 2012 1 commit
    • Michael Shigorin's avatar
      make-3.82 adaptation · 6f5be918
      Michael Shigorin authored
      The issue actually hit image.in/Makefile: "metadata" target
      in features.in/metadata/lib/50-metadata.mk wasn't reached
      even if features.in/build-distro/lib/90-build-distro.mk
      would ACK that the "whatever" actions included "metadata";
      thus Metadata/pkg-groups.tar wasn't created and the installer
      silently failed to install the .base system.
      
      Let's armour the rest of the cases where the order of inclusion
      might be important as well.
      6f5be918
  24. 06 Aug, 2012 1 commit
    • Michael Shigorin's avatar
      image.in/Makefile: support image STATUS · 0d859e70
      Michael Shigorin authored
      Another feature suggested by Michael Radyuk (torabora):
      some images are known alpha/beta quality, it's more handy
      to just state this at the build time than to rename by hand.
      0d859e70
  25. 16 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      prep optimization · 24edc620
      Michael Shigorin authored
      There was some extra duplication, just clean it up.
      24edc620
    • Michael Shigorin's avatar
      non-native ARM support via qemu · d31a2555
      Michael Shigorin authored
      mkimage and hasher can make use of qemu to run
      non-native binaries while working on the chroots;
      thanks kas@, manowar@ and sbolshakov@ for implementing
      this functionality as well as providing nice examples
      through mkimage-profiles-arm and mkimage-profile-armrootfs.
      
      This required the architecture check to be added since baking
      a tarball with "arm" as its specified arch and x86_64 inside
      isn't particularly good thing to let slip through; however
      the implementation is quite fragile, bugreports and patches
      are seriously welcome.
      
      NB: APTCONF evaluation order between lazy make and nimble shell
      turned out to be quite a delicate issue in this particular case.
      d31a2555
  26. 21 Jun, 2012 2 commits
  27. 23 Apr, 2012 1 commit
    • Michael Shigorin's avatar
      better output directory and results structuring · 6e6f572b
      Michael Shigorin authored
      Following m-p-d, a more involved default output directory
      structure is feasible now:
      
        ~/out/name/date/name-date-arch.type
      
      instead of plain
      
        ~/out/name-date-arch.type
      
      This particular behaviour can be achieved by passing
      SORTDIR='$(IMAGE_NAME)/$(DATE)'; note the single quotes.
      
      Reports are also saved in this resulting structure
      albeit the place is still highly debatable.
      6e6f572b
  28. 29 Mar, 2012 1 commit
  29. 07 Feb, 2012 1 commit
    • Michael Shigorin's avatar
      image.in/Makefile: introduced save-profile · 4355f401
      Michael Shigorin authored
      From now on, non-empty SAVE_PROFILE variable will indicate
      the need to carry the particular generated profile inside
      the image built from it.
      
      Thanks gns@ for this feature in liveflash.eeepc.
      4355f401
  30. 06 Feb, 2012 1 commit
  31. 04 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      check vigorously for installed mkimage · 0ec7d7cd
      Michael Shigorin authored
      It was briefly mentioned in QUICKSTART but somehow managed
      to evade the commandlines provided.  And while at it, let's
      make errors like this more explicit to avoid extra lookups.
      Oh, and fix QUICKSTART so that readers miss the hassle. :)
      
      Thanks Vladimir Karpinsky for pointing this problem out.
      0ec7d7cd
  32. 02 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      main.mk introduced, lib/*.mk partially rewritten · 2f307fff
      Michael Shigorin authored
      The former toplevel Makefile is now toplevel main.mk;
      this change allows for multi-target, multi-arch processing
      in the current toplevel Makefile.
      
      As the "build" symlink semantics change quite considerably
      when one is doing bulk builds (several pruned builddirs might
      be useful for comparison), BUILDDIR is now much more likely
      to be recreated: the cases when it will persist are when it's
      either a single-image build or when the prefix hasn't changed.
      
      There are some more or less subtle bugfixes and enhancements
      all over the map as well.
      
      Done within 20111230..20120102 timeframe, actually...
      2f307fff
  33. 16 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      initial isohybrid support · 6fadf7e0
      Michael Shigorin authored
      Here we go with postprocessing priorities along the way
      as ISO hybridization has to occur before implanting
      final MD5 sum (which must happen earlier than e.g. some
      external MD5SUM file generation).
      
      Unfortunately proper dependencies aren't applicable here
      (though I'd like to be proved wrong on this one).
      
      Please note that this needs propagator > 20101130-alt9
      for automatic mode to work (has also been worked around
      in gfxboot case with design-bootloader-source-6.0-alt1).
      
      Thanks rom_as@ for asking about the hybrid image status
      and helping out with testing.
      6fadf7e0
  34. 11 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      initial isomd5sum feature · 52f68973
      Michael Shigorin authored
      This is a base for "media check" to become available:
      using this feature will implant a checksum into the image
      so that it can be verified during install.
      
      Also added a test/demo distro/live-isomd5sum target.
      For real distros an alterator module is probably due.
      52f68973
  35. 09 Nov, 2011 1 commit
  36. 07 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      image.in/Makefile: mkimage version check · 7a8ac9e7
      Michael Shigorin authored
      There's a recommended version (0.2.0+ currently) and also
      the minimal version, 0.1.7, which received the important fixes.
      It was proposed by nice antique@ folks IIRC.
      
      Unfortunately the "suboptimal version" warning is pretty modest,
      and "minimal version" error will be apparent with DEBUG enabled;
      still the latter will terminate the downstream build and leave
      a clear message in build.log at any rate.
      7a8ac9e7
  37. 06 Nov, 2011 2 commits
    • Michael Shigorin's avatar
      downstream postprocessing symlinks tweaked · 3c1bca53
      Michael Shigorin authored
      The bigger goal was being able to set up build in a way
      that would allow for images (with configs and logs) be
      deposited in per-IMAGE_NAME subdirectories of IMAGEDIR;
      that's not done yet but a part of it is ready.
      
      NB: in BUILDDIR, symlinking the just-built image is now
      replaced with symlinking the IMAGEDIR since its location
      is then predictable thus .gitignore-able for further work
      on a generated profile, and more documentable as well.
      It's not a hard change though, if you miss the image link
      just drop me a note (or a commit).
      3c1bca53
    • Michael Shigorin's avatar
      further toplevel logging tweaks · 07fdc6dd
      Michael Shigorin authored
      Essentially some more polishing:
      - image path extracted from downstream build log;
      - extended error/warning regexp a bit so those with
        color grep options get even prettier output.
      
      Notes:
      - "1024" a magic number (briefly explained when introduced)
        moved to a sort of variable;
      - "100 lines" for tail(1) is a rule-of-thumb taking into account
        typical amount of hasher/mkimage exhaust given GLOBAL_VERBOSE.
      07fdc6dd