1. 19 Nov, 2012 3 commits
    • Michael Shigorin's avatar
      initial EFI support · 653b8e1d
      Michael Shigorin authored
      EFI/UEFI is mostly about partitioning and bootloader setup,
      at least from a distribution's point of view; so the
      appropriate tools should be handy and firmware interface
      module should not be exterminated from installer images
      but get autoloaded instead.
      
      Please note that while there exists 32-bit x86 EFI
      we don't bother with it at the time being: it's relevant
      to some irrelevant Xeon systems as well as for the older
      Intel Macs (<2008) that are long out of fashion anyways.
      That is, initially we deal with x86_64 EFI only.
      653b8e1d
    • Michael Shigorin's avatar
      live: support systemctl to enable *dm · 0efba3e4
      Michael Shigorin authored
      systemd is a tricky beast: getting it to actually launch gdm
      required considerable effort on the part of stupid myself.
      
      The relevant links:
      * https://wiki.archlinux.org/index.php/Systemd#Running_DEs_under_systemd
      * http://unix.stackexchange.com/a/35626/15296
      
      Still looks pretty dirty, and there's some duplication
      with a hook in features.in/slinux as well.
      0efba3e4
    • Michael Shigorin's avatar
      live: enable dm service if present · 6a6a0e1c
      Michael Shigorin authored
      This was requested by aris@ for live-gnome.iso but is so far
      reasonable enough to do by default: the case of a LiveCD
      including X and a display manager but willing to get on
      with startx by default is rather nonexistant by now.
      6a6a0e1c
  2. 10 Nov, 2012 1 commit
    • Michael Shigorin's avatar
      80-make-initfs: fix the silliest mistake ever · c30490e2
      Michael Shigorin authored
      *Of course* the "weird" [ ... ] || ... construct meant to avoid
      the non-zero exit status of the whole thing wasn't employed
      where it actually does make the difference!
      
      Thanks ildar@ for hitting and reporting this, as in
      
        + verbose '/usr/lib64/propagator exists'
        + '[' -n '' ']'
        mki-scripts: .../stage1/scripts.d/80-make-initfs: unable to run script.
        make[3]: *** [run-scripts] Error 1
      c30490e2
  3. 31 Oct, 2012 1 commit
  4. 30 Oct, 2012 1 commit
  5. 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
  6. 16 Oct, 2012 1 commit
    • Michael Shigorin's avatar
      stage2: cope with current make-initrd-propagator · aaddfb74
      Michael Shigorin authored
      The issue that appeared pretty hard to diagnose occured
      to be the enhancement made in make-initrd-propagator=0.8.1-alt1.2
      (that didn't hit Sisyphus until merged into 0.10-alt1) which
      drops propagator dependency.
      
      And that was optimized out in m-p, of course.
      aaddfb74
  7. 15 Oct, 2012 2 commits
    • Michael Shigorin's avatar
      80-make-initfs: fixed silly thinko · 90b8fd49
      Michael Shigorin authored
      The added pdir check was a hillarious(tm) overlooked bug indeed:
      I tried to put .../initfs/initfs instead of .../initfs as the result.
      
      Duly spotted by torabora@, thanks a lot.
      
      Still the kmod+propagator+kernel-image combo needed some tweaking too,
      see #27640
      90b8fd49
    • Michael Shigorin's avatar
      stage2: brevity fix · 944e0341
      Michael Shigorin authored
      A tiny bit less cut-n-paste. :)
      944e0341
  8. 10 Oct, 2012 2 commits
  9. 01 Oct, 2012 1 commit
  10. 24 Sep, 2012 2 commits
    • Michael Shigorin's avatar
      80-make-initfs: fix for current make-initrd* · 12a2fc98
      Michael Shigorin authored
      Thanks mithraen@ for spotting, boyarsh@ for explaining,
      and legion@ for hearty support :)
      
      The problem would manifest itself like this:
      
        /.host/script.sh: line 20: /usr/lib64/propagator/initfs: \
        No such file or directory
        mki-scripts: .../stage1/scripts.d/80-make-initfs: unable to run script.
      12a2fc98
    • Michael Shigorin's avatar
      install2: added convenient filesystems support · 30d0340d
      Michael Shigorin authored
      Thanks Serg Markov for bringing my attention to this:
      http://www.opennet.ru/openforum/vsluhforumID3/86552.html#61
      
      While the official distros might skip some filesystems for
      support reasons there's no reason for community distros to
      do so either.
      
      Let's try that with icewm.iso...
      
      NB: installer has a misfeature of dropping jfs/reiserfs
          support in runtime unless "expertmode" magic word
          is on the kernel bootargs string (#27763, #17368).
      30d0340d
  11. 12 Sep, 2012 4 commits
  12. 03 Sep, 2012 4 commits
    • Michael Shigorin's avatar
      actually useful vm/icewm · e52e2178
      Michael Shigorin authored
      See http://www.opennet.ru/openforum/vsluhforumID3/86239.html#1
      for a query that has led to this one; in particular,
      - xdm dropped (won't log in root and there are no users yet);
      - network is brought up and configured via DHCP by default;
      - apt-get works out-of-box;
      - default image size is twice the chroot size.
      e52e2178
    • Michael Shigorin's avatar
      use un-def kernel by default · 0e8871e7
      Michael Shigorin authored
      3.5.2-std-def-alt2 brings boot problems which were absent
      with 3.4.x-std-def and are absent with 3.5.x-un-def;
      seems like it's better to stay with known good variant
      at the moment instead of having to fall back to it.
      0e8871e7
    • Michael Shigorin's avatar
      no more *silent* aliases · 84591991
      Michael Shigorin authored
      The missing "; @:" at the end of the otherwise recipeless rule
      resulted in target graph being broken; I should have checked this
      when introducing these aliases (the intent was to reduce noise).
      84591991
    • Michael Shigorin's avatar
      systemd += chkconfig · d2581522
      Michael Shigorin authored
      It appears that chkconfig wasn't getting pulled in
      by now if not told so explicitly.  Still in need.
      d2581522
  13. 13 Aug, 2012 1 commit
  14. 11 Aug, 2012 3 commits
    • Michael Shigorin's avatar
      features: hopefully better README · c08e86af
      Michael Shigorin authored
      Thanks both drool@ for his mild frustration with the current
      documentation as well as Greg Kroah-Hartman, Heikki Orsila
      and Neil Brown for http://lwn.net/Articles/504814/ -- the docs
      should really emphasize *why* something is done, not *how*,
      as the "how" part is better documented with the code itself
      (that doesn't mean that "the big picture" isn't needed).
      c08e86af
    • 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
    • Michael Shigorin's avatar
      features: drop dirtags · 912dbcfd
      Michael Shigorin authored
      Finishes what 3dd02033
      has essentially done... the path seems to be elsewhere.
      912dbcfd
  15. 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
  16. 08 Aug, 2012 2 commits
    • Michael Shigorin's avatar
      rescue += boot off sda/sdb · 9c16a9e6
      Michael Shigorin authored
      There's no (convenient) "eject" at times, so it's better to provide
      extra ways of booting right away.
      9c16a9e6
    • Michael Shigorin's avatar
      rescue += openssh · 70793436
      Michael Shigorin authored
      Found myself pretty silly while sittin' at the rescue console
      and bein' unable to leave the cool server room for a way
      more comfortable armchair and a laptop's keyboard...
      
      (yes, it was that disk array needing GPT tools)
      70793436
  17. 06 Aug, 2012 1 commit
    • Michael Shigorin's avatar
      syslinux: honour META_VOL_SET for boot menu · cbfc3db8
      Michael Shigorin authored
      This trots along the TODO item on text branding
      and hopefully helps Michael Radyuk (torabora)
      with his feature request to tweak the installer's
      "Install ALT Linux" label; as an example, Simply
      will now offer to "Install Simply Linux".
      cbfc3db8
  18. 31 Jul, 2012 1 commit
    • Michael Shigorin's avatar
      syslinux: no ui, no escape · 46e3c947
      Michael Shigorin authored
      This one was suggested by enp@ for industrial use where
      some extra protection for the boot process might be quite
      desirable.
      
      If no syslinux ui was specified (the stock configuration paths
      ensure there is one) or if it was set to "none" explicitly,
      then there's no boot: prompt (let alone any menu).
      
      If there's a need to ensure that the boot process is not
      interruptable by Ctrl/Shift/Caps Lock/Scroll Lock.
      46e3c947
  19. 28 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      branding: clarify README · 8fd4b396
      Michael Shigorin authored
      It wasn't obvious at all what BRANDING variable is for
      (at least until the source code and existing configurarion
      has been examined).
      8fd4b396
    • Michael Shigorin's avatar
      initial live-testserver.iso · 57747b22
      Michael Shigorin authored
      Also pulled the pkglist/kmodule part out of distro/server-mini's
      recipe and started off a standalone feature based on it.
      
      NB: el-smp kernel now contains aufs as a module but propagator
      doesn't try to modprobe it.
      57747b22
  20. 19 Jul, 2012 2 commits
    • Michael Shigorin's avatar
      x11: ensure kdm3 installation for tde · ceffac40
      Michael Shigorin authored
      TDE distros don't really need kdm4 which was proposed as
      a replacement by zerg@ (for all the valid reasons but kdm3
      wasn't maintained at that point, this has changed since).
      ceffac40
    • Michael Shigorin's avatar
      live, rescue: fix stage2cfg.mk LISTS/PACKAGES order · 6c00e10b
      Michael Shigorin authored
      The reason is that package lists and individual packages
      are processed in different dependency resolution "transactions"
      by mkimage; thus if packages (the more precise form of specifying
      the contents) come first they can't override the lists appearing
      later, and that's wrong: we should be able to specify the more
      generic things and then pinpoint the specifics.
      
      This became apparent while authoring [[Mkimage/Profiles/m-p/howto]]
      asked for by drool@.
      6c00e10b
  21. 18 Jul, 2012 1 commit
    • Michael Shigorin's avatar
      build-vm: standalone build is a must, too · cb764516
      Michael Shigorin authored
      The problem was spotted by Alexander Bandura:
      bin/tar2vm wasn't present in the generated profile.
      
      I considered extending features.in/Makefile to include
      bin/ alongside lib/ but that would make the helper's location
      unpredictable (unless BUILDDIR is specified explicitly) so
      restricting sudoers would be harder; worse yet, the copied file
      would come with write access for the user building an image.
      
      The implications in restricted case are complex enough anyways
      so the recommended implementation would only include a fixed
      readonly location like /usr/share/mkimage-profiles/bin/tar2vm
      as laid out in doc/vm.txt, and that means it's in the metaprofile
      not a generated profile.
      cb764516
  22. 16 Jul, 2012 2 commits
  23. 02 Jul, 2012 1 commit