1. 20 Apr, 2015 7 commits
    • Michael Shigorin's avatar
      stage2: make use of finer-grained module lists · 111ec1d0
      Michael Shigorin authored
      This is sort of laying the ground for the future dismantling
      of 10-stage2 (which was sub.in/stage1/modules just recently);
      things look like tagged lists might become due some day, e.g.
      "net+usb" or "scsi+raid" -- time will tell.
      111ec1d0
    • Michael Shigorin's avatar
      a few modules.d test drives · 559f80ad
      Michael Shigorin authored
      These are aimed to test the modules.d/ and auto-pickup
      implementation as well as to present an example.
      
      At least 50-net might change (or just get renamed to avoid
      auto-pickup) some day as the "net" feature's meaning is
      to provide networking upon bootup and these modules are
      only needed within stage1 if we're going to netboot;
      and that's quite different thing.
      
      armh-cubox bits are prone to get renamed/generalized too
      since e.g. ArmadaXP based server images are going to need
      this as well.
      559f80ad
    • Michael Shigorin's avatar
      stage2: added broken-down module lists · e139a5e0
      Michael Shigorin authored
      These were produced off the single sub.in/stage1/modules
      file using this scriptlet to prefix/annotate the names:
      
        grep '\.ko$' modules \
        | grep -v / \
        | while read m; do \
        	echo "$(find /lib/modules/$(uname -r)/kernel/{drivers,fs} \
      		-name "$m" -printf %P $m $(modinfo -d "${m%.ko}" 2>&1)"; \
          done
      
      ...with subsequent sorting and manual separation.
      
      This is meant to be the second stage in monolithic modules
      file split, so the lists themselves are largely unmolested
      otherwise.  The plan is to further split those into prefix-
      and module-specific ones.
      
      Add a note clarifying 10-stage2's status, by the way.
      e139a5e0
    • Michael Shigorin's avatar
      stage1, stage2: moved propagator modules file · 1ee01498
      Michael Shigorin authored
      What was a static sub.in/stage1/modules (and the only one)
      is now features.in/stage2/stage1/modules.d/10-stage2
      (basically a compatibility file that might go some day).
      
      It will be auto-picked as its name corresponds to the
      NN-SUFFIX pattern specified in stage1 subprofile now
      with $(FEATURES) going into default STAGE1_MODLISTS.
      1ee01498
    • Michael Shigorin's avatar
      stage1, stage2: initial modlists support · a36d0236
      Michael Shigorin authored
      stage1's got prepare-modules target collecting
      modules file snippets all over stage1/modules.d/
      subdirectories within individual features.
      
      stage2 now adds names of all the features going into
      a particular image as snippet file suffix list so that
      individual features don't have to register themselves
      twice (as a feature and as a propagator modules.d
      snippet carrier).
      
      This is going to allow both "uncommon" modules getting
      included with no problem (sin@ has wanted cifs ones
      for quite some time, for example, and some want e.g.
      infiniband modules) *and* to reduce the actual list
      below the common mark as well (which is the case with
      live-privacy image, for one).
      
      And stage1 memory consumption does matter in some cases
      as it's highly critical with no chance to use swap yet.
      a36d0236
    • Michael Shigorin's avatar
      live: move deflogin from use/live to use/live/base · a2fbe511
      Michael Shigorin authored
      ...and split off use/live/.base *without* use/deflogin/live.
      
      There's need for live images without predefined logins
      (like e.g. live-privacy image).
      
      NB: this commit might break things for someone, please notify.
      a2fbe511
    • Michael Shigorin's avatar
      x11-autologin: added initial sddm support · 90bf3fca
      Michael Shigorin authored
      The unfortunate thing is that we have to take care
      for sessions, somehow; still there are only two for now
      (LXQt and KDE5 Plasma Desktop) so this doesn't look like
      a disaster just yet.
      90bf3fca
  2. 18 Apr, 2015 1 commit
  3. 14 Apr, 2015 1 commit
  4. 09 Apr, 2015 2 commits
    • Michael Shigorin's avatar
      QUICKSTART: minor tweak · 2a0dc408
      Michael Shigorin authored
      It was found out during the "from scratch" walkthrough
      over http://altlinux.org/m-p with a new user that the
      proposed test build run isn't clear regarding the proper
      current working directory (wiki refers to QUICKSTART
      copy over at http://git.altlinux.org, and this file has
      been written with assumption that it's being read from
      within the repository's toplevel directory; the resulting
      context isn't consistent in that regard).
      2a0dc408
    • Michael Shigorin's avatar
      main.mk: bail out if no image type was specified · f1479275
      Michael Shigorin authored
      e.g., `make distro/icewm' instead of `make distro/icewm.iso'
      would be "successful" as there's a corresponding target indeed
      but the "success" would just mean building the configuration
      without running the actual build.
      
      Thanks cas@ for hitting this issue and reporting it.
      
      PS: note that the initial flagless implementation turned out
          to produce false positives for e.g. `make distclean'.
      f1479275
  5. 02 Apr, 2015 2 commits
    • Michael Shigorin's avatar
      introduce QUIET variable · 3cb4d9ae
      Michael Shigorin authored
      This one reduces the amount of output that's only
      interesting when one is actually watching the console
      during builds (at least the early stage) -- these tend
      to look boilerplate and be useless when inspecting the
      output of a large batch build like [[regular]] one.
      3cb4d9ae
    • Michael Shigorin's avatar
      help.mk, clean.mk: drop __frontend for tty test · ec3d40cc
      Michael Shigorin authored
      The __frontend variable was introduced to address the needs
      of alterator-mkimage module: list the images available in
      one column, purge the builddir.
      
      Looks like we should consider other cases with redirected
      stdout (cron builds, piped calls, etc) like fundamentally
      non-interactive and behave the same.
      
      So commit 3a8af6b5's
      description is wrong now; the current cleanup rules are:
      
      - if CLEAN=0 or DEBUG>1, don't do it;
      - if CHECK or REPORT is set, don't do it;
      - otherwise if at least one of the following conditions is true:
        + there's more than one target being built in a row;
        + stdout was redirected (cronjob, alterator-mkimage...);
        + metaprofile directory is read-only
        ...then do a distclean.
      
      If that doesn't suit your needs, describe the particular
      situation please.
      
      Thanks cas@ for wondering aloud whether greppable output
      is unsupported with `make help'.
      ec3d40cc
  6. 31 Mar, 2015 1 commit
    • Michael Shigorin's avatar
      regular.mk: added xfce4-mixer to regular-xfce-sysv · 51cb7825
      Michael Shigorin authored
      sem@ noted that it had to be dropped from xfce4-full metapackage
      as this package is built on top of gstreamer 0.10 and the API it
      uses was dropped from gstreamer 1.0 so it's gonna die some day;
      upstream recommends xfce4-pulseaudio-plugin but it's not suitable
      to some of us, like Speccyfighter; well let's add the good ol'
      plugin to sysv based flavour for now and see how it holds.
      51cb7825
  7. 30 Mar, 2015 2 commits
  8. 29 Mar, 2015 15 commits
    • Michael Shigorin's avatar
      regular.mk, p7.mk: initial xfce-sysv flavour · f1af0aef
      Michael Shigorin authored
      This one has been requested by a user over at #altlinux
      and seems working, at least when built on p7/branch.
      f1af0aef
    • Michael Shigorin's avatar
      test.mk: propagator-test image · ccbbbede
      Michael Shigorin authored
      This one is a minimalistic one to test propagator
      without having to add the debug stanza by hand
      as well as to run stage1 build/test cycles faster
      (would have helped me understand the recent thinko
      with xhci-hcd vs xhci_hcd, for example).
      ccbbbede
    • Michael Shigorin's avatar
      syslinux: mediacheck should honour bootargs too · 07933f3c
      Michael Shigorin authored
      ...just like any other stage2 based boot target,
      both for consistency and specifically for propagator
      test image.
      07933f3c
    • 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
    • Michael Shigorin's avatar
      install2: don't require bootloader just always · d0228a53
      Michael Shigorin authored
      Commit 657c0bf6 has silently added use/bootloader
      to the base use/install2 target thus breaking
      experimental distro/netinst; it seems better to
      require *a* bootloader in the target that's been
      specifically designed to cover the common case
      (thus linked to by +installer shortcut) but still
      to have our base lightweight and flexible.
      
      This doesn't hurt the actual distros as these use
      +installer of course.
      d0228a53
    • Michael Shigorin's avatar
      stage1: drop dummy.ko · 08d802ab
      Michael Shigorin authored
      Looks like it's been dumped in along with the rest but not
      actually used in {make-initrd-,}propagator; the problem with it
      is that snd-dummy.ko matches and pulls a bunch of unrelated
      modules where these don't belong (grep -w wouldn't match
      snd_dummy.ko though).
      08d802ab
    • Michael Shigorin's avatar
      stage1: re-add a few modules · bc0f8a45
      Michael Shigorin authored
      These can be found in (semi-)supported branches still:
      
      - loop.ko:
        + 3.0.101-std-def-alt0.M60P.1
        + 3.4.96-led-ws-alt0.M70P.1
      - aufs.ko:
        + 2.6.32-el-smp-alt31
        + 3.4.96-led-ws-alt0.M70P.1
      
      ehci_marvell.ko isn't found in contemporary sisyphus/armh
      kernels but let's purge it later during archdep rewrite.
      
      NB: libusual.ko has been renamed to usb-libusual.ko as of p6
          (not to be found in p7 anymore), and nls_base.ko was in
          2.6.32 kernels as of p6 but not there in p7; purge these
          somewhere down the road.
      bc0f8a45
    • Michael Shigorin's avatar
      stage1: purge nonexistent modules · 09a9255f
      Michael Shigorin authored
      This file has been floating around for quite some time,
      and some of its contents are pure bit rot by now...
      
      Drop the modules that don't exist as of 3.19.2-un-def-alt1
      upon manual diff examination.
      09a9255f
    • Michael Shigorin's avatar
      stage1: fix module name · 71ad34a9
      Michael Shigorin authored
      It wasn't sdhci_pci.ko back in 2.6.32 actually and it's
      sdhci-pci.ko; so grep used by mkmodpack won't pick it up.
      71ad34a9
    • Michael Shigorin's avatar
      stage1: add USB3 support · f112a335
      Michael Shigorin authored
      This has been missing for *so* long somehow, and adding some 200k
      of modules for fast hardware that's widely available by now
      looks like a deal.
      
      Added USB Attached SCSI module just in case (or rather for weak
      crc_t10dif symbols?).
      f112a335
    • Michael Shigorin's avatar
      live.mk: drop extra services from kiosks · a01f4a9f
      Michael Shigorin authored
      There are a few ones that aren't needed for a one-time
      environment off a LiveCD/Flash like a webkiosk; if you
      happen to need a text-based kiosk some day, tell me so.
      a01f4a9f
    • Michael Shigorin's avatar
      live.mk: live-0ad draft · 3129d6ef
      Michael Shigorin authored
      This one is based on live-flightgear of course.
      3129d6ef
    • Michael Shigorin's avatar
      desktop+lxqt+extra: use metapackage · bc3b3a24
      Michael Shigorin authored
      clementine-codecs-* looks more appropriate than direct
      lowlevel dependency list indeed; thanks cow@.
      bc3b3a24
    • Michael Shigorin's avatar
      regular.mk: make use of ACPI suspend support · 9f9f32bf
      Michael Shigorin authored
      There's no excuse to miss it now that it's there.
      9f9f32bf
    • Michael Shigorin's avatar
      install2, live: implement ACPI suspend support · 072fefdf
      Michael Shigorin authored
      The corresponding installer feature had to be updated first
      following blkid(8) output format changes, but that's it!
      072fefdf
  9. 16 Mar, 2015 2 commits
  10. 11 Mar, 2015 7 commits