1. 29 Aug, 2024 1 commit
  2. 02 Nov, 2023 1 commit
  3. 30 Dec, 2022 2 commits
  4. 21 Dec, 2021 2 commits
  5. 25 Jul, 2018 1 commit
    • 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
  6. 26 Jul, 2016 1 commit
  7. 29 Mar, 2015 1 commit
    • Michael Shigorin's avatar
      boot.mk: factor out boot/% from distro.mk · b2cfbc3f
      Michael Shigorin authored
      Yes these bits are related to distro/ prefixed images
      still the overgeneralization in distro.mk didn't pay off
      but rather hid a bug with the only boot/isolinux in use
      having no dependency on use/syslinux (which is required).
      
      Maybe this will get revisited when we have other kinds
      of bootable images with other bootloaders (vm/ ones care
      for themselves as of today).
      b2cfbc3f
  8. 17 Jun, 2013 1 commit
    • Michael Shigorin's avatar
      initial rootfs subprofile and services feature · 67adab49
      Michael Shigorin authored
      This subprofile is akin to THE_* variables family: the configuration
      bits and script hooks sitting there influence whatever chroot is
      declared to be the user facing one in the end, whether it comes
      from vm image or live subprofile.
      
      The services feature ought to be a changeset of its own which would
      be based on rootfs and become the base for ve/vm changes but I chose
      to just do it atomically; some pre-existing duplicates are pruned now.
      67adab49
  9. 24 May, 2013 1 commit
    • Michael Shigorin's avatar
      install2: introduced +installer mixin · 7b76c734
      Michael Shigorin authored
      This one is a part of a larger rewrite to move away from
      distro-centric build-up to configuration-centric one with
      the particular packaging being of secondary importance
      compared to actual functionality.
      7b76c734
  10. 27 Oct, 2012 1 commit
    • Michael Shigorin's avatar
      distro/installer, use/live/x11 += use/firmware · 02791834
      Michael Shigorin authored
      This is thanks to the fact that alterator-based install2 needs
      alterator-browser-qt which needs X11 which needs working device drivers
      -- and at least AMD C60 APU would only yield a nice dotted white screen
      without that firmware.
      
      Roughly the same for X11 bearing LiveCD images.
      02791834
  11. 10 May, 2012 3 commits
    • Michael Shigorin's avatar
      lib/distro.mk: tiny ISO info tweak · 9eae9d7b
      Michael Shigorin authored
      udisks seem to pass up META_VOL_ID;
      let's make it a bit more informative.
      9eae9d7b
    • Michael Shigorin's avatar
      use/installer/kms · e6aa4ecc
      Michael Shigorin authored
      Just like livecd-install, graphical installer KMS support
      looks better as an optional part of install2 feature.
      
      Of course it's optional only if the release manager is fine
      with VESA drivers and not KMS-requiring intel/radeon/nouveau;
      thanks led@ for a confirmation just in case.
      e6aa4ecc
    • 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
  12. 18 Apr, 2012 1 commit
    • Michael Shigorin's avatar
      virtualbox feature renamed to vm, extended · 48587911
      Michael Shigorin authored
      Initial SPICE support has been added for kvm/libvirt installation
      and boot-up using qxl and spice by default as proposed by shaba@.
      
      VirtualBox part is shifted a level deeper correspondingly
      but otherwise stays the same.
      48587911
  13. 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
  14. 19 Mar, 2012 1 commit
    • Michael Shigorin's avatar
      plant SHELL beacons into all config-forming rules · 79bb3f8d
      Michael Shigorin authored
      As noted in doc/assumptions.txt, the SHELL based target tracing
      only works for rules with recipes, even empty but present ones.
      
      The simplest thing to do is hooking "; @:" onto the rule's tail
      (one-liner with a non-printing shell builting "true" command).
      79bb3f8d
  15. 09 Feb, 2012 1 commit
    • Michael Shigorin's avatar
      distro/installer related graph cleanup · 62ab13cc
      Michael Shigorin authored
      As was duly noted by Leo-sp50, both server.mk and desktop.mk
      duplicate a few bits layered over bare distro/installer which
      happened to be both a dependency (thus should reduce redundancy)
      and a "real distro" target (well, it doesn't just work yet, need
      to provide networking and sources.list in install2 by hand).
      
      Fixed by moving a "node" to distro/.installer along with typical
      additions and leaving a bare installer as is by now; there's a
      need to get it working at least for DHCP/ftp.altlinux.org case.
      62ab13cc
  16. 16 Dec, 2011 1 commit
  17. 24 Nov, 2011 1 commit
    • 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
  18. 04 Nov, 2011 19 commits
    • Michael Shigorin's avatar
      introduced conf.d/ for distro, ve config snippets · e8306860
      Michael Shigorin authored
      This was asked for by Leo-sp50 and torabora, and seems quite reasonable:
      let's provide means to keep at least some distribution configurations
      a bit apart, so that these can be considered more standalone in terms
      of hard warranted functionality but at the same time enjoying the common
      infrastructure.
      
      Considering lib/distro.mk: it's now experimentally pulled apart so that
      parallel development of different distro families can go on without
      major merge hassles.  *Please* don't abuse with massive copy-paste.
      
      And before you ask: this might get extended to allow for "private"
      out-of-tree configurations being included since apparently there
      are goals with no meaning outside of some very particular context...
      but otherwise I'd like to encourage getting reusable bits in-tree.
      e8306860
    • 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
      server-ovz.iso: employ proper cleanup · 08b93554
      Michael Shigorin authored
      The reason not to add server cleanup right into
      distro/server-base is the possibility to build
      combined installers (read centaurus).
      Gotta sort it out some day...
      08b93554
    • Michael Shigorin's avatar
      initial features.in/cleanup · c5bf0529
      Michael Shigorin authored
      This is a sort of anti-feature which removes and not builds;
      still with mkimage-profiles' approach we can at least build
      up the removal procedures as well.
      
      It's what triggered the tagged scripts, BTW.
      c5bf0529
    • Michael Shigorin's avatar
      initial features.in/dos · a3c0d2bb
      Michael Shigorin authored
      This was tackled before but it took raorn@'s hint regarding
      sys-freedos-linux (ms-sys has no bootsectors compatible with
      freedos currently) and gns@' quick rush at make-freedos-floppy
      script to wrap things up.
      
      Should be further developed to become actually useful though.
      a3c0d2bb
    • Michael Shigorin's avatar
      initial features.in/powerbutton · f32ae716
      Michael Shigorin authored
      Should support ACPI and APM schemes;
      only the former tested so far.
      f32ae716
    • Michael Shigorin's avatar
      cosmetic fixup (s/GROUPS/MAIN_GROUPS/g) · b56df316
      Michael Shigorin authored
      MAIN_GROUPS should align better along with MAIN_PACKAGES
      and MAIN_LISTS (even if MAIN_ prefix might be suboptimal
      given that these packages are essentially extras within
      the particular image).
      b56df316
    • Michael Shigorin's avatar
      minicd.iso -> server-mini.iso (and more tags) · 4dfd6898
      Michael Shigorin authored
      minicd target was a hasty hack indeed, let's put it in line;
      an attempt at practical use discovered the lack of important
      packages like dhcpcd, these were added on per package basis
      and quickly remade to use tags -- which seem to fit better.
      4dfd6898
    • Michael Shigorin's avatar
      fixed grub installer distros · 9475d199
      Michael Shigorin authored
      These were broken since 5ff375aa10bee7937db457d3df3115f938bb6c77
      due to no bootloader being tossed anymore by the very
      installer-distro-altlinux-generic (which is the default)
      9475d199
    • 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
      initial rescue image · 0e57149d
      Michael Shigorin authored
      NB: this implementation is awfully cut-n-paste one,
      there are lots of common code with install2
      which are subject to careful surgery
      0e57149d
    • Michael Shigorin's avatar
      prepare for multiple live images · 5569b4fc
      Michael Shigorin authored
      s,INSTALLER_KFLAVOUR,STAGE1_KFLAVOUR,g
      s,INSTALLER_KMODULES,STAGE1_KMODULES,g
      
      install2 isn't the only livecd around;
      so far all of these share the same kernel
      in m-p-d, and we'd rather need two+ kernels
      with dual-arch media or so; let's not complicate
      things too much at this point
      5569b4fc
    • Michael Shigorin's avatar
      rough bootloader selection draft (grub/lilo) · 20844de7
      Michael Shigorin authored
      NB: needs installer-distro-altlinux-generic = 6.0-alt2
          as it doesn't require alterator-grub indefinitely
      20844de7
    • Michael Shigorin's avatar
      initial x11 desktop distro support · e78c62b4
      Michael Shigorin authored
      This one is pre-alpha quality and very basic but complete enough
      to crank out an icewm.iso successfully installing and booting
      into xdm ;-)
      
      (actually a week's on-and-off work including a pile of
      underlying infrastructure stuff which was planned already
      just not there yet)
      e78c62b4
    • Michael Shigorin's avatar
      .base rehashed, DISK_LISTS renamed, etc · 5f881522
      Michael Shigorin authored
      In particular:
      - .base is now generated from pieces (see image.in/Makefile)
      - s/DISTROS/IMAGES/g; s/CONFIGS/DISTROS/g (for clarity)
      - s/DISK_LISTS/MAIN_LISTS/g ("disk" was early m-p-d legacy)
      - introduced BASE_PACKAGES to complement BASE_LISTS
      - minor tweaks to Makefile (ARCH and DATE moved elsewhere)
      - libdistro.mk: dropped overlooked IMAGE_INIT_LIST copy
      - clean.mk: silly cleanup
      5f881522
    • Michael Shigorin's avatar
      distro.mk: altlinux-generic installer by default · a9e4934b
      Michael Shigorin authored
      installer-distro-server-light (using installer-feature-vm-server-light)
      is specifically tuned for Server Light needs, and in general we have
      different ones (regarding installer steps, autopartitioning profile,
      configured services, etc).  So here's the replacement.
      a9e4934b
    • Michael Shigorin's avatar
      moved stage1 scripts into feature.in/installer · 1a8d74e8
      Michael Shigorin authored
      All the three scripts depend on installer kernel presence in fact.
      When live/rescue are in place, these should be adjusted correspondingly,
      probably by moving them to some commonly used intermediate place.
      
      Changed stage1 banner too.
      1a8d74e8
    • Michael Shigorin's avatar
      syslinux: add vesamenu ui support · 1941e527
      Michael Shigorin authored
      ...and switch syslinux.iso over to it: syslinux-3.86-alt4's
      (actually opensuse's) gfxboot hackery doesn't properly init
      video mode so memdisk-started freedos has console troubles
      (and yesterday's hdt.c32 hassles could be avoided as well
      it seems).  And that's being implemented.
      
      Mid-term plan: try switching to syslinux4.
      
      PS: CLI fallback was actually a bug in hdt from syslinux <= 3.86-alt3
      1941e527
    • Michael Shigorin's avatar
      installer firmware support · e53b6acb
      Michael Shigorin authored
      Thanks go to lakostis@ (see #18047) for all the aic94xx reminders
      and the final testing of the proposed image.
      e53b6acb