1. 06 Jan, 2013 1 commit
  2. 02 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      lib/functions.mk: initial xport() · e36792ac
      Michael Shigorin authored
      A few too many downstream makefiles employed the pattern
      of "export GLOBAL_VAR := $(VAR)"; macroize that.
      e36792ac
    • Michael Shigorin's avatar
      proxy CLEANUP_PACKAGES down · fcf41f22
      Michael Shigorin authored
      mkimage implementation requires that the variables
      to be passed to the scripts are to be prefixed with
      GLOBAL_ or INFO_ tags as appropriate; in this case
      the upstream makefile didn't care to.
      fcf41f22
  3. 25 Jun, 2012 2 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
  4. 31 Mar, 2012 1 commit
    • Michael Shigorin's avatar
      cleanup scripts rehashed · 1b885b3d
      Michael Shigorin authored
      There's much reason for reuse instead of duplication
      among the different stage2-based subprofiles.
      
      In particular, the rather monolithic driver cleanup script
      of the ancient is better done in several clear pieces with
      the final depmod run.
      
      Scripts dropping apt/rpm databases will dump pkglist first.
      
      A script purging /boot/* will honour live-install if present.
      
      Minor inno^Wfixups all over the map too.
      1b885b3d
  5. 26 Mar, 2012 1 commit
  6. 19 Nov, 2011 2 commits
    • Michael Shigorin's avatar
      introduced add_feature function · 9cedefdb
      Michael Shigorin authored
      The features might get copy-pasted (or even copied-and-pruned)
      when initialized; there's an unneccessary duplication of the
      function name in the line adding it to FEATURES list, thus
      prone to being forgotten and causing some havoc later on.
      
      It was wrong in the first place but tackling this with some
      double-colon rules ran into terminality issues, and further
      tortures were considered unneccessary.
      
      The current solution isn't perfect (no completely transparent
      function name registration upon corresponding target being called)
      but at least it is an improvement...
      9cedefdb
    • Michael Shigorin's avatar
      tagged scripts breakage partially fixed · c4a5515b
      Michael Shigorin authored
      It appears that features.in/Makefile functioned a bit
      differently by now than was described back then: after
      loops and pushds got rearranged for robustness, it stopped
      to pick up a cleanup feature tagged script.
      
      That particular script is now better de-tagged and simply
      placed as a script to be merged into install2 subprofile.
      
      The tagged scripts still require a bit more comprehension
      to understand the use cases (e.g., do we need per-subprofile
      tagged script subdirs or just a toplevel one should be looked
      at, with script names telling where to put them).
      
      README used to mix up subprofiles and features; fixed.
      c4a5515b
  7. 04 Nov, 2011 2 commits
    • Michael Shigorin's avatar
      wash, rinse, repeat · 720a5796
      Michael Shigorin authored
      install2 cleanups:
      
      - functionally indifferent ones: particularly, install2/*/98system's
        "mkdir -p /image" was superfluous as it was done by that time already
        by sub.in/stage2/image-scripts.d/00stage1
      
      - taken apart, prepared for tags: so far it's a mostly moot change
        since the installer cleanup scripts themselves are mostly the same as
        preceding 90cleanup was (with some additions corresponding to recent
        kernel development); it's still unclear what the mechanism for
        configuring the cleanups in effect will be, either directory/package
        regex lists or tagged scripts excluded from execution by yet another tag
      
      fixes:
      
      - image.in/Makefile: fix metadata related test; the actual test was
        assuming that stage1 kernel means installer, which is not the case
        since generic stage2 introduction; oh well
      
      - 85cleanup-lowmem: a "_" too much was the culprit in destroying the
        needed translations along with those deemed superfluous; thanks go to
        Oleg Ivanov and Lenar Shakirov for finding the bug and proposing the
        fix altogether
      
      additions:
      
      - features.in/Makefile: reworked help target; it was rather inaccessible
        due to BUILDDIR normally undefined at the time of direct make
        invocation, and BUILDDIR is normally defined during normal builds
        anyways so let's try it this way.
      
      - README++
      
      daydreams:
      
      - 01-genbasedir: we should drop bzip2 compressed pkglists some day
        but see genbasedir and apt-cdrom first, 90-pkg.sh (alterator-pkg)
        will fail miserably otherwise
      720a5796
    • Michael Shigorin's avatar
      initial features.in/cleanup · c5bf0529
      Michael Shigorin authored
      This is a sort of anti-feature which removes and not builds;
      still with mkimage-profiles' approach we can at least build
      up the removal procedures as well.
      
      It's what triggered the tagged scripts, BTW.
      c5bf0529