Commit Graph

794 Commits

Author SHA1 Message Date
Michael Shigorin
77908d8a08 main, live, rescue: reorder package list variables
The places of the terms *do* affect the sum in apt's case;
start with lowlevel items like SYSTEM_PACKAGES and end with
high-level ones like THE_LISTS to reduce the chance of getting
hit by premature virtual dependency expansion/fixation.

Adapt live and rescue features accordingly.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806#c5
Suggested-by: Leonid Krivoshein <klark@altlinux.org>
2018-06-11 15:58:41 +03:00
Michael Shigorin
a2d55319e1 init: set pkgpriorities
The infamous systemd infiltration through secondary
"targets" using virtual dependencies started with
syslogd-daemon, continued with network-config-subsystem
and later with ntp-server; all of its implementations
pulling in the main package which is explicitly unwanted
in sysv-based images.

Let's try employing pkgpriorities.
2018-06-11 15:24:10 +03:00
Michael Shigorin
6e53db42a9 pkgpriorities: add main subprofile support
Fix stage2 meta-subprofile support while at that:
it was a questionable idea to use "/" as a delimiter
when part of the substitution is a pathname.
2018-06-11 15:15:32 +03:00
Michael Shigorin
87e5c54ff4 pkgpriorities: minor docs cleanup
...and clarification (had to look up the prio list in apt sources).
2018-06-11 12:46:19 +03:00
Anton Midyukov
902d23a9e5 use/ntp: ensure openntpd
...and not any stray ntp-server
(which tends to end up with systemd-timesyncd).
2018-06-11 12:35:46 +03:00
Anton Midyukov
d657a65ec6 install2: remove xorg-drv-nv too
Not that it was critical here but rather to reduce bit rot.

See-also: https://lists.altlinux.org/pipermail/devel/2018-June/204486.html
2018-06-04 22:58:40 +03:00
Michael Shigorin
10a3bafb37 services: fix README
It (mis)stated that this feature does *not* influence install2
when it *does* since f5fd77640a.
2018-06-04 22:27:47 +03:00
Michael Shigorin
8a5a9fd2d8 net: rework towards a switch variable
The common problem was network-config-subsystem getting
resolved into something completely wrong (like net-scripts
or systemd-networkd) *before* it got specified precisely;
let's just avoid the common cause, that is, a metapackage.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806
2018-05-24 17:26:08 +03:00
Michael Shigorin
49ce23470e pkgpriorities: generalize for any stage2
install2 and live are both stage2 flavours, and I see no reason
rescue (the last one) should be any different here.
2018-05-24 17:26:02 +03:00
Michael Shigorin
756af48bd1 net: make the comment actually useful
It's not much use for it to stay without the actual
pointer to the place where NM GUIs are referenced,
I've almost started out implementing the "missing"
bit myself right now :-/
2018-05-23 15:32:37 +03:00
Michael Shigorin
26cf322550 stage1, stage2: move af_packet to 50-stage2-net
af_packet rather belongs to networking stack
than to common module library indeed.

Suggested-by: Alexey Gladkov <legion@altlinux.org>
2018-05-23 09:44:35 +03:00
Michael Shigorin
7b396b0c47 e2k: much improved hardware support
Elbrus-801 and -101 are now added; 401's support refactored
and modified to cover 4.4 server system as well.
2018-05-21 22:51:17 +03:00
Michael Shigorin
f7eadc2fc8 e2k: added ru_RU.UTF-8 preconfiguration
It's legit here as I know no Elbrus users among
non-Russian-speakers, at least so far; should move
to generic l10n feature (which will definitely see
its glory by then).
2018-05-21 22:51:01 +03:00
Michael Shigorin
89bc47f35c e2k: provide canned KOI8-R configs
This is to avoid extra actions when one actually needs
KOI8-R (which is still hardwired in some lcc messages).
Should all be rolled into l10n feature some day...
2018-05-21 22:50:51 +03:00
Michael Shigorin
bbfad01e55 e2k: make serial hook more fault-proof
The early scheme consisted of boot.conf template
with a separate hook filling it in; this was nice
for serial console setup script which could just
amend the kernel command line as needed _but_
this got changed towards the more generic scheme
(breaking the hook in question, unfortunately).
2018-05-21 22:50:35 +03:00
Michael Shigorin
cdaa9cdaa3 boot.mk, build-distro: handle e2k
It needs (and has) no isolinux in the first place;
this is also the situation with most or all non-x86
arches, the code should probably reflect that.
2018-05-21 22:50:18 +03:00
Michael Shigorin
7155a93100 Revert "x11: e2k repo has no imsettings so far"
This reverts commit b98bf15a42:
we've got imsettings built for e2k as well now.
2018-05-21 22:50:10 +03:00
Michael Shigorin
b31af10c79 tar2fs: generate proper boot.conf for e2k
This one supports multiple kernels (and tweaks boot
labels aiming to simplify target kernel selection
for the CPU at hand) instead of an earlier attempt
to fill in a template.

