1. 21 Sep, 2020 1 commit
    • Anton Midyukov's avatar
      cleanup, live: Added target use/live/no-cleanup (docs, rpmdb) · 018ea505
      Anton Midyukov authored
      It is customary to set a variable without the GLOBAL_ prefix. It
      is added to the name when exporting.
      
      I made by analogy use/cleanup/live-no-cleanup-docs.
      
      Since both targets have long names and are needed together,
      i made use/live/no-cleanup.
      
      Use target use/live/no-cleanup should be used instead of:
      
      @$(call set, GLOBAL_LIVE_NO_CLEANUPDB, yes)
      018ea505
  2. 07 Sep, 2020 1 commit
    • Michael Shigorin's avatar
      cleanup: avoid crippling non-x86 badly · af95749d
      Michael Shigorin authored
      This is a controversial feature right from the start,
      but keeping jeos alive on non-x86 (that is, catching
      every case when a removed removed package would bring
      something critical along with it) is somewhat harder
      so just skip this part there for now.
      af95749d
  3. 01 May, 2020 1 commit
  4. 20 Jan, 2020 1 commit
  5. 16 Jul, 2018 1 commit
  6. 30 Jul, 2017 1 commit
  7. 27 Jun, 2016 1 commit
  8. 07 Jun, 2016 1 commit
  9. 27 May, 2016 1 commit
    • Michael Shigorin's avatar
      cleanup: handle empty variable (ouch!) · fa56731d
      Michael Shigorin authored
      This script was completely careless regarding the chance
      to meet an empty variable resulting in plain "rpm -qa"
      and subsequent attempt to, well, remove *all* packages.
      
      Thanks zerg@ for being persistent this time, even if
      he could probably find the culprit and send in this patch.
      :)
      fa56731d
  10. 04 Apr, 2016 1 commit
    • Michael Shigorin's avatar
      cleanup: introduce CLEANUP_BASE_PACKAGES · 514652f8
      Michael Shigorin authored
      The problem at hand was that an installer component
      of a "DVD class" image does use/cleanup/installer
      while installable LiveCD component gets broken by that
      (livecd-install -> installer-scripts-remount-stage2
      which gets removed as installer-*).
      
      Split those.
      514652f8
  11. 01 Apr, 2016 1 commit
  12. 10 Mar, 2016 1 commit
  13. 10 Feb, 2016 1 commit
    • Michael Shigorin's avatar
      cleanup: add jeos targets · 0717417e
      Michael Shigorin authored
      This is based on distro/regular-jeos but torn into two
      and somewhat updated for sisyphus-going-to-bring-p8:
      1) libcap-ng is now required by util-linux;
      2) bridge-utils might be needed for subsequent images.
      0717417e
  14. 04 Aug, 2015 1 commit
  15. 25 Feb, 2015 1 commit
    • Michael Shigorin's avatar
      cleanup: introduce use/cleanup/libs · 620c827c
      Michael Shigorin authored
      The installer feature added is a trivial wrapper around
      apt-cache nodeps to uninstall the ^lib packages that have
      no more dependencies upon those when the temporarily
      installed packages like alterator-browser-qt get removed.
      620c827c
  16. 19 Feb, 2015 1 commit
    • Michael Shigorin's avatar
      cleanup: extend x11-related target · 122c305b
      Michael Shigorin authored
      A few more leftover libraries tend to hang around after
      purging extra alterator packages that have fired already
      during installation stage3; this change might hurt someone,
      please do notify if that is the case (OTOH one isn't forced
      to use it or to inherit intermediate targets that do so).
      122c305b
  17. 06 Jan, 2013 1 commit
  18. 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
  19. 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
  20. 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
  21. 26 Mar, 2012 1 commit
  22. 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
  23. 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