1. 02 Jan, 2012 4 commits
    • Michael Shigorin's avatar
      docs: minor updates · e93d6cab
      Michael Shigorin authored
      doc/variables.txt was missing the already-existing BUILDLOG
      variable description, and ARCHES got added during multi-target
      toplevel rewrite.  Other minor fixes come as appropriate.
      e93d6cab
    • Michael Shigorin's avatar
      bin/mktmpdir tweaks · 7738c6a6
      Michael Shigorin authored
      The fallback case of building in a brother directory moved
      from the last line of code to the first one becoming more
      explicit along the way.
      
      Support for slash-containing argument (being a tmpdir name
      template prefix) has been added.
      7738c6a6
    • 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
    • Michael Shigorin's avatar
      lib/{clean,profile}.mk: robustness improvements · 3d2f69f1
      Michael Shigorin authored
      First, let's not do rsync --delete on an unverified target dir
      again: the lesson was learned during a subway hacking session
      and I must say that SSDs are frightening fast (even if it was
      more than a second to realize what happens and terminate the
      extermination before it got /home, thanks xterm).
      
      Second, let's use a variable for common name and make's own
      realpath function instead of external binary.
      3d2f69f1
  2. 26 Dec, 2011 3 commits
    • Michael Shigorin's avatar
      06syslog: more durability · abfd88e2
      Michael Shigorin authored
      At least it shouldn't bail out when the anticipated file
      just isn't there...
      abfd88e2
    • Michael Shigorin's avatar
      s/subst/sed -i/g · 96e89d00
      Michael Shigorin authored
      Initial openSUSE package base taming effort has shown that
      relatively few things should be fixed; subst has been generalized
      as -i option to sed(1) since its introduction, so let's just fix it.
      96e89d00
    • Michael Shigorin's avatar
      p/l/Makefile: refactor repetitive actions · 643d4a75
      Michael Shigorin authored
      *_PACKAGES and *_LISTS shouldn't inflict copypasted blocks;
      we can iterate over these just fine.
      
      NB: dump-*, not dump_*, due to namespace pollution hurting
      debug target if done the latter way (in case someone misses
      the morning tea as wel).
      643d4a75
  3. 21 Dec, 2011 2 commits
    • Michael Shigorin's avatar
      rescue: drop evms by default · 90d7a614
      Michael Shigorin authored
      As current devmapper doesn't allow for simultaneous
      mounts of virtually the same device by different names
      (signalled by "Device or resource busy" when trying to
      e.g. mount /dev/sda2 but with /dev/evms/sda2 being just
      fine), EVMS triggering such behaviour but rarely needed
      should be avoided altogether until a hook to disable it
      is in place.
      90d7a614
    • Michael Shigorin's avatar
      "if test ..." replaced by "if [ ... ]" · 180ed535
      Michael Shigorin authored
      Fixed up the remnants of the early style mix
      to correspond to the proposed doc/style.txt;
      the rationale being that
      
      	if [ ... ]; then
      		...
      		...
      	fi
      
      is the more readable construct among itself,
      
      	if test ...; then
      		...
      		...
      	fi
      
      and
      
      	[ ... ] && {
      		...
      		...
      	}
      
      due to the condition being more distinguishable
      when bracketed and the body more apparent as the
      one inside "if" and not any other block; the less
      obvious difference is that the final construct of
      the latter form is prone to the whole script exit
      status being non-zero if the condition isn't met.
      180ed535
  4. 20 Dec, 2011 2 commits
  5. 19 Dec, 2011 8 commits
    • Michael Shigorin's avatar
      gear-store-tags · d9585b48
      Michael Shigorin authored
      d9585b48
    • Michael Shigorin's avatar
      0.5.2-alt1 · e97c111f
      Michael Shigorin authored
      - THE_{KMODULES,PACKAGES,LISTS,GROUPS}
      - incremental development, refactoring and bugfixing
      e97c111f
    • Michael Shigorin's avatar
      conf.d/desktop.mk: split out distro/desktop-mini · 41a0b630
      Michael Shigorin authored
      Let's prepare some moderately sane base for future desktop
      installers, it's not only icewm around anymore.
      41a0b630
    • Michael Shigorin's avatar
      initial razorqt desktop support · f0414f82
      Michael Shigorin authored
      As 0.4.0 just came out and seems to be quite interesting,
      why not add it to the collection? :)
      
      Package base advice is welcome, of course.
      f0414f82
    • Michael Shigorin's avatar
      stop abusing use/live/* · c5e559b7
      Michael Shigorin authored
      Some parts of *image* configuration started slipping down
      into the *feature* configuration, and that was wrong; fixed.
      
      Also introduced proper use/live/x11 (via use/x11/xorg with added
      wacom support for the sake of #26723/#26724) and rebased the
      pre-existing descendants onto it.
      c5e559b7
    • Michael Shigorin's avatar
      introduced THE_{KMODULES,PACKAGES,LISTS,GROUPS} · d6972a39
      Michael Shigorin authored
      As too many things started duplicating between distros proper
      and (e.g. corresponding) LiveCDs, it became apparent that a class
      of entities which end up working for THE_USER (not a sysadmin,
      and not a developer, just a Linux user) is in need.
      
      So THE_KMODULES will power installed basesystem and live image,
      while THE_PACKAGES, THE_LISTS and THE_GROUPS will participate
      in building those.
      d6972a39
    • Michael Shigorin's avatar
      syslinux: *.cfg tweaks · dbed41bf
      Michael Shigorin authored
      - parameter order fixed to "simple first, then those with args"
        and documented as the preferred one (might be debatable, okay)
      - added "lowmem" to live so it avoids a ramdisk but works off media
        (it's a knob for propagator)
      - added "fastboot" everywhere (but failsafe install) to make use
        of Linux 2.6.29+ async controller initialization
      - every snippet got a trailing newline so that isolinux.cfg is readable
      
      And a fancy makefile to check for shortcut dups!
      dbed41bf
    • Michael Shigorin's avatar
      live-rescue: use rescue+fs (but drop ntfsprogs) · 1d07b8f1
      Michael Shigorin authored
      Some more filesystem related utilities inspired by PLD rescue
      are due indeed; but ntfsprogs are obsoleted by ntfs-3g, in fact.
      
      iotop and iperf were suggested by stalker@.
      1d07b8f1
  6. 16 Dec, 2011 3 commits
    • Michael Shigorin's avatar
      cleanup dependency dups · 16a06f51
      Michael Shigorin authored
      Several targets were used in a duplicated way
      that made no harm but no sense either.
      16a06f51
    • Michael Shigorin's avatar
      subprofiles: minor docs extension · 1b3b38b7
      Michael Shigorin authored
      "sub/stage2/live" might seem a bit cryptic and not readily
      traceable, so let's expand on explanations accordingly.
      1b3b38b7
    • 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
  7. 08 Dec, 2011 2 commits
    • Michael Shigorin's avatar
      live/stage2cfg.mk: rather LIVE_GROUPS · 1d668796
      Michael Shigorin authored
      This one used to use LIVE_MAIN_GROUPS which seems to be
      overlooked substitution artifact from walking over
      GLOBAL_PKG_GROUPS and GLOBAL_LIVE_PKG_GROUPS of m-p-d...
      (not that LIVE_GROUPS are defined anywhere yet)
      1d668796
    • Michael Shigorin's avatar
      lib/build.mk: tweak the optimizer · e89a0f1c
      Michael Shigorin authored
      $(SHORTEN) is better in the midst of the pipe
      so that greps are terminal and can sense the tty
      (or the lack thereof in case we're logging further).
      e89a0f1c
  8. 06 Dec, 2011 3 commits
    • Michael Shigorin's avatar
      build-distro.mk, pkg.in/lists/Makefile: fixups · c400ba59
      Michael Shigorin authored
      Actually there's an added duplication in the form of the
      test that was previously missing in pkg.in/lists/Makefile
      -- that has to be done properly when it's clear how.
      
      This fully omits pkg/lists/.base generation in environments
      that won't make use of it.
      c400ba59
    • Michael Shigorin's avatar
      features.in/Makefile: cosmetic rewrite · ed0842b7
      Michael Shigorin authored
      The outmost shell loop got replaced with a (hidden) bunch
      of targets -- it's somewhat controversial as the inner loops
      are still there (but at least don't wrap around my SXGA+).
      
      Full targetization might be beneficial in terms of parallelism
      achievable *but* that would ruin git history being generated,
      and building a distro configuration takes a few seconds at most.
      
      (upon reading http://stackoverflow.com/questions/5414418/)
      ed0842b7
    • Michael Shigorin's avatar
      lib/build.mk: add basic CHECK support · 390f4f6b
      Michael Shigorin authored
      The idea is to check:
      - the reachability of every target
        used to build the image in question;
      - the availability of all the package lists
        and subsequently packages for that image;
      - the lack of "dangling" intermediate targets,
        features, pkglists, hooks etc.
      
      So far only the first step is implemented --
      it's easy and somewhat helpful already for
        make CHECK=1 all
      390f4f6b
  9. 02 Dec, 2011 8 commits
    • Michael Shigorin's avatar
      gear-store-tags · a1d0b4a7
      Michael Shigorin authored
      a1d0b4a7
    • Michael Shigorin's avatar
      0.5.1-alt1 · ae85287f
      Michael Shigorin authored
      - generic VE archive type (added cpio and xz either)
      - minor additions/fixes
      ae85287f
    • Michael Shigorin's avatar
      pkgdups.sh and semi-random tagged pkglists shuffle · 8790a90c
      Michael Shigorin authored
      The bin/pkgdups.sh script comes from m-p-d in considerably optimized
      form and is to be used with the pkglist files of interest passed
      as its arguments to produce a "hall of duplicates" among those.
      
      The tagged lists received some updates along the rescue image lines,
      most of those are actually inspired by http://rescuecd.pld-linux.org/
      and to lesser extent a few articles on rescue/recovery/forensics
      software -- so some newcomers are even employed already.
      8790a90c
    • Michael Shigorin's avatar
      repo: generate RPM-GPG-KEY as well · 5bc3dc24
      Michael Shigorin authored
      Just a hook to export alt-gpgkeys pubring data.
      5bc3dc24
    • Michael Shigorin's avatar
      initial virtualbox feature · 3a5740d8
      Michael Shigorin authored
      This sketch quickly pulls virtualbox guest additions in
      the installed system; should probably be extended with
      other VM support...
      3a5740d8
    • Michael Shigorin's avatar
      live tweaks for x11 rescue · e9fea016
      Michael Shigorin authored
      New stuff:
      * distro/live-icewm -- basic icewm livecd with autologin;
      * distro/live-rescue -- yet another gparted^Wrescue CD.
      
      A better part of base+rescue tagged pkglist split off into
      extra+rescue where the content belongs.
      
      Thanks ruslandh@ for proposing to do a graphical rescue with some
      particular tools (albeit qt4-fsarchiver clearly needs more work).
      e9fea016
    • Michael Shigorin's avatar
      initial live autologin · cd998fef
      Michael Shigorin authored
      use/live/autologin target tries hard to configure any available
      autologin means, including a dedicated package and a few DMs.
      
      Thanks gns@ as liveflash.eeepc got robbed somewhat.
      cd998fef
    • Michael Shigorin's avatar
      conf/live.mk: minor refactoring · 3d982dab
      Michael Shigorin authored
      distro/live-builder target used to employ a few duplicated
      packages that might make it to a list but as the list would
      have only a single user so far these were moved to a target-
      specific variable (hm, weird but "private" modifier broke).
      3d982dab
  10. 25 Nov, 2011 1 commit
  11. 24 Nov, 2011 4 commits
    • Michael Shigorin's avatar
      spec: updated Url: · f9a8aaa4
      Michael Shigorin authored
      It's official now.
      f9a8aaa4
    • Michael Shigorin's avatar
      added support for cpio and xz · 7e78670e
      Michael Shigorin authored
      Actually this is the proper rewrite that was looming ever since
      tgz support was introduced: there are multiple archive formats
      supported by mkimage, and there are multiple compression methods
      available as well.
      
      So the bullet got bitten yet again along with the "goal parser"
      which should be more straightforward by now.
      
      Thanks dkr@ and mithraen@ for the inspiration of this evening.
      7e78670e
    • Michael Shigorin's avatar
      Makefile: get help back up · 041d5754
      Michael Shigorin authored
      Partially reverts "Makefile: presume a distro by default" commit:
      plain `make' should better help the user to decide the target
      rather than rush to build them all upon her.
      041d5754
    • Michael Shigorin's avatar
      lib/distro.mk: don't do localboot by default · 7e219c14
      Michael Shigorin authored
      distro/.base target used to pull in localboot syslinux config
      snippet which might be too early for some of the further distros;
      it's a quite fragile equilibrium which was shifted a bit by imz@
      (see #26606).  Feel free to reopen the discussion though, things
      might be tweaked so that localboot might be desirable on almost
      every image even if with lower priority...
      7e219c14