1. 16 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      lib/ve.mk: introduced ve/bare · b95caa9b
      Michael Shigorin authored
      A minimal chroot supporting extension via apt-get;
      vitals if built on Sisyphus as of Jan 16, 2012:
      
        i586: 13M tar.xz, 58M chroot (33M w/o /usr/share/{doc,locale,man})
      x86_64: 14M tar.xz, 60M chroot (35M w/o /usr/share/{doc,locale,man})
      
      Trivial fixups (extra checks) added to two script hooks.
      b95caa9b
  2. 15 Jan, 2012 1 commit
  3. 11 Jan, 2012 4 commits
  4. 10 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      bin/mktmpdir: check for filesystem mount options · 5a1065c3
      Michael Shigorin authored
      As was found out by Vladimir Karpinsky (thanks for patience!),
      the autochosen directory might still have too restrictive mount
      options -- nodev and/or noexec.  Hopefully the diags are a bit
      better and faster by now.
      5a1065c3
  5. 06 Jan, 2012 1 commit
    • Michael Shigorin's avatar
      check vigorously the autochosen path prefix either · 87bfa3f6
      Michael Shigorin authored
      It happens that if the host environment isn't particularly
      tuned up for package builds already then bin/mktmpdir might
      come up with a directory outside hasher-allowed prefix list;
      now that's a shame and not a Christmas gift, clearly.
      
      Thanks Vladimir Karpinsky for pointing this problem out too.
      87bfa3f6
  6. 04 Jan, 2012 2 commits
    • Michael Shigorin's avatar
      check vigorously for installed mkimage · 0ec7d7cd
      Michael Shigorin authored
      It was briefly mentioned in QUICKSTART but somehow managed
      to evade the commandlines provided.  And while at it, let's
      make errors like this more explicit to avoid extra lookups.
      Oh, and fix QUICKSTART so that readers miss the hassle. :)
      
      Thanks Vladimir Karpinsky for pointing this problem out.
      0ec7d7cd
    • Michael Shigorin's avatar
      syslinux: piggybacking cleanups · 426c985d
      Michael Shigorin authored
      Avoid extra files where a variable would suffice; and use
      the more specific "syslinux.list" rather than a "files.list".
      426c985d
  7. 03 Jan, 2012 1 commit
  8. 02 Jan, 2012 6 commits
    • Michael Shigorin's avatar
      gear-store-tags · a7ac4f23
      Michael Shigorin authored
      a7ac4f23
    • Michael Shigorin's avatar
      0.5.3-alt1 · 672125b9
      Michael Shigorin authored
      - multi-target, multi-arch, single-job builds
      672125b9
    • 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
  9. 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
  10. 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
  11. 20 Dec, 2011 2 commits
  12. 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
  13. 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
  14. 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
  15. 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