Commit Graph

1606 Commits

Author SHA1 Message Date
Michael Shigorin
559f80adf3 a few modules.d test drives
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.
2015-04-20 13:35:28 +03:00
Michael Shigorin
e139a5e091 stage2: added broken-down module lists
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.
2015-04-20 13:35:28 +03:00
Michael Shigorin
1ee01498d5 stage1, stage2: moved propagator modules file
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.
2015-04-20 13:35:27 +03:00
Michael Shigorin
a36d0236a4 stage1, stage2: initial modlists support
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.
2015-04-20 13:35:24 +03:00
Michael Shigorin
a2fbe5115a live: move deflogin from use/live to use/live/base
...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.
2015-04-20 13:35:21 +03:00
Michael Shigorin
90bf3fcaea x11-autologin: added initial sddm support
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.
2015-04-20 13:27:51 +03:00
Michael Shigorin
11be62295b x11: added sddm support
Thanks zerg@ for having packaged it finally.
2015-04-18 20:49:58 +03:00
Michael Shigorin
49382b7294 rescue+extra: added mtd-utils
Yet another "how did we miss this?" package
containing ubifs utilities, among the rest.
2015-04-14 10:02:36 +03:00
Michael Shigorin
2a0dc40857 QUICKSTART: minor tweak
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).
2015-04-09 21:20:23 +03:00
Michael Shigorin
f147927522 main.mk: bail out if no image type was specified
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'.
2015-04-09 21:18:40 +03:00
Michael Shigorin
3cb4d9ae6a introduce QUIET variable
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.
2015-04-02 20:48:42 +03:00
Michael Shigorin
ec3d40cc1b help.mk, clean.mk: drop __frontend for tty test
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 3a8af6b55d888d25c1d97561ed2ecf37ff28ad71'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'.
2015-04-02 20:46:35 +03:00
Michael Shigorin
51cb7825dc regular.mk: added xfce4-mixer to regular-xfce-sysv
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.
2015-03-31 14:33:52 +03:00
Michael Shigorin
f2e77e4417 gear-store-tags 2015-03-30 22:13:53 +03:00
Michael Shigorin
ec8326e739 1.1.63-alt1
- support USB3, ACPI suspend
2015-03-30 22:01:16 +03:00
Michael Shigorin
f1af0aefa1 regular.mk, p7.mk: initial xfce-sysv flavour
This one has been requested by a user over at #altlinux
and seems working, at least when built on p7/branch.
2015-03-29 20:41:35 +03:00
Michael Shigorin
ccbbbede55 test.mk: propagator-test image
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).
2015-03-29 20:41:35 +03:00
Michael Shigorin
07933f3c60 syslinux: mediacheck should honour bootargs too
...just like any other stage2 based boot target,
both for consistency and specifically for propagator
test image.
2015-03-29 20:41:34 +03:00
Michael Shigorin
b2cfbc3f1f boot.mk: factor out boot/% from distro.mk
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).
2015-03-29 20:41:32 +03:00
Michael Shigorin
d0228a5380 install2: don't require bootloader just always
Commit 657c0bf 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.
2015-03-29 20:41:29 +03:00
Michael Shigorin
08d802ab0d stage1: drop dummy.ko
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).
2015-03-29 20:41:29 +03:00
Michael Shigorin
bc0f8a45ee stage1: re-add a few modules
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.
2015-03-29 20:41:29 +03:00
Michael Shigorin
09a9255f2f stage1: purge nonexistent modules
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.
2015-03-29 20:41:29 +03:00
Michael Shigorin
71ad34a9bf stage1: fix module name
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.
2015-03-29 20:41:28 +03:00
Michael Shigorin
f112a3358e stage1: add USB3 support
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?).
2015-03-29 20:41:26 +03:00
Michael Shigorin
a01f4a9f91 live.mk: drop extra services from kiosks
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.
2015-03-29 20:41:24 +03:00
Michael Shigorin
3129d6efcf live.mk: live-0ad draft
This one is based on live-flightgear of course.
2015-03-29 20:41:21 +03:00
Michael Shigorin
bc3b3a2450 desktop+lxqt+extra: use metapackage
clementine-codecs-* looks more appropriate than direct
lowlevel dependency list indeed; thanks cow@.
2015-03-29 20:41:18 +03:00
Michael Shigorin
9f9f32bf4c regular.mk: make use of ACPI suspend support
There's no excuse to miss it now that it's there.
2015-03-29 20:15:31 +03:00
Michael Shigorin
072fefdf3b install2, live: implement ACPI suspend support
The corresponding installer feature had to be updated first
following blkid(8) output format changes, but that's it!
2015-03-29 19:51:17 +03:00
Michael Shigorin
2845c89b48 gear-store-tags 2015-03-16 22:36:02 +03:00
Michael Shigorin
84e514dc76 1.1.62-alt1
- starterkits-20150312
2015-03-16 22:35:53 +03:00
Michael Shigorin
86708edeaf regular.mk: move fonts from gnustep mixin to wmaker one
Shame on me, gnustep mixin is only used in gnustep flavour
while wmaker one is used in both gnustep and wmaker flavours.

So the default serif fonts in regular-wmaker.iso were still ugly.
2015-03-12 02:22:14 +03:00
Michael Shigorin
0cbc959f86 pkg/groups: slightly better names
Consistent case and LAMP the '00s buzzword!
2015-03-12 01:42:52 +03:00
Michael Shigorin
f021e19bc3 regular.mk, regular+tde: be careful with kpowersave
I don't know of [k]powersave interactions with systemd
and the rest of that ilk, let's be cautious and only provide
it for sysv-tde images which have been actually tested
by Speccyfighter who asked for this package.

Can't tell for sure but something seems to break
suspend menu option (hibernate isn't supported in
all of the regular builds/starterkits just yet).
2015-03-12 01:28:15 +03:00
Michael Shigorin
ce8f6dc3cb http-server: drop php5 modules depending on X11
These aren't going to survive use/cleanup/x11 anyways
(and weren't that generic in the first place); let root@
install whatever they actually need later.
2015-03-12 01:21:56 +03:00
Michael Shigorin
b4d704f2c1 regular.mk: rework server images a bit
This refactoring is aimed at both providing reasonable
alterator package set in server-ovz (and server-hyperv)
while purging the install-time modules from plain server
as these were useless without a frontend package like
the web-based alterator-fbi.
2015-03-12 00:39:47 +03:00
Michael Shigorin
719e1d7d0c regular.mk, regular+kde4: move to pkglist
A few more additions proposed by Sluggard:
http://www.opennet.ru/openforum/vsluhforumID3/101671.html#182

...and it seems like LIVE_PACKAGES are asking for a pkglist;
let's switch to THE_PACKAGES for remainder while at that.
2015-03-11 13:41:27 +03:00
Michael Shigorin
bacc1a1793 regular+tde: added kpowersave
...as requested by Speccyfighter:
http://forum.altlinux.org/index.php/topic,34272.msg249405.html#msg249405
2015-03-11 03:05:25 +03:00
Michael Shigorin
4bcbe44245 regular.mk: switched lxqt to connman
It used to run NM without any kind of applet which is
not exactly usable unless it's DHCP over Ethernet there;
provide connman and qconnman-ui (applets on the road).
2015-03-11 02:36:45 +03:00
Michael Shigorin
b6d37f3430 regular.mk: disable bridge service
This has been proposed for server-hyperv by lewellyn@freenode
last summer, looks like a reasonable default for all of the
server images as those interersted in bridge setup are going
to do a few more things anyways.
2015-03-10 13:48:55 +03:00
Michael Shigorin
e09e11b978 regular.mk: switch jeos to its own volumes-profile
This image has been cleaned up somewhat thoroughly
regarding its installed package base but partitioning
has remained poorly generic with swap etc; it's now
been set to use 3/4 Gb as a minimum (to fit 1Gb VMs
or USB sticks just fine) with the only partition
created being root one; those wishing something else
are welcome to go ahead and partition by hand anyways.

See also https://bugzilla.altlinux.org/30024
2015-03-10 13:31:32 +03:00
Michael Shigorin
9b42d4dc54 gear-store-tags 2015-03-10 00:01:02 +03:00
Michael Shigorin
289b292a81 1.1.61-alt1
- EFI_BOOTARGS
2015-03-10 00:00:31 +03:00
Michael Shigorin
c907a4f6e7 regular.mk: purge qt4 from installed server images
It's not use/cleanup/x11-alterator in its entirety
but qt4-core is really *really* not needed there.
2015-03-10 00:00:30 +03:00
Michael Shigorin
2b233fffda regular.mk: allow EFI boot to make/use RW overlay
propagator-20150306-alt1 and make-initrd-propagator-0.25-alt1
have made it actually possible to use resulting LiveCD images
along with USB flash media to achieve data persistence that's
been long available for BIOS boot mode (see also #28289).

This isn't perfect but let's try flipping the switch:
all desktop regular builds are now "live_rw" by default
in EFI mode.

This requires mkimage >= 0.2.17.
2015-03-10 00:00:28 +03:00
Michael Shigorin
8a859a2902 regular.mk: "quiet" down jeos flavour
This image doesn't deign to waste one's time by presenting
them with a bootloader menu and a few other things;
make it even less verbose where not neccessary.
2015-03-10 00:00:26 +03:00
Michael Shigorin
0db031823c desktop+regular: added terminus and inconsolata
Looks like we'd better provide a few really good console fonts.
2015-03-10 00:00:24 +03:00
Michael Shigorin
280efe2a94 desktop+lxqt+extra: added liberation fonts
cool-retro-term 1.0.0 exhibits a bug without these fonts around:
glyphs would be drawn higher than cursor with upper half being
cut off (found out by putting my current crop of font packages
into livecd environment and removing them until the correct
behaviour would get broken).
2015-03-10 00:00:22 +03:00
Michael Shigorin
5bfa0182c2 regular.mk: added xpra and winswitch to icewm
xpra.org and winswitch.org are wonderful applications
helping one working with X11 apps all over the place,
running those on local and remote desktops and servers
with persistent sessions.

These aren't exactly trivial to plan and use but icewm
isn't for newbies either; thus these seem like nice match
for an "X11 thin client" image.

Size addition is ca. 50 Mb as of today which is a lot
but worth it.
2015-03-10 00:00:21 +03:00