1. 17 Sep, 2021 1 commit
    • Mikhail Gordeev's avatar
      vm.mk: Add sr_mod to initrd modules for vm/cloud-systemd · 5f85140a
      Mikhail Gordeev authored
      Many cloud providers pass metadata via cdrom. Generator used by the
      cloud-init to determine a datasource works before loading modules. So cdrom
      modules must be loaded in the initrd.
      Other linux distributions enable cdrom modules in the kernel.
      5f85140a
  2. 23 Aug, 2021 2 commits
  3. 18 Aug, 2021 1 commit
  4. 13 Aug, 2021 1 commit
  5. 18 Sep, 2020 2 commits
  6. 27 Aug, 2020 1 commit
  7. 13 Jan, 2020 1 commit
  8. 09 Sep, 2019 1 commit
  9. 02 Apr, 2019 1 commit
  10. 24 Dec, 2018 1 commit
  11. 31 Oct, 2017 2 commits
  12. 25 Sep, 2017 2 commits
    • Michael Shigorin's avatar
      mixin.mk: gather all mixin/* targets · 24defe94
      Michael Shigorin authored
      These have appeared in desktop.mk, regular.mk, vm.mk
      over time, and there are two problems around.
      
      The minor one is that mixins have been introduced as
      handy reusable bits close in context of their use;
      this practically means that they fall under the same
      class restrictions as their parent targets, that is
      a mixin coming from regular.mk will only be available
      for "distro" IMAGE_CLASS, and so on.
      
      The major one is probably the worst design flaw in m-p:
      building images from ground up, where ground is a valid
      standalone buildable target as well.
      
      Life has shown that we rather want to build up images
      the other way around, choosing what essentials go in first
      and then fitting the fine details along with the packaging.
      
      The first sign of this difference appeared with ARMv7 Simply:
      we had a well-built configuration aiming for x86 ISO, still
      we needed roughly the same app/environment configuration
      put into armh disk image.
      
      Those platforms were different enough that we didn't actually
      plan shipping *lots* of distributions but the problem was clear,
      and it was much alike to the one that sprang m-p to life in the
      first place (when we had a range of "common" distros and needed
      to create and maintain a set of "school" ones that mostly had
      similar or even identical difference to their respective base
      ones -- and we couldn't do something like conf.d/p8.mk does now).
      
      So mixins are going to become the softer way to turn m-p's
      target configuration chain upside down to considerable extent:
      build up what you're going to mix into the various deliverables,
      and make it as portable across image classes, hardware platforms,
      repository branches as feasible so that total maintenance effort
      needed goes down or at least doesn't spike too bad.
      
      And here's the first strike at that.
      24defe94
    • Michael Shigorin's avatar
      vm.mk: factor out mixin/cloud-init · b558f88b
      Michael Shigorin authored
      This one has been clearly duplicated before.
      b558f88b
  13. 02 Mar, 2016 2 commits
  14. 20 Feb, 2015 1 commit
  15. 16 Feb, 2015 1 commit
  16. 04 Dec, 2014 1 commit
    • Michael Shigorin's avatar
      vm.mk: fix vm/net to handle ROOTPW · ba3ded07
      Michael Shigorin authored
      It's been ignored since the introduction of deflogin feature
      and removal of build-vm specific ROOTPW variable handling;
      might be adjusted to mandate this for vm/bare too, have to
      think it over.
      ba3ded07
  17. 29 Sep, 2014 1 commit
  18. 28 Apr, 2014 2 commits
  19. 01 Mar, 2014 2 commits
    • Michael Shigorin's avatar
      vm.mk: use sysvinit · b7e824b7
      Michael Shigorin authored
      I don't see any reason to use systemd within VM images,
      and it would stick its journal as a syslog implementation
      when not ditched explicitly :-/
      b7e824b7
    • Michael Shigorin's avatar
      vm.mk: vm/net should use/repo · 863fa049
      Michael Shigorin authored
      IOW one has every right to expect that package manager
      is set up already in a networked virtual machine.
      863fa049
  20. 12 Aug, 2013 2 commits
    • Michael Shigorin's avatar
      vm-net: feature retired · 43e76bd6
      Michael Shigorin authored
      This one was replaced by the net feature completely
      and has been declared obsolete since 1.1.1 (a month ago).
      
      A few remaining users trivially adjusted.
      43e76bd6
    • Michael Shigorin's avatar
      vm-ssh: renamed to net-ssh and cleaned up · de94641c
      Michael Shigorin authored
      There was no need to split carrying over the pubkey
      and tightening up permissions on the file and its parent
      directory to be done in two separate scripts; this should
      be more generic now as a bonus.
      
      Users adjusted accordingly.
      de94641c
  21. 20 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      vm.mk: add su to vm/net · e8a067b4
      Michael Shigorin authored
      It's pretty frustrating to be able to ssh into a vm
      while being unable to administer it knowing the rootpw...
      e8a067b4
  22. 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
  23. 17 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      initial deflogin feature (security sensitive!) · d22c793e
      Michael Shigorin authored
      The feature officially introduces the "engineering passwords"
      including empty ones which have been around since forever but
      weren't properly managed (and still are not, at least until
      there are no stray passwd/chpasswd/usermod calls in both the
      profile, installer-features and all the other related parts).
      
      It is based on an m-p-d init3-users script by stanv@ but was
      cleaned up and restructured in a pretty severe manner; thanks
      glebfm@ for additional discussion.
      
      This also cleans up the kludge previously stuck into build-vm.
      
      Note that vm/icewm sports graphical autologin now as well as
      the default root password (which can be overridden by passing
      ROOTPW=... to make but it is a change from the previous state
      of affairs indeed).
      d22c793e
  24. 03 Sep, 2012 1 commit
  25. 31 Jul, 2012 1 commit
    • Michael Shigorin's avatar
      conf.d/test.mk: experimental stuff went here · 307fb51f
      Michael Shigorin authored
      Some images were unbuildable (at least without special setup,
      like ve/centos), unusable or just not useful in any meaningful way
      (like distro/live-isomd5sum); as these tend to get any attention
      during experiments, I decided to put them together in a separate
      configuration file that would be effectively skipped if DEBUG
      is not requested.
      307fb51f
  26. 25 Jun, 2012 3 commits
    • Michael Shigorin's avatar
      initial vm-{net,ssh} features · 09be84be
      Michael Shigorin authored
      A virtual machine isn't very useful if there are no means
      to access it; let's bring up the basic networking and provide
      root SSH access via pre-existing public key.
      
      As the remote access with known default credentials is roughly
      equivalent to just lending one's VMs to anyone with network
      access to it, the fallback root password is now exterminated;
      you have to provide one (or a long enough random string
      if you plan to use keys only, see e.g. apg utility).
      09be84be
    • Michael Shigorin's avatar
      cleanup, build-vm: mutual support · 0a5f164d
      Michael Shigorin authored
      It appears that reusing installer-feature-*-stage3 packages
      is perfectly fine with VM images; these just need to be removed
      after the package scripts they carry have worked out.
      0a5f164d
    • Michael Shigorin's avatar
      initial conf.d/vm.mk · 90be07fb
      Michael Shigorin authored
      After we have built a bare virtual machine image successfully
      some variations are due, and these are to be described here.
      90be07fb