No need for the template so just drop it.
2018-05-21 22:50:07 +03:00
Michael Shigorin
650e92bf7f build-vm, tar2fs: handle multiple kernels either
This was crucial for e2k rescue image supporting
multiple CPU versions but can be useful elsewhere.
2018-05-21 22:50:00 +03:00
Michael Shigorin
04a12ef053 stage2: cosmetic fixup for aufs/overlayfs check
This has been made a bit messy with commit
9f72780d17,
just split the "involved" and straightforward
checks into two.
2018-05-21 22:49:50 +03:00
Michael Shigorin
d2f892abda rescue: error-proof 60-apt
It's not a blocker if enabling online repos fails;
we should provide a better handling of warnings
with e.g. a summary of those after build.
2018-05-21 22:49:36 +03:00
Paul Wolneykien
4298315d0c pkgpriorities: pinned packages feature
This one might probably change into core functionality but right now
it should help when you get not the branding, init system, or whatever
alternative you do _not_ need.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806
2018-05-21 22:12:19 +03:00
Anton Midyukov
d43fae17d4 browser: add falkon, drop rekonq
We definitely don't want to see rekonq anywhere,
it's grossly incompetent as a web browser;
and Qupzilla is now being developed under KDE
umbrella and the new name Falkon.
2018-04-11 19:12:50 +03:00
Michael Shigorin
030685c15e kernel: update for e2k
Kernel packages we have on this architecture use
uncompressed vmlinux file called image; handle that.
2018-04-04 12:46:33 +03:00
Michael Shigorin
d813c43112 build-vm: spare all gettys on e2k
It has no VM hypervisor so far, the images are intended
for bare metal execution.
2018-04-04 12:46:21 +03:00
Michael Shigorin
b081fa131f server: disable php7-fpm by default
This one is for nginx basically, and requires
a bit more setup anyways; let it be disabled
out-of-box to spare some memory.

Suggested-by: Altexander
See-also: https://forum.altlinux.org/index.php?topic=40290.0#msg321161
2018-03-11 17:53:34 +03:00
Anton Midyukov
6822106ae1 browser: add use/browser/palemoon/suggested
palemoon-suggested pulls in recommended setplugins for newmoon
2018-03-11 13:11:09 +03:00
Michael Shigorin
4d0ae3af60 syslinux: dedup generate.mk
Should be a (slightly cleaner) no-op.
2018-03-03 15:22:33 +03:00
Michael Shigorin
5cfcd809fb vnc: different labels for install+vnc* targets
These happened to collide after initial copypaste
of 20install2.cfg snippet, spotted that recently.
2018-03-03 15:13:35 +03:00
Anton Midyukov
dc1170b578 init, regular.mk: use/init/sysv/consolekit
This target is only needed for systems based on sysV init
to replace logind; it conflicts with systemd-logind.
2018-02-19 22:33:37 +03:00
Michael Shigorin
32105cfd9a dev, pkg.in: introduce dev/builder pkggroup
This looks like missing in server starterkit for me;
builder one can be installed by hand if one knows how
to do that but let's better be explicit about that.
2018-02-19 13:20:10 +03:00
Michael Shigorin
1c4a7bd5dd net, net-dns: don't spam lo iface
Putting any configuration into /etc/net/ifaces/lo/resolv.conf
makes etcnet *overwrite* /etc/resolv.conf, while putting that
into /etc/resolv.conf itself makes e.g. vzctl --nameserver
*append* to what's been specified.

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2018-02-19 12:54:33 +03:00
Michael Shigorin
d5f71b3716 image.in, build-*: generalize SUBDIRS
This is a fix to previous failures of
ve/vm + use/repo/main build attempts
(in fact, any non-distro/ targets).

SUBDIRS were just optimized away...
2018-02-15 17:03:19 +03:00
Michael Shigorin
7b9d8e9cd1 build-vm: whitespace fixup
...so that it doesn't show up in a diff with build-vm.
2018-02-14 18:34:47 +03:00
Anton Midyukov
c3fa1a933c x11: added +pulse for PA-dependent flavours
These will either pull half-baked pulseaudio in or even not
(and fail to produce sound later on).
2018-02-12 22:16:54 +03:00
Michael Shigorin
b92f022478 bootloader, live: arrange alterator module
...explicitly; this has been triggered by the change to
livecd-install as of 0.9.10-alt2 (doesn't R: alterator-grub
anymore to allow non-grub platforms as well).

This should be a no-op _together_ with the mentioned change
by now as grub is selected explicitly; will take more attention
for e.g. e2k as the problem just shifted here from livecd-install.

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-01-24 14:44:51 +03:00
Anton Midyukov
530d4c1740 sound: added a switch between alsa and pulseaudio
Those images who are fine with ALSA might still benefit
from addons like udev-alsa to have mixer levels restored
on boot; and PulseAudio-bearing images can be based upon
the same intermediate targets now without receiving the
addons they don't need.
2018-01-10 19:34:57 +03:00
Anton Midyukov
c13ec2d67b sound: added udev-alsa in feature use/sound/alsa (+alsa)
This one should care for default mixer levels upon boot.
2018-01-10 19:31:06 +03:00
Michael Shigorin
444790293a fonts: add use/fonts/chinese
...with the basic bitmap one.

Suggested-by: 9gigabit@gmail.com
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=34142
2017-12-11 23:48:52 +03:00
Michael Shigorin
1cc3a2f164 pkg.in, server: revamped server lists/groups
This has been long overdue: pretending that "http server"
is an Apache2 with PHP5 was wrong for ages, and providing
apache2/nginx, php5/php7 choice along with more databases
was waiting for its user proposal.

Follow these changes in server feature as well.

Suggested-by: Altexander
See-also: https://forum.altlinux.org/index.php?topic=40290
2017-12-11 23:38:00 +03:00
Michael Shigorin
459a46b868 syslinux: fix rescue_rw config snippet
This one enables rw session support for Rescue images;
the nitpick is that syslinux' gfxboot *will* set this up
when booting the same ISO from USB Flash media instead of
optical one (CD/DVD-ROM/RW), and we don't put gfxboot into
a standalone rescue image.

See-also: http://altlinux.org/propagator
See-also: http://altlinux.org/remount_rw
2017-12-11 20:09:20 +03:00
Michael Shigorin
e043f87775 build-vm, pack: implement qcow2c support
This is a compressed version of good ol' qcow2.

Suggested-by: Alexey Shabalin <shaba@altlinux.org>
2017-12-04 20:02:19 +03:00
Michael Shigorin
0f2411ec34 image.in, build-vm: handle qemu-img absence properly
This isn't a warning cause, this is a error cause!
2017-12-04 19:41:51 +03:00
Michael Shigorin
a173bbd070 browser: drop -be
Maybe this commit will be reverted but this is the current state
of both sisyphus and p8.

See-also: http://bugzilla.mozilla.org/show_bug.cgi?id=1304743
See-also: http://www.opennet.ru/opennews/art.shtml?num=45909
See-also: http://www.opennet.ru/opennews/art.shtml?num=46987
2017-12-04 18:24:53 +03:00
e0dfa733e6 install open-vm-tools-desktop for use/vmguest/vmware/x11 2017-10-31 13:23:49 +03:00
a9b1f05501 add use/vmguest/kvm/x11 2017-10-31 13:13:09 +03:00
Michael Shigorin
af20f89346 rescue: make libX11 test a bit more helpful
It should be more clear what gets libX11 test triggered.
2017-10-23 18:54:37 +03:00
Michael Shigorin
f32fd9a3b0 firmware: add firmware-rt* to use/firmware/wireless
...for firmware-rt61pci; thanks to an anonymous bugreporter.

See-also: http://www.opennet.ru/openforum/vsluhforumID3/112310.html#177
2017-09-25 23:59:25 +03:00
Mike Radyuk
fe07f4091f Fix armh feature 2017-09-12 14:28:28 +03:00
792e70e237 - add open-vm-tools to use/vmguest/vmware 2017-09-08 18:41:28 +03:00