1. 08 Dec, 2011 1 commit
    • 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
  2. 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
  3. 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
  4. 25 Nov, 2011 1 commit
  5. 24 Nov, 2011 6 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
    • Michael Shigorin's avatar
      features.in/syslinux: bump livecd boot priority · bc8251f3
      Michael Shigorin authored
      As noted by imz@ in #26608, a LiveCD is the more preferred
      boot target to a local drive usually (just as was discussed
      and implemented for ALT Linux 4.0 IIRC).
      bc8251f3
    • Michael Shigorin's avatar
      introduced live-install support · 3d78fd75
      Michael Shigorin authored
      It was actually trivial given that the script was already
      maintained as a package by enp@ and msp@; its usage requires
      one to manually partition the target disk and optionally
      mkswap in advance.
      3d78fd75
  6. 22 Nov, 2011 1 commit
  7. 21 Nov, 2011 4 commits
    • Michael Shigorin's avatar
      gear-store-tags · 9626b284
      Michael Shigorin authored
      9626b284
    • Michael Shigorin's avatar
      0.5.0-alt1 · 48272c71
      Michael Shigorin authored
      - add_feature for autoregistration (simple but invasive)
      - added features: isomd5sum, repo, systemd
      - changed features: powerbutton -> power
      48272c71
    • Michael Shigorin's avatar
      Makefile: presume a distro by default · 10b9e293
      Michael Shigorin authored
      When ve/ support was introduced, a simple "make icewm.iso"
      had to turn into the more elaborate "make distro/icewm.iso".
      This latter one involves several keystrokes more, which is
      not even (environ)mentally friendly.
      
      This was supposed to get fixed somewhere down the road with
      a fallback but the elegance of IMAGE_* setup waterfall barred
      me from tweaking IMAGE_TARGET at once (and the downstream fixup
      would imply re-tweaking the consequent variables as well which
      is blatantly anti-mkimage-profilic being a brute fork).
      
      OTOH testing for a "directory" part of the goal is going to
      either deadlock on IMAGE_CLASS or duplicate its assignment.
      
      So now when I've had enough typing an extra "distro/",
      I'm going to just bite the bullet and tweak IMAGE_TARGET
      with a test duplicating IMAGE_CLASS assignment indeed
      (testing for e.g. "/" results in a different test,
      which would be worse yet).
      
      Please suggest a more elegant solution if you invent one!
      10b9e293
    • Michael Shigorin's avatar
      lib/build.mk: different colours for different outcomes · b52ff4ef
      Michael Shigorin authored
      As was (quite reasonably) asked by someone and me too,
      why should a successful build yield a *red* line
      (a grep's default)?
      
      So now it's new and improved, 25% free and so forth:
      with a successful build you get a green line, while
      errors from a broke one result in red ones.
      
      Clinically tested in both b/w and w/b colour schemes;
      in case you're not satisfied, please return original
      ANSI_OK and ANSI_FAIL values to the colour dealer
      and pass your favourite ones instead.
      b52ff4ef
  8. 19 Nov, 2011 6 commits
    • Michael Shigorin's avatar
      experimental server-ovz-netinst image · ad687508
      Michael Shigorin authored
      It's now possible to:
      - make distro/server-ovz.iso;
      - make distro/server-ovz-netinst.iso;
      - publish the former image's contents on ftp.linux.kiev.ua;
      - boot the latter (~17M) image and enjoy the netinstall ;-)
      
      The catch is that the stage2 (altinst file) location has to be
      hardwired into syslinux config snippet for things to happen
      automatically -- even if it can be specified manually in case
      of failure.
      
      The other catch is that currently a netinstall image is somewhat
      tied to the particular image it installs since stage1 kernel and
      stage2 modules must correspond strictly (the typical symptoms of
      the glitch would be missing mouse driver and weird "permission
      denied" errors during an attempt to partition the hard drives).
      
      It might be desirable to provide multi-distro netinstall image...
      ad687508
    • 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
      server-ovz: rebase onto server-mini · 781c98bb
      Michael Shigorin authored
      The culprit was missing dhcpcd, although the rest
      of niceties already in server-mini were welcome to
      server-ovz either.
      781c98bb
    • 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
    • Michael Shigorin's avatar
      initial repo feature · ae7139f8
      Michael Shigorin authored
      We've got some parts of it in build-distro feature,
      and some went to dev feature for no real reason.
      
      But a bare installer might go without package base,
      and LiveCDs other than live-builder might find local
      repository useful given aufs2 root overlay.
      
      Now the overall scheme is more straightforward:
      - a distro:
        + asks that a package repo be included
        + cares to further add the packages to it
      - a repo feature:
        + pulls in sub/main for it to happen
        + provides genbasedir script to create repo metadata
        + supplements live feature with repo configuration
      ae7139f8
    • Michael Shigorin's avatar
      initial systemd feature · 7964bccb
      Michael Shigorin authored
      Thanks shaba@ for both the package and a wiki page,
      and dek@ for the inspiration to finally get to it.
      7964bccb
  9. 12 Nov, 2011 1 commit
  10. 11 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      initial isomd5sum feature · 52f68973
      Michael Shigorin authored
      This is a base for "media check" to become available:
      using this feature will implant a checksum into the image
      so that it can be verified during install.
      
      Also added a test/demo distro/live-isomd5sum target.
      For real distros an alterator module is probably due.
      52f68973
  11. 09 Nov, 2011 3 commits
    • Michael Shigorin's avatar
      stage1/modules: added sdhci · f257b8e9
      Michael Shigorin authored
      This might be needed to install onto an SD card in a "native"
      (non-USB-mediated) SD/MMC cardreader; thanks Vladimir Karpinsky
      and gns@ for going over it for liveflash.eeepc case.
      f257b8e9
    • Michael Shigorin's avatar
      image.in/Makefile: phonytize targets · 94d2ca36
      Michael Shigorin authored
      It is a current convention to prefer clearly phony targets
      (see the wiki page) so let's follow it here too.
      94d2ca36
    • Michael Shigorin's avatar
      features.in/power: renamed++ from powerbutton · b85d82c2
      Michael Shigorin authored
      This feature was handling powersave already, so the name
      should be changed already.  Thanks sem@ for cpufreq-simple,
      there's now a compelling reason for that rename.
      
      Tweaked a few distro recipes accordingly.
      b85d82c2
  12. 07 Nov, 2011 5 commits
    • Michael Shigorin's avatar
      gear-store-tags · e2eef6eb
      Michael Shigorin authored
      e2eef6eb
    • Michael Shigorin's avatar
      0.4.3.2-alt1 · 67828082
      Michael Shigorin authored
      - mkimage version required/checked
      67828082
    • Michael Shigorin's avatar
      image.in/Makefile: mkimage version check · 7a8ac9e7
      Michael Shigorin authored
      There's a recommended version (0.2.0+ currently) and also
      the minimal version, 0.1.7, which received the important fixes.
      It was proposed by nice antique@ folks IIRC.
      
      Unfortunately the "suboptimal version" warning is pretty modest,
      and "minimal version" error will be apparent with DEBUG enabled;
      still the latter will terminate the downstream build and leave
      a clear message in build.log at any rate.
      7a8ac9e7
    • Michael Shigorin's avatar
      0.4.3.1-alt1 · b3e4d9af
      Michael Shigorin authored
      - CLEAN by default unless DEBUG
      b3e4d9af
    • Michael Shigorin's avatar
      CLEAN by default (unless DEBUG) · ab70588f
      Michael Shigorin authored
      CLEAN is so useful and fiddling with .work chroots does
      demand knowledge (hsh-shell is handy btw); so unless we
      really get our hands dirty, let's spare ours preciouss
      tmpfss.
      ab70588f