1. 25 Oct, 2021 1 commit
  2. 10 Feb, 2016 1 commit
  3. 30 Jun, 2014 1 commit
  4. 05 Mar, 2014 2 commits
    • Michael Shigorin's avatar
      documentation: use paths relative to toplevel dir · 3f547e25
      Michael Shigorin authored
      This change is done to reduce ambiguity in some cases;
      the previous intention has been to ease navigation when
      staying in a particular directory, now it's been changed
      in favour of convenient toplevel `git grep' in fact.
      
      Both variants have their pros and cons, I just find myself
      leaning to this one by now hence the commit.  Feel free to
      provide constructive criticism :)
      
      Some path-related bitrot has also been fixed while at that.
      3f547e25
    • Michael Shigorin's avatar
      README: minor tweaks · 4fff399b
      Michael Shigorin authored
      A few readability fixes and lib/*.mk demotion since conf.d/*.mk
      is now an established place for RM-written image configuration.
      4fff399b
  5. 10 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      README update · 5b21100b
      Michael Shigorin authored
      These have been proofread somewhat to correspond
      to the current state of affairs; a missing one
      was added for fonts feature.
      5b21100b
  6. 31 Oct, 2012 1 commit
  7. 22 Sep, 2012 1 commit
  8. 11 Aug, 2012 1 commit
    • Michael Shigorin's avatar
      minor documentation facelift · eb3df648
      Michael Shigorin authored
      A few more items were asking for some attention.
      
      In particular, build examples should start with
      the most basic, error-proof and quick targets.
      eb3df648
  9. 02 Jul, 2012 1 commit
    • Michael Shigorin's avatar
      README: whoops, temporary name persisted · ee3bdb29
      Michael Shigorin authored
      As they say there's nothing more permanent
      than a temporary... params.txt and pkglists.txt
      were known as vars-build.txt and vars-conf.mk
      in the midst of reworking, and part of that
      tried to stick.
      ee3bdb29
  10. 25 Jun, 2012 3 commits
    • Michael Shigorin's avatar
      docs updated · f8af1c92
      Michael Shigorin authored
      Minor tweaks to toplevel docs as well as some doc/*.txt,
      doc/variables.txt renamed to doc/params.txt, and a brand new
      doc/pkglists.txt is added (thanks manowar@ for his considerations).
      f8af1c92
    • Michael Shigorin's avatar
      initial conf.d/vm.mk · 90be07fb
      Michael Shigorin authored
      After we have built a bare virtual machine image successfully
      some variations are due, and these are to be described here.
      90be07fb
    • Michael Shigorin's avatar
      README: single-byte bugfix · f6462700
      Michael Shigorin authored
      Was mentioning REPORTS while the variable name is REPORT.
      f6462700
  11. 18 Jun, 2012 1 commit
    • Michael Shigorin's avatar
      initial build-vm feature · 75f7c62b
      Michael Shigorin authored
      Yes, mkimage-profiles is now able to build VM disk images.
      So far the support is pretty basic:
      
      - a single hard drive image with a single partition/FS
      - only stock root password is configurable
      - LILO is hardwired as a bootloader
      
      The resulting images tend to boot under qemu/kvm though.
      
      Please see doc/vm.txt for the warning regarding additional
      privileges and setup required.  This was started back in
      February but I still hoped to avoid sudo/privileged helper
      (and libguestfs is almost as undistributable as can be)...
      
      Thanks:
      
      - http://blog.quinthar.com/2008/07/building-1gb-bootable-qemu-image-using.html
      - Alexey Morarash who reworked that as https://github.com/tuxofil/linsygen
      - led@, legion@, vitty@, aen@ for providing advice and inspiration
      75f7c62b
  12. 21 May, 2012 1 commit
  13. 02 Apr, 2012 1 commit
    • Michael Shigorin's avatar
      docs update · 74d1e45a
      Michael Shigorin authored
      Status updates and readability tweaks all over the place.
      74d1e45a
  14. 19 Nov, 2011 1 commit
    • 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
  15. 06 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      full-view docs update · ddf0c5b7
      Michael Shigorin authored
      - toplevel README received some long-needed refactoring
        + lowlevel detail moved, well, to lowlevel READMEs
      - reflected more thoroughly that m-p is not about distros anymore
      - dropped features.in/00example/README.en: it's already out-of-date
        a bit, and there's no perceived need in thorough English docs so far
      - wiki article got split into parts and somewhat rewritten, links updated
      - mv doc/{CodingStyle,style.txt}
      ddf0c5b7
  16. 04 Nov, 2011 14 commits
    • Michael Shigorin's avatar
      official {distro,ve}/* support · d5a5941f
      Michael Shigorin authored
      This is quite a large-scale change since mkimage-profiles got used to
      baking distributions over the last year, and virtual environments are
      quite different, so e.g. image.in/Makefile had to be split in two with
      the main part of it moved into features.in/iso/lib/.
      
      Short overview:
      
      - features.in/Makefile: lib/ support
        (supporting VE images requires dynamic modifications
        to image.in/Makefile before starting the build;
        the most natural way to achieve that seems to use
        features mechanism along with makefile include dir)
      
      - packaging format related part moved into features.in/pack
        (should be better prepared for diversity either)
      - features.in/iso renamed to features.in/build-distro
      - features.in/ve  renamed to features.in/build-ve
        + NB: these could not be merged as e.g. features.in/build
          due to completely different script hooks
      
      - lib/image.mk renamed to lib/build.mk
      - image, config, log postprocessing moved downstream
      - added a sort of a topping in the form of lib/sugar.mk
      - assorted style fixups (like ifeq usage)
      
      - clean.mk: reliability fix (the problem was observed by Oleg Ivanov
        and me too but finally it did get the attention quantum)
      
      - reviewed, updated and extended docs
        + QUICKSTART: should be[come] a step-by-step guide
          (thanks Leo-sp50 for prodiving feedback)
      d5a5941f
    • 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
      COMMON_PACKAGES and SYSTEM_PACKAGES · 774169c6
      Michael Shigorin authored
      It was clear that "common" isn't very apt for packages that
      will get *everywhere*, and became apparent when the need for
      a "base+live packages" variable arrived with powerbutton feature.
      
      So:
      - the former COMMON_PACKAGES are now SYSTEM_PACKAGES;
      - COMMON_PACKAGES act as "BASE+LIVE_PACKAGES".
      
      Note that SYSTEM_PACKAGES also got factored out from stage2 based
      features into stage2 subprofile itself; cleanups were due as well.
      774169c6
    • Michael Shigorin's avatar
      stage2 based live subprofiles, updated docs · f5a8b893
      Michael Shigorin authored
      - introduced generic stage2 subprofile (non-standalone)
      - ported installer and rescue over to stage2/{install2,rescue}
      - initial stage2/live (needs more work for sure)
      - use make-initrd-propagator
      - updated and somewhat extended doc/
      
      NB: mind #26133, #26134
      f5a8b893
    • Michael Shigorin's avatar
      actually released as free software · 386be9a5
      Michael Shigorin authored
      I hereby release this work under the terms of GNU General Public License,
      either version 2 or a later version at your option.
      
      The code is either taken from mkimage-profiles-desktop.git (available
      under GPLv2+) or written by me with some exceptions in the form of:
      - snippets from GNU make documentation;
      - stackoverflow.com and cmcrossroads.com articles;
      - random advice on the 'net
      to be strict; given the nature of such snippets being explicitly
      proposed as an example or for immediate reuse, I consider it feasible
      to redistribute those worked into this code.  If there's any concern
      regarding copyright, please contact me by e-mail to sort it out.
      386be9a5
    • Michael Shigorin's avatar
      README update · b69a8a63
      Michael Shigorin authored
      reword 'em, structurize 'em, facelift 'em too
      b69a8a63
    • Michael Shigorin's avatar
      README updates · c4e0a249
      Michael Shigorin authored
      ...including hasher note, thx m-p-d.
      c4e0a249
    • Michael Shigorin's avatar
      README updates · faafaf12
      Michael Shigorin authored
      ...and some more cosmetic fixes
      faafaf12
    • Michael Shigorin's avatar
      server-ovz; KDEFAULT; syslinux features reworked · 3f012958
      Michael Shigorin authored
      Renamed server-light.iso into server-ovz.iso to avoid brand dilution
      and confusion (rider@'s server-light rather favours kvm, anyways).
      
      Introduced KDEFAULT: a reliable default kernel chooser knob
      since apt's regex ordering proved pretty unreliable.
      Spelling things explicitly is better anyways.
      
      SYSLINUX related features undergone pretty major rewrite
      (that includes syslinux, hdt and memtest).
      
      The problem to tackle was features.in/syslinux/generate.mk
      assuming syslinux and pciids available in build *host* system;
      this well might not be the case (or worse yet, those can be
      just different).  So now we're a bit less elegant and a bit
      more enterprise, stuffing things into chroot and working there.
      
      Bunch of other fixes along the road, including ; to name a few:
      - fixed memtest entry (overlooked while renaming SYSLINUX_ITEMS)
      - new and shiny doc/CodingStyle
      - gfxboot, stage1 target chain, hdt tweaks
      - distro.mk rehashed
      - README++
      - TODO: dropped (integer overflow anyways)
        + actually moved off-tree to reduce commit spam
      - s,\.config\.mk,distcfg.mk,g
      - doc/profiles.mk.sample: sample ~/.mkimage/profiles.mk
      - ...and assorted fixups/additions
      
      Sorry for convoluted commit, this would have been pretty hard to
      rework into some really readable shape (and you might be interested
      in the original repo's history horrors then, anyways).
      3f012958
    • Michael Shigorin's avatar
      initial logging subsystem · d93989a3
      Michael Shigorin authored
      Now we don't dump all the gory details onto thee
      but rather log them handsomely and present only
      the most important details by default; use DEBUG=1
      and/or BUILDLOG=/path/to/file to tweak.
      
      Also introduced IMAGEDIR and IMAGENAME.
      
      The rest:
      - ovz-smp is no more
      - base-l10n pkglist (suggested by Alexander Kuprin)
      - clean.mk:
        + fixed an oversight: the test result erroneously applied
          only to the first command of several ones that should be
          run iff build/ is a symlink
        + drop implicit rules (it's no C code)
      - Makefile: more reasonable iso names
      - image.in/Makefile: .disk/date too
      d93989a3
    • Michael Shigorin's avatar
      README updates · e96e2e78
      Michael Shigorin authored
      - README: concept++
      - pkg.in/README: converted to utf8
      e96e2e78
    • Michael Shigorin's avatar
      assorted fixups · ace5cb0f
      Michael Shigorin authored
      - more thorough build stages inline doc
      - quieter BUILDDIR instantiation
      - branding-altlinux-sisyphus by default
      - prettify installer selection somewhat
      - mkimage #24669 fixed upstream
      - sub.in/stage1/modules: +drm (as in m-p-d, for KMS)
      - tags2lists: generalize a bit
      ace5cb0f
    • Michael Shigorin's avatar
      drop autoconf, a few vars in .mk suffice · d77e1d8d
      Michael Shigorin authored
      A major change in approach largely thanks to discussions
      with Alexey Cheusov but also well aligned with my own findings:
      autoconf doesn't let the variables to form an inheritance.
      
      And data flow described at http://www.altlinux.org/WhiteLabel
      (which in its turn was born thanks to Gavin Henrick of Diva Telecom
      and to Alexander Bokovoy of SaM-Solutions) is really dependent on
      the existence of such an inheritance.
      
      Also:
      - distro.mk += try()
      - "hide" special targets
      - fixed wrt distro/.{base,init,metaconf}, thx gns@
      - README updates
        + added metaconf.mk
        + clarifications
      - updated pci.ids location for hdt
      d77e1d8d
    • Michael Shigorin's avatar
      docs day · 9c883d39
      Michael Shigorin authored
      ToC:
      - introduced doc/
      - features.in/00example/
      - READMEs and TODO for more
      - code comments clarified
      
      Some unrelated minor fixes bundled either.
      9c883d39
  17. 03 Nov, 2011 5 commits
    • Michael Shigorin's avatar
      gfxboot brought to reasonable shape · a9e161b4
      Michael Shigorin authored
      Also included:
      - reworked syslinux feature inclusion
      - syslinux: s/textprompt/prompt/
      - README++
      a9e161b4
    • Michael Shigorin's avatar
      features' day · c8b578dd
      Michael Shigorin authored
      - get rid of $dest
      - work on features.in/syslinux
      - README++
      c8b578dd
    • Michael Shigorin's avatar
      drop the dummy configure · 4cb23d7c
      Michael Shigorin authored
      It wasn't serving any good by now...
      README++ and cleanups all over the place
      4cb23d7c
    • Michael Shigorin's avatar
      syslinux and features · c91a2a09
      Michael Shigorin authored
      - syslinux: menu.c32 works
      - features: initial draft
        + memtest
      - mv pkg/ pkg.in/
        + server-base: include openssh-blacklist by default
      - mv isodata/ copy/
      - README: changed to utf8, added an URL
      c91a2a09
    • Michael Shigorin's avatar
      working installer iso image · d91a3564
      Michael Shigorin authored
      - s/stage2/install2/g
      - added pkg/lists
      - initial README (ru_RU.KOI8-R)
      - mkimage topdir is in image.in/, really (off-tree build)
        + initial bin/mktmpdir
        + BUILDDIR (works)
      - s/cd/iso/
      - drop --with-distro (considered harmful)
      d91a3564