You need to sign in or sign up before continuing.
  1. 01 May, 2020 1 commit
  2. 07 Apr, 2020 1 commit
  3. 30 Aug, 2019 1 commit
  4. 19 Aug, 2019 2 commits
  5. 02 Apr, 2019 1 commit
  6. 08 Mar, 2019 1 commit
  7. 25 Dec, 2018 1 commit
  8. 24 Dec, 2018 1 commit
  9. 25 Jul, 2018 1 commit
    • Michael Shigorin's avatar
      rework isoboot support beyond x86 · 3c2ef1c0
      Michael Shigorin authored
      Every .iso was assumed to be bootable since the very beginning[*],
      and isoboot images were deemed to be x86 isolinux ones; this didn't
      change with basic ppc/armh support as I never ran into hardware
      that would _boot_ those ISOs, not only run the code, and it was
      only e2k isodata project that finally forced this refactoring.
      
      It's still not perfect: pack and syslinux features still end up
      somewhat interwoven, and too much places care for architecture
      the image is being built for (instead of archdep features tossing
      their appropriate bits and pieces in).
      
      Should help:
      - any-arch regarding isodata images;
      - {x86,aarch64}/efi by decoupling isoboot and isolinux;
      - ppc{,64} as introducing yaboot support will be easier now;
      - mipsel{,64} too, hopefully.
      
      * I knew of school addon images baked with mkimage-profiles-desktop
        but postponed and then neglected the whole problem for years...
      3c2ef1c0
  10. 05 Jun, 2018 1 commit
  11. 23 May, 2018 1 commit
  12. 21 May, 2018 2 commits
    • Michael Shigorin's avatar
      build.mk: just go on for e2k* · d010cef3
      Michael Shigorin authored
      There's no qemu there so far, and there's no need
      to fiddle with setarch either.
      
      NB: part of this commit erroneously went into
          1c777c8a
          quite some time ago, sorry about the mess.
      d010cef3
    • Michael Shigorin's avatar
      boot.mk, build-distro: handle e2k · cdaa9cda
      Michael Shigorin authored
      It needs (and has) no isolinux in the first place;
      this is also the situation with most or all non-x86
      arches, the code should probably reflect that.
      cdaa9cda
  13. 23 Apr, 2018 1 commit
  14. 29 Nov, 2016 1 commit
  15. 12 Sep, 2016 1 commit
  16. 26 Jul, 2016 1 commit
  17. 15 Apr, 2016 1 commit
  18. 15 Mar, 2016 1 commit
  19. 10 Jan, 2016 1 commit
    • Michael Shigorin's avatar
      QUICKSTART, mktmpdir, build.mk: hasher's /proc · 3b3cf4cc
      Michael Shigorin authored
      Either /etc/hasher-priv/system or /etc/hasher-priv/user.d/$USER
      must contain at least "allowed_mountpoints=/proc" for mkimage
      to work for mkimage-profiles; thanks Daniil Golovanov for
      providing feedback indicating the lack of the corresponding
      checks.
      3b3cf4cc
  20. 30 Nov, 2015 1 commit
  21. 09 Oct, 2015 1 commit
  22. 20 Apr, 2015 1 commit
    • Michael Shigorin's avatar
      pkg.in/lists: archdep suffices for pkglists · ac5dbb4b
      Michael Shigorin authored
      This is an initial implementation of architecture dependent
      contents handling for package lists more or less in the vein
      of mkimage-profiles-desktop's one *but* using suffix part to
      filter words in or out *not* prefix part to replace it with
      a comment marker (thus filtering out lines).
      
      The syntax should be pretty obvious:
      
        a b@i586 c@x86_64
      
      will get "a b" given ARCH=i586 and "a c" given ARCH=x86_64;
      please see doc/archdep.txt for a more elaborate description
      and a conversion script.
      ac5dbb4b
  23. 02 Apr, 2015 2 commits
    • Michael Shigorin's avatar
      introduce QUIET variable · 3cb4d9ae
      Michael Shigorin authored
      This one reduces the amount of output that's only
      interesting when one is actually watching the console
      during builds (at least the early stage) -- these tend
      to look boilerplate and be useless when inspecting the
      output of a large batch build like [[regular]] one.
      3cb4d9ae
    • Michael Shigorin's avatar
      help.mk, clean.mk: drop __frontend for tty test · ec3d40cc
      Michael Shigorin authored
      The __frontend variable was introduced to address the needs
      of alterator-mkimage module: list the images available in
      one column, purge the builddir.
      
      Looks like we should consider other cases with redirected
      stdout (cron builds, piped calls, etc) like fundamentally
      non-interactive and behave the same.
      
      So commit 3a8af6b5's
      description is wrong now; the current cleanup rules are:
      
      - if CLEAN=0 or DEBUG>1, don't do it;
      - if CHECK or REPORT is set, don't do it;
      - otherwise if at least one of the following conditions is true:
        + there's more than one target being built in a row;
        + stdout was redirected (cronjob, alterator-mkimage...);
        + metaprofile directory is read-only
        ...then do a distclean.
      
      If that doesn't suit your needs, describe the particular
      situation please.
      
      Thanks cas@ for wondering aloud whether greppable output
      is unsupported with `make help'.
      ec3d40cc
  24. 29 Mar, 2015 1 commit
    • Michael Shigorin's avatar
      boot.mk: factor out boot/% from distro.mk · b2cfbc3f
      Michael Shigorin authored
      Yes these bits are related to distro/ prefixed images
      still the overgeneralization in distro.mk didn't pay off
      but rather hid a bug with the only boot/isolinux in use
      having no dependency on use/syslinux (which is required).
      
      Maybe this will get revisited when we have other kinds
      of bootable images with other bootloaders (vm/ ones care
      for themselves as of today).
      b2cfbc3f
  25. 14 Nov, 2014 1 commit
    • Michael Shigorin's avatar
      lib/functions.mk: tiny but important note · c293dd14
      Michael Shigorin authored
      There's a particular problem with lazy evaluation
      in case of BOOT_LANG: mkimage uses internal variable,
      BOOT_LANG = $(GLOBAL_BOOT_LANG) (note the lack of
      immediate assignment there), and if we set up
      
        export GLOBAL_BOOT_LANG = $(BOOT_LANG)
      
      in the same namespace we end up with recursively
      defined pair of variables; a ":=" in either place
      would save the day _but_ it's not there in m-p due to
      accumulator variables, e.g. USERS, which are defined
      and exported by a corresponding feature and then get
      populated *after* having been declared for export,
      _and_ it's not in mkimage as of 0.2.16 for some reason
      that might even be good (I don't know yet).
      c293dd14
  26. 19 Sep, 2014 1 commit
    • Michael Shigorin's avatar
      functions.mk: allow setting to an empty value · a3ddce7a
      Michael Shigorin authored
      set() is a function of two variables but the and()
      check for *both* is incorrect as one might need to
      override a previously set variable with empty string;
      this has manifested itself with a case like this:
      
        @$(call set,ROOTPW_EMPTY,1)
        # ...
        @$(call set,ROOTPW_EMPTY,)
      a3ddce7a
  27. 27 Aug, 2014 1 commit
    • Michael Shigorin's avatar
      profile.mk: defer RC expansion · 851b4413
      Michael Shigorin authored
      Just spotted that .disk/profile.tgz would hold
      distcfg.mk with pre-expanded $(HOME) from build
      host which is both info leak (user account that
      was used to build the particular image) and just
      wrong given that the in-image profile archive was
      conceived as a means to pass that part of build
      environment over instead of tying it to vendor.
      
      Morale: premature optimization is premature.
      851b4413
  28. 05 Mar, 2014 1 commit
    • Michael Shigorin's avatar
      documentation: use paths relative to toplevel dir · 3f547e25
      Michael Shigorin authored
      This change is done to reduce ambiguity in some cases;
      the previous intention has been to ease navigation when
      staying in a particular directory, now it's been changed
      in favour of convenient toplevel `git grep' in fact.
      
      Both variants have their pros and cons, I just find myself
      leaning to this one by now hence the commit.  Feel free to
      provide constructive criticism :)
      
      Some path-related bitrot has also been fixed while at that.
      3f547e25
  29. 13 Aug, 2013 1 commit
    • Michael Shigorin's avatar
      clean.mk: allow to forbid cleanup explicitly · 674f7db2
      Michael Shigorin authored
      The behaviour that sort of settled didn't actually follow
      the principle of the least surprise when one really wanted
      to have BUILDDIR available for inspection; DEBUG=2 would be
      effective to achieve that but CLEAN=0 would not.
      
      Thanks led@ for spotting and reporting this.
      674f7db2
  30. 19 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      {lib,conf.d}/{ve,vm}.mk: shift the real targets · a18295f2
      Michael Shigorin authored
      lib/*.mk aren't going to be parsed for build targets
      in the near future; and the early placement of those
      targets was superseded by a dedicated configuration
      snippet directory so just move these bits there.
      a18295f2
  31. 17 Jun, 2013 3 commits
    • Michael Shigorin's avatar
      main.mk, build.mk: tweaks for error reporting · ccc64864
      Michael Shigorin authored
      I've finally moved away from LC_MESSAGES=C on my main
      development system half a year ago and finally spotted
      that a grep for "Stop\.$" stopped to yield anything now.
      ccc64864
    • Michael Shigorin's avatar
      initial init feature · b337e72e
      Michael Shigorin authored
      This one is finally there and should help reduce the
      systemd-induced mess in package lists and specifications.
      b337e72e
    • Michael Shigorin's avatar
      initial rootfs subprofile and services feature · 67adab49
      Michael Shigorin authored
      This subprofile is akin to THE_* variables family: the configuration
      bits and script hooks sitting there influence whatever chroot is
      declared to be the user facing one in the end, whether it comes
      from vm image or live subprofile.
      
      The services feature ought to be a changeset of its own which would
      be based on rootfs and become the base for ve/vm changes but I chose
      to just do it atomically; some pre-existing duplicates are pruned now.
      67adab49
  32. 10 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      README update · 5b21100b
      Michael Shigorin authored
      These have been proofread somewhat to correspond
      to the current state of affairs; a missing one
      was added for fonts feature.
      5b21100b
  33. 24 May, 2013 1 commit
    • Michael Shigorin's avatar
      install2: introduced +installer mixin · 7b76c734
      Michael Shigorin authored
      This one is a part of a larger rewrite to move away from
      distro-centric build-up to configuration-centric one with
      the particular packaging being of secondary importance
      compared to actual functionality.
      7b76c734
  34. 19 Feb, 2013 1 commit
  35. 11 Feb, 2013 1 commit
    • Michael Shigorin's avatar
      fixed mp-commit and its use · ad264c70
      Michael Shigorin authored
      Now this is ugly: instead of commoditizing the repetitive code
      the result ended up working differently by creating several
      repositories for the target subdirs instead of the single one
      for the generated subprofile as a whole.
      
      This results in .disk/profile.tgz being basically useless
      in every image since c4311108.
      ad264c70