1. 19 Sep, 2014 1 commit
  2. 05 May, 2014 1 commit
    • Michael Shigorin's avatar
      syslinux: "cdrom" notice · ab84d060
      Michael Shigorin authored
      cfg.in/README should be explicit regarding
      "automatic=method:cdrom" being usable for
      flash media too (propagator has been fixed
      since 20101130-alt10 or so, and gfxboot is
      able to tweak the cmdline having figured
      out it's running off the flash either).
      ab84d060
  3. 19 Apr, 2014 4 commits
  4. 14 Apr, 2014 1 commit
    • Michael Shigorin's avatar
      syslinux: add forensics mode · 8362a7b9
      Michael Shigorin authored
      A variant of rescue that marks the need to be careful
      towards block devices and filesystems thus reducing
      the amount of auto-activation done by startup-rescue
      (0.17 or newer).
      8362a7b9
  5. 07 Apr, 2014 1 commit
    • Michael Shigorin's avatar
      syslinux: fix mediacheck label for gfxboot · ed75be87
      Michael Shigorin authored
      Whoops, the very first build of a real distro with gfxboot
      has shown that the label isn't picked up there... and things
      are actually worse: iso.needscheck gfxboot test seems to look
      up "check=1" in sectors where it might have been landing back
      then but it's just not there by now; some kludgery is due in
      branding-altlinux-sisyphus unfortunately.
      ed75be87
  6. 31 Mar, 2014 2 commits
  7. 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
  8. 03 Feb, 2014 1 commit
    • Michael Shigorin's avatar
      syslinux: add 40lateboot.cfg (_after_ ??live*.cfg) · 5f68010a
      Michael Shigorin authored
      Actually a copy of 10localboot.cfg with a different name
      and sorting order so as to address #26608: there's no possibility
      to make a LiveCD image that would boot itself by default if localboot
      has been configured in.
      
      It's only a partial solution as it doesn't override 10localboot
      in case it's there already but a step in that direction...
      5f68010a
  9. 28 Jan, 2014 1 commit
    • Michael Shigorin's avatar
      syslinux: fixed live_rw configuration · a0d0be1a
      Michael Shigorin authored
      The initial revision was brilliantly buggy: it is *so* apparent
      that cdrom will never be actually used for rw slice that this
      has evaded my attention rather completely.
      a0d0be1a
  10. 24 Sep, 2013 1 commit
    • Michael Shigorin's avatar
      syslinux: cosmetic space · 73fd4d33
      Michael Shigorin authored
      "prompt" and subsequent first "label" were not separated
      in any way while second "label" and forth were; let's make
      the resulting isolinux.cfg a tiny bit more pretty.
      73fd4d33
  11. 23 Sep, 2013 1 commit
    • Michael Shigorin's avatar
      syslinux: ensure "default" line is there · c7dadfd8
      Michael Shigorin authored
      alterator-netinst currently relies on "default"
      being specified explicitly; it's wrong and it should
      cope with the first "label" clause as well but we're
      better off being strict to this script, not that one.
      
      This commit should be no-op regarding syslinux itself.
      c7dadfd8
  12. 25 Mar, 2013 1 commit
    • Michael Shigorin's avatar
      added live_rw support · 429ce586
      Michael Shigorin authored
      There's a need for a separate boot target since
      persistent storage is way slower than tmpfs indeed;
      usbflash has a tendency for huge performance drops
      given simultaneous writes in addition to reads which
      are the bottleneck already.
      
      make-initrd-propagator 0.18 introduced ext4 rw slice,
      so the corresponding kernel module needs to be included
      into stage1; see also #28289.
      
      NB: not available on x86_64-efi (or hybrid GPT to be strict)
      due to fragility of the hack being made: parted(8) panics
      upon seeing that, and good ol' fdisk is unable to treat it.
      
      NB: use/live/rw use/rescue/rx use/syslinux/ui/gfxboot
      are unlikely to play very nice together due to the latter's
      magic l10n: "session" label is taken by live_rw config snippet
      and *is* translated in design-bootloader-source;
      OTOH "rescue_session" is *not*.
      429ce586
  13. 11 Feb, 2013 1 commit
    • Michael Shigorin's avatar
      syslinux: drop "menu label" for gfxboot · c12f0c17
      Michael Shigorin authored
      The issue is that gfxboot's gettext support works on "label"
      strings but doesn't work properly on "menu label" ones as of 4.04
      (the "menu label" translations pop up in the "Loading ..." window
      but menu items themselves are unaffected thus untranslated).
      
      NB: debian wheezy's syslinux-4.05 package patchset contains
      somewhat related 07-gfxboot-menu-label.patch; might be worth
      attention given that debian folks participate in upstream.
      c12f0c17
  14. 20 Jan, 2013 1 commit
    • Michael Shigorin's avatar
      syslinux: lowered livecd boot priority · 9ff596db
      Michael Shigorin authored
      The reason is that the most interesting live images by now are
      installable ones, and while configurable boot order is not there yet
      the "classic" livecd images will require manual choice to boot.
      
      Thanks sem@ for reminding of that FR (which is still open).
      9ff596db
  15. 22 Nov, 2012 1 commit
  16. 12 Sep, 2012 3 commits
  17. 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
  18. 08 Aug, 2012 1 commit
  19. 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
  20. 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
  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. 25 Jun, 2012 1 commit
  23. 18 Jun, 2012 1 commit
  24. 14 Jun, 2012 1 commit
    • Michael Shigorin's avatar
      added plymouth feature · 8989fc27
      Michael Shigorin authored
      An initial draft of it was done half a year ago but several tricky
      thingies had kept the code from showing up as it was rather brittle
      and incomplete.
      
      This implementation involves quite a few changes all over the place
      but finally works good enough for live and installer images.
      
      Please pay attention to the versions of these packages:
      - installer-feature-setup-plymouth (0.3.2-alt1+)
      - branding-altlinux-sisyphus (20110706-alt2+ if used)
      - plymouth (0.8.3-alt20.git20110406+)
      
      See also:
      - http://www.altlinux.org/Branding
      - http://www.altlinux.org/Plymouth
      8989fc27
  25. 04 May, 2012 1 commit
    • Michael Shigorin's avatar
      initial branding feature · 51f5b880
      Michael Shigorin authored
      As duly noted by glebfm@, branding issues need more attention
      by now since only stage1/install2 got some of it so far in this
      regard.  Hence the dedicated feature comes to the rescue
      (well no, it doesn't actually mess with rescue!).
      51f5b880
  26. 31 Mar, 2012 2 commits
    • Michael Shigorin's avatar
      syslinux configuration revisited · b5e6906b
      Michael Shigorin authored
      - incompatible change (to fix the rather broken early style):
        use/syslinux/ui-% is now use/syslinux/ui/%;
      
      - default timeout changed to 9 seconds (long enough and keeps
        the countdown in a single figure);
      
      - added totaltimeout of 300 seconds;
      
      - provided live kiosk images with almost-instant boot by default;
      
      ...and some other assorted tweaks here and there, sorry.
      b5e6906b
    • Michael Shigorin's avatar
      cleanup scripts rehashed · 1b885b3d
      Michael Shigorin authored
      There's much reason for reuse instead of duplication
      among the different stage2-based subprofiles.
      
      In particular, the rather monolithic driver cleanup script
      of the ancient is better done in several clear pieces with
      the final depmod run.
      
      Scripts dropping apt/rpm databases will dump pkglist first.
      
      A script purging /boot/* will honour live-install if present.
      
      Minor inno^Wfixups all over the map too.
      1b885b3d
  27. 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
  28. 04 Jan, 2012 1 commit
  29. 21 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      "if test ..." replaced by "if [ ... ]" · 180ed535
      Michael Shigorin authored
      Fixed up the remnants of the early style mix
      to correspond to the proposed doc/style.txt;
      the rationale being that
      
      	if [ ... ]; then
      		...
      		...
      	fi
      
      is the more readable construct among itself,
      
      	if test ...; then
      		...
      		...
      	fi
      
      and
      
      	[ ... ] && {
      		...
      		...
      	}
      
      due to the condition being more distinguishable
      when bracketed and the body more apparent as the
      one inside "if" and not any other block; the less
      obvious difference is that the final construct of
      the latter form is prone to the whole script exit
      status being non-zero if the condition isn't met.
      180ed535
  30. 19 Dec, 2011 1 commit
    • Michael Shigorin's avatar
      syslinux: *.cfg tweaks · dbed41bf
      Michael Shigorin authored
      - parameter order fixed to "simple first, then those with args"
        and documented as the preferred one (might be debatable, okay)
      - added "lowmem" to live so it avoids a ramdisk but works off media
        (it's a knob for propagator)
      - added "fastboot" everywhere (but failsafe install) to make use
        of Linux 2.6.29+ async controller initialization
      - every snippet got a trailing newline so that isolinux.cfg is readable
      
      And a fancy makefile to check for shortcut dups!
      dbed41bf
  31. 24 Nov, 2011 1 commit
  32. 19 Nov, 2011 2 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