1. 16 Mar, 2021 1 commit
  2. 17 Feb, 2021 1 commit
  3. 01 Aug, 2020 1 commit
  4. 30 Aug, 2019 1 commit
  5. 19 Aug, 2019 1 commit
  6. 08 Mar, 2019 1 commit
    • Michael Shigorin's avatar
      build-distro: added META_DISK_INFO support · 2f389cfc
      Michael Shigorin authored
      This one can be used to override the default content
      of .disk/info file (used by propagator but can find
      some other uses within installer as well); the reason
      being that ISO9660's Volume ID is up to 32 characters
      and a file lacks that particular limitation.
      2f389cfc
  7. 25 Jul, 2018 3 commits
    • Michael Shigorin's avatar
      slightly better license info · 611ec48e
      Michael Shigorin authored
      There's an ISO9660 COPY tag for license info file;
      make use of it, factoring use/docs/license out
      while at that.
      
      One of the goals was to make it hold the reference
      to reference to GPL in regular builds and starterkits
      ;-)
      611ec48e
    • Michael Shigorin's avatar
      build-distro: add isodata metadata support · a257c2ae
      Michael Shigorin authored
      A bunch of duplicated variable names for mkimage,
      just short-circuit those to the already available
      (and hopefully filled in) BOOT_* ones.
      a257c2ae
    • Michael Shigorin's avatar
      rework isoboot support beyond x86 · 3c2ef1c0
      Michael Shigorin authored
      Every .iso was assumed to be bootable since the very beginning[*],
      and isoboot images were deemed to be x86 isolinux ones; this didn't
      change with basic ppc/armh support as I never ran into hardware
      that would _boot_ those ISOs, not only run the code, and it was
      only e2k isodata project that finally forced this refactoring.
      
      It's still not perfect: pack and syslinux features still end up
      somewhat interwoven, and too much places care for architecture
      the image is being built for (instead of archdep features tossing
      their appropriate bits and pieces in).
      
      Should help:
      - any-arch regarding isodata images;
      - {x86,aarch64}/efi by decoupling isoboot and isolinux;
      - ppc{,64} as introducing yaboot support will be easier now;
      - mipsel{,64} too, hopefully.
      
      * I knew of school addon images baked with mkimage-profiles-desktop
        but postponed and then neglected the whole problem for years...
      3c2ef1c0
  8. 21 May, 2018 1 commit
    • Michael Shigorin's avatar
      boot.mk, build-distro: handle e2k · cdaa9cda
      Michael Shigorin authored
      It needs (and has) no isolinux in the first place;
      this is also the situation with most or all non-x86
      arches, the code should probably reflect that.
      cdaa9cda
  9. 15 Feb, 2018 1 commit
  10. 24 Jan, 2017 1 commit
  11. 05 May, 2014 1 commit
  12. 05 Mar, 2014 1 commit
    • 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
  13. 09 Oct, 2013 1 commit
  14. 15 Jul, 2013 2 commits
    • Michael Shigorin's avatar
      build-distro: un-hardwire .disk/info · 72986b53
      Michael Shigorin authored
      It used to be a hasty static string; something like
      "ALT Linux regular-e17/x86_64" seems more relevant.
      72986b53
    • Michael Shigorin's avatar
      build-distro: skip pseudo subprofiles · da65dc2f
      Michael Shigorin authored
      rootfs presented a special case when there is no resulting
      directory at all as it gets merged with the target subprofile
      by design.
      
      Still those features adding only rootfs scripts need to depend
      on it but this resulted in an attempt to process a missing subdir.
      
      This is brought back to sanity now.
      da65dc2f
  15. 04 Feb, 2013 2 commits
  16. 11 Aug, 2012 1 commit
    • Michael Shigorin's avatar
      complex subprofile delimiter changed ("/" -> "@") · b21353a0
      Michael Shigorin authored
      That sub/stage2/install2 was somewhat clumsy actually as it looked
      like a hierarchical thing while being a substitution thing:
      generic stage2 would get put in place renamed as install2.
      
      This could only get worse with hierarchical features which have
      already been both requested and considered for quite a time,
      and "stage2 at install2" reads much more naturally.
      b21353a0
  17. 09 Aug, 2012 1 commit
    • Michael Shigorin's avatar
      git usage refactoring · c4311108
      Michael Shigorin authored
      There were heaps of "if type -t git" there already;
      it wasn't an unintentional mishap but rather a moderate
      copy-paste to get the use cases, and now these seem to
      have essentially settled.
      
      So time to scrap some dups.
      
      NB: the scripts in the generated profile can't rely on
      the contents of the metaprofile (these need to be able
      to work in standalone case either), so a bit of crap
      still lurks there.
      c4311108
  18. 16 Jul, 2012 1 commit
  19. 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
  20. 10 May, 2012 1 commit
    • Michael Shigorin's avatar
      initial kernel and metadata features · c83cc111
      Michael Shigorin authored
      This further refines the modular build by making
      metadata being a clearly separated feature rather
      than having to rely on runtime tests, and also by
      moving the code which cares for kernel bits of base
      installation (.base list) in a feature of its own.
      
      There's more to it but let's get the ball rolling first.
      c83cc111
  21. 07 May, 2012 1 commit
    • Michael Shigorin's avatar
      branding: actually support installation · c7f05641
      Michael Shigorin authored
      The initial work covered live images but missed an installer bit
      (thus notes and slideshow were missing in install2) while forgetting
      to put branding packages into base list (thus kindly making these
      available for *manual* installation sometime after, ouch).
      c7f05641
  22. 26 Mar, 2012 1 commit
    • Michael Shigorin's avatar
      initial ISO9660 metadata support · ed7bf0db
      Michael Shigorin authored
      As was noted by Alexey Shabalin in libosinfo context,
      current ALT Linux images tend to lack ISO9660 metadata
      -- which they did have back in the day of Master 2.4.
      
      Please note that the data collection occurs this way
      due to mkimage's config.mk resetting the values to be
      empty; this was worked around by using another config
      file, $(BUILDDIR)lib/iso.mk, and including it later
      but that would require a separate target with per-target
      CONFIG variable which isn't elegant at all given the need
      to actually build up the metadata set.
      
      So the variables were changed (to be more readable anyways)
      and then proxied back to BOOT_*.  This might be cleaned up
      some day after the inclusion order is tweaked or mkimage
      defaults get set-if-unset-yet (?=).
      ed7bf0db
  23. 15 Jan, 2012 1 commit
  24. 19 Dec, 2011 1 commit
    • 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
  25. 16 Dec, 2011 1 commit
  26. 06 Dec, 2011 1 commit
    • 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
  27. 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
      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
  28. 09 Nov, 2011 1 commit
  29. 06 Nov, 2011 1 commit
    • Michael Shigorin's avatar
      live-builder distro: your self-hosted livecd · 83392012
      Michael Shigorin authored
      If you make distro/live-builder.iso, the result is an image
      containing almost everything (short of actual full enough
      repository) to rebuild itself.  It will attempt to configure
      eth0 with DHCP and reach http://ftp.altlinux.org for packages.
      
      RAM requirements start with 2Gb, self-build is accomplished
      on a 4Gb host with "make CLEAN=1 distro/live-builder.iso".
      
      Packages required for "make distro/syslinux.iso" get included.
      
      (some due fixups all over the place too)
      83392012
  30. 04 Nov, 2011 1 commit
    • 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