Commit Graph

938 Commits

Author SHA1 Message Date
f35351d877 init: avoid add root dev to fstab for vm image
This was erroneously added to overly broad class of images.
2018-12-24 19:22:33 +03:00
90ab85abfa init: delete non-existing systemd feature
It was dropped from make-initrd back in 2012:
http://git.altlinux.org/gears/m/make-initrd.git?p=make-initrd.git;a=commitdiff;h=853eed35ea72cf5a6409ef7f465f76da4f5dd097
2018-12-24 19:22:32 +03:00
Anton Midyukov
bbe5085633 x11: new target use/x11/armsoc
xorg-dri-armsoc for armh and aarch64
2018-12-24 18:28:10 +03:00
Anton Midyukov
4aa54c9ea3 drop use/palemoon/suggested
Package palemoon-suggested no longer exists.
2018-10-29 12:46:25 +03:00
Anton Midyukov
b443f9ca4a new target use/x11/lxdm
lxdm - lightweight display manager for LXDE
2018-10-29 12:46:18 +03:00
Michael Shigorin
ce0f4ed33c tty: use proper i-f-serial
...the one starting agetty in installer if told so (0.4+);
also improve runlevel 2 with potential serial access.
2018-10-29 12:45:49 +03:00
Michael Shigorin
b13ba8129f stage2: fix make-initrd environment on p8
This has manifested on e2k for me -- still using older
make-initrd lacking R: file -- so let's get this kludge
back for a while, or until any reasonable make-initrd
around has *everything* it needs to create images
listed in its runtime requirements.

Fixes: 2b3455c29a
2018-10-29 12:45:47 +03:00
Michael Shigorin
ae4007c2ca rescue, rootfs: #35350 workaround
filesystem package has been severely broken in sisyphus
since late August unfortunately, and I was too busy to
even notice that for too long; let's plug this kludge
until it's fixed now that I've finally seen that crap :-/

See-also: https://bugzilla.altlinux.org/35350
2018-10-15 22:50:57 +03:00
Michael Shigorin
2b3455c29a stage2: fix cifs-related bits
sin@ was kind enough to just stick mount.cifs into initrd
regardless of its presence in the chroot in question;
let's look first and only add what's found.

This started as a stopgap fix after make-initrd 2.2.0
which happened to collide with cifs-related m-p commits
in a somewhat unfortunate manner...
2018-10-15 22:46:05 +03:00
Anton Midyukov
cabe92c2d4 s/sysk*logd/rsyslog/g
ldv@ has dropped sysklogd from sisyphus due to
its long-standing FTBFS and "other problems":
http://git.altlinux.org/tasks/archive/done/_207/211999/logs/events.6.1.log

The current recommended replacement is rsyslog
which is fine by itself but really overcomplicated
for the barebones logging system we usually need...
2018-10-15 22:45:41 +03:00
Michael Shigorin
78b4b88bdd efi: drop sbsigntools
These got removed from Sisyphus during OpenSSL 1.1 transition.
2018-10-15 22:45:36 +03:00
Evgeny Sinelnikov
00a828bc85 stage1: fix CIFS installation method 2018-10-15 22:45:19 +03:00
Michael Shigorin
528cabd5c0 apt-conf: fix IMAGE_INIT_LIST handling
It shouldn't be overridden but rather appended to;
the leading "+" is ensured by lib/profile.mk
(see also mkimage's README for details).
2018-10-15 22:44:34 +03:00
Michael Shigorin
c5c2ea9d79 init: tweak +systemd
Added chkconfig (spotted in alt-server's m-p-d)
and vconsole-setup-kludge@X86 (common problem
stop-gap item, unfortunately).
2018-08-13 20:02:16 +03:00
Michael Shigorin
fdd117f4e6 kernel, regular.mk: use/kernel/server
It's apparently needed for ALT Server and has been
used implicitly for server-pve starterkit.
2018-08-13 20:01:58 +03:00
Michael Shigorin
42ae9f2fab kernel, firmware: fix KMODULES use
Looks like a thinko by now...
2018-08-13 20:01:52 +03:00
Michael Shigorin
a490e39d35 bootloader, mixin.mk: use/bootloader/os-prober
This really belongs to bootloader feature rather than
to mixin/desktop-installer alone; moving out.
2018-08-13 20:01:42 +03:00
Michael Shigorin
1ee6e31b92 volumes: initial feature
This one is directly a counterpart to mkimage-profiles-desktop's
vm-profile-% contained in use.mk.in.
2018-08-13 20:00:12 +03:00
Michael Shigorin
97719fe8b3 apt-conf: obvious fix
A brown paper bag class bug :-(
2018-08-07 16:35:44 +03:00
Michael Shigorin
e35e3db878 apt-conf: initial feature
This has been factored out from distro/alt-workstation
adaptation for e2k arch (as it looks more widely useful).
2018-08-06 21:39:31 +03:00
Michael Shigorin
8745bee846 e2k: support e101/mga2
Elbrus 101-PC was initially supported through kernel
modesetting driver only, now it's got a sort of native
driver running on ALT too.
2018-08-06 21:38:25 +03:00
Michael Shigorin
7ada49f7bf install2: add fatresize too
IIRC it's actually looked for by EVMS fat plugin.
2018-08-06 20:38:01 +03:00
Michael Shigorin
98e889830e main, repo: introduced suffix support
This is to make building addon images possible;
those carrying packages but lacking any stage2.
2018-08-06 20:33:10 +03:00
Michael Shigorin
611ec48ecb slightly better license info
There's an ISO9660 COPY tag for license info file;
make use of it, factoring use/docs/license out
while at that.

One of the goals was to make it hold the reference
to reference to GPL in regular builds and starterkits
;-)
2018-07-25 16:49:04 +03:00
Michael Shigorin
a257c2aece build-distro: add isodata metadata support
A bunch of duplicated variable names for mkimage,
just short-circuit those to the already available
(and hopefully filled in) BOOT_* ones.
2018-07-25 16:49:02 +03:00
Michael Shigorin
3c2ef1c035 rework isoboot support beyond x86
Every .iso was assumed to be bootable since the very beginning[*],
and isoboot images were deemed to be x86 isolinux ones; this didn't
change with basic ppc/armh support as I never ran into hardware
that would _boot_ those ISOs, not only run the code, and it was
only e2k isodata project that finally forced this refactoring.

It's still not perfect: pack and syslinux features still end up
somewhat interwoven, and too much places care for architecture
the image is being built for (instead of archdep features tossing
their appropriate bits and pieces in).

Should help:
- any-arch regarding isodata images;
- {x86,aarch64}/efi by decoupling isoboot and isolinux;
- ppc{,64} as introducing yaboot support will be easier now;
- mipsel{,64} too, hopefully.

* I knew of school addon images baked with mkimage-profiles-desktop
  but postponed and then neglected the whole problem for years...
2018-07-25 16:49:01 +03:00
Michael Shigorin
db319bb4b3 e2k: skip license step during installation
This one will be handled by MCST at the moment.
2018-07-25 16:48:47 +03:00
Michael Shigorin
98601e13f7 vmguest: make arch-aware
+vmguest should work everywhere it can at all either;
it's most advanced on x86_64 in terms of hypervisors
available; still aarch64 has kvm too.
2018-07-20 15:51:01 +03:00
Michael Shigorin
9e59e5a111 install2: make arch-aware
+installer should work everywhere it can at all,
but full-blown one is currently developed on x86;
provide at least the reasonable chunk elsewhere.
2018-07-20 15:41:42 +03:00
Mikhail Efremov
410a00d40c live: Install /etc/*-release files if needed
Seems some other branding-*-release can be installed in live
chroot and post of needed branding-*-release package don't copy
these files.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
c9ac5e8c4a domain-client: Split out installer-features*
Otherwise they can be pulled on live.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
308901c6d4 live: Enable livecd-timezone by default 2018-07-16 20:52:16 +03:00
Mikhail Efremov
a618abb49f syslinux: Use vga=normal
This is more appropriate default value nowaday.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
85a7258d69 cleanup: Add GLOBAL_LIVE_NO_CLEANUPDB support
If set then don't remove apt and rpm from live images.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
20dfef8045 l10n: Don't hardcode lang in kernel cmdline
The 'lang' option will be added by gfxboot according with
choosed language.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
2b50111650 services: Don't touch services already listed in the config
If service already listed in the config files, then ignore
status in the profiles variables.
2018-07-16 20:52:16 +03:00
Konstantin A. Lepikhov
05ca4dd4e3 x11/use/glvnd: added GLVND support
Added glvnd packages to test.
2018-07-09 09:36:42 +03:00
Konstantin A. Lepikhov
b278c718ad features: added LDM support
Linux Driver Management (aka LDM) allows easy configuration of different
hardware. Currently this hook does GPU configuration on systems with
multiple GPUs (aka Optimus/PRIME).
2018-07-08 20:44:41 +03:00
Michael Shigorin
9f13f129ec x11: add slick-greeter support
Looks better than lightdm-gtk-greeter indeed;
present in both sisyphus and p8 as of today.
2018-07-08 20:41:30 +03:00
Michael Shigorin
40cd1c580f install2: use/install2/fat target
This adds mkfs.fat and fsck.fat utilities to installer
so it's able to create/mount this "filesystem" as well.
2018-07-08 20:41:18 +03:00
Michael Shigorin
9e80387420 profiles, metadata: s/PKG_PROFILES/THE_PROFILES/g
...to reduce the divergence with the rest of related variables;
these installer profiles affect the default checkbox states.
2018-06-25 09:54:53 +03:00
Michael Shigorin
9d4b3e1f42 e2k: avoid messing with hwclock
...which will only result in a FAILED message,
most probably the solitary one throughout the
whole sysvinit boot.
2018-06-25 09:54:31 +03:00
Michael Shigorin
45d9147955 e2k, e2k.mk: better platform support
The goal was simple: every use/e2k/{x11,install2}/$MACHINE
must be self-sufficient regarding platform support, that is
it must depend on the corresponding CPU-specific target.

A bit less make-tech but still better overall.

NB: llvm cleanup is not needed anymore after upgrade to
    Mesa-17/llvm-3.7, should be dropped like this year.
2018-06-25 09:40:30 +03:00
Michael Shigorin
bc37f88407 e2k: cleanup comments
Forgot to do that before merging, sorry.

(xorg-drv-ati cares for dependencies
but we still prefer modesetting driver
in the installers to make them versatile)
2018-06-25 09:39:31 +03:00
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
Michael Shigorin
86ed95a7e1 e2k: need startx too
Weird it got overlooked in the first place.
2017-09-08 18:25:02 +03:00
Michael Shigorin
4cec22b957 deflogin: add nm-sysvinit to use/deflogin/sysv/nm
Suggested-by: Speccyfighter
See-also: http://forum.altlinux.org/index.php?topic=39476.msg315597#msg315597
2017-09-07 15:45:23 +03:00
Michael Shigorin
29bbcaa14b e2k: add sound setup
Radeon HDMI as the default soundcard isn't really optimal,
and trying to push 44100 kHz samples towards 48 kHz interface
isn't going to sound great; provide sane ALSA dmix defaults
for Elbrus-401 PC workstation.
2017-08-21 21:57:54 +03:00
Michael Shigorin
cf9559287b build-ve, build-vm: handle *_PACKAGES_REGEXP
BASE_PACKAGES_REGEXP and THE_PACKAGES_REGEXP,
to be exact; the lack of handling these appears
to have been the culprit of firefox missing in
vm images which use/browser/firefox.
2017-08-21 21:44:01 +03:00
Michael Shigorin
1b0f8e2d65 Revert "browser: tweak for multi-branch compatibility"
This reverts commit 41a3f09132:
at least build-vm doesn't do *_REGEXP (which is worth fixing
but all relevant branches got firefox-classic_theme_restorer
so this tweak is now irrelevant and a bit wasteful).
2017-08-21 21:21:38 +03:00
Michael Shigorin
2600bc2c1d build-vm: purge tarball even with DEBUG=1
...and leave it for possible further investigation
only if debug level is 2 or higher (which is uncommon).
2017-08-21 21:10:32 +03:00
Michael Shigorin
1a272e44b2 dev, ve.mk: factor out builder+extra
It's strange but ve/builder and distro/live-builder
along with distro/regular-builder are all mostly
"independent", that is duplicating functionality
without any reasonable gain; spotted finally.
2017-08-21 20:02:59 +03:00
Michael Shigorin
b98bf15a42 x11: e2k repo has no imsettings so far
BR: imsettings -> libgxim -> ruby, and it's missing still.
2017-08-07 18:03:23 +03:00
Michael Shigorin
0d6fe3500c e2k: official x11 support
The early builds used to rely upon a non-committed
rootfs/files/etc/X11/xorg.conf within this feature
which was a bit annoying and would have screwed an
Elbrus system based on any other GPU.

So let's provide some flexibility by packaging it.
2017-08-07 18:00:28 +03:00
Michael Shigorin
9c263dcb37 l10n: generalize to rootfs
Turns out that vm images might need localization too,
not just live ones.
2017-08-07 18:00:27 +03:00
Michael Shigorin
209c610f80 live, server, e2k.mk, regular.mk: use/services/lvm2-disable
These used to carry (or need) their own means for the same
problem of extra services consuming bootup time.
2017-08-02 22:14:45 +03:00
Michael Shigorin
5174ec5dff services: lvm2-* disable target
These are creeping throughout m-p and aren't really needed
by default as these should be enabled upon configuration;
let's provide a single switch off point.
2017-08-02 22:14:37 +03:00
Michael Shigorin
009e3a4d13 tty: restrict installer features to distros
...as vm images don't need extra processing.
2017-08-02 22:14:14 +03:00
Michael Shigorin
78ac727d7b e2k: initial implementation
Elbrus 2000 only takes us a few lines to get up and running ;-)
2017-08-02 22:14:05 +03:00
Michael Shigorin
db1d0ee592 kernel: try std-def instead of forcing it
KFLAVOURS could have been set earlier and got overridden here.
2017-08-02 22:13:57 +03:00
Michael Shigorin
3d7a0c5c39 build-vm, tar2fs: unify kver handling
No need to deduce kernel version again,
just save it in a temporary file.

The main reason to change what worked is
that e2k kernel-image package has Linux bits
named as image-$kver and not vmlinuz-$kver;
the guessing logic taking all of this into
account resulted in non-aesthetic patch.

NB: there's a duplicating script within
    kernel feature; it wasn't easy to avoid
    this and it might differ when handling
    multiple kernels, I didn't think much
    about this now as vm images tend to ship
    with the sole one.
2017-08-02 22:13:44 +03:00
Michael Shigorin
d58e5b58d6 cleanup, install2: don't drop glibc-gconv-modules
It's needed for alterator-wizardface ported to guile22.

Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2017-07-30 14:40:32 +03:00
Michael Shigorin
63b96a0750 Revert "stage2: force grub-compatible ext4 options"
This reverts commit 4a4da37d06
as Sisyphus has got GRUB 2.02 in the mean time:
http://git.altlinux.org/tasks/archive/done/_179/183896/
2017-06-16 18:26:41 +03:00
Michael Shigorin
31ecda7272 docs update
Another minor facelift:
- s/ALT Linux/ALT/gc (where applicable);
- s/7.0/8.0/g;
- 2017;
- e2k;
- links.
2017-06-09 19:31:42 +03:00
Michael Shigorin
4a4da37d06 stage2: force grub-compatible ext4 options
We use grub2 2.00, it's not compatible with new mke2fs
options (namely "64bit" one); disable it for now.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=33489#c6
2017-05-31 22:47:55 +03:00
65398a221d - cleanup l10n 2017-05-31 19:08:17 +03:00
Michael Shigorin
4321fefc60 live, repo, rescue: use yandex mirror
...instead of (often-crowded) ftp.altlinux.org for updates.
2017-04-21 13:03:27 +03:00
Michael Shigorin
2f6457eaed server: s/drbd83/drbd/
...as drbd83 has been dropped.
2017-04-05 10:43:48 +03:00
Michael Shigorin
aa8d2bba45 x11: add +x11 shortcut
This should have been done before the first DE/WM-specific one!
2017-03-31 21:51:37 +03:00
Michael Shigorin
bb473203e7 install2: shrink the cleanup
libgpg-error and libgcrypt20 are apparently needed for current
systemd-tmpfiles which has been tossed into basesystem, alas.

See-also: https://lists.altlinux.org/pipermail/devel/2017-March/202518.html
See-also: https://lists.altlinux.org/pipermail/devel/2017-March/202527.html
2017-03-31 21:50:18 +03:00
Michael Shigorin
bca1342015 syslinux, tty: better serial support
A one-liner for syslinux and a simple installer feature
change a lot in this regard!
2017-03-31 20:53:59 +03:00
Konstantin A. Lepikhov
85c52d71c6 Added support of new AMDGPU drivers
Added vulkan support
2017-03-24 12:47:27 +03:00
Michael Shigorin
a47a0383d9 server: add tools/tuning
...where appropriate.
2017-03-02 17:49:18 +03:00
Michael Shigorin
d49f3bce8e server: added hdparm to ovz-base target
This one lacked there recently, todo--.
2017-02-25 19:56:01 +03:00
Michael Shigorin
d12f702282 live: added default xfce theme setup
This is unfortunate but Sisyphus' Xfce can't really strive with its
default /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml,
namely IconThemeName; while p8's one still does pretty good.

Thanks antohami@ for his analysis and workaround suggestion.

See-also: https://bugzilla.altlinux.org/32924
See-also: https://lists.altlinux.org/pipermail/devel/2017-February/202348.html
Suggested-by: Anton Midyukov <midyukov-anton@ya.ru>
2017-02-21 19:55:41 +03:00
Michael Shigorin
013fd43294 armh, build-ve, ve.mk: reworked accordingly
Drop duplicated code pulled into armh feature in haste
and another half-copy that made it into build-ve feature;
make ve.mk more explicit about what it actually does
regarding default nameservers (and switch it to level3
while at that, just for diversity they preach).
2017-02-01 20:20:03 +03:00
Michael Shigorin
7459a74abc net: adjust accordingly
Refer to net-dns feature where appropriate
(it actually started out as an extension of
net feature but the reasons to separate it
quickly became apparent to me).
2017-02-01 19:59:35 +03:00
Michael Shigorin
e4bd17cc3d net-dns: initial implementation
This feature implements default nameserver configuration
and provides some canned variants for public consumption.

Thanks Andrey Mitrofanov for involuntarily reminding of it:
http://www.opennet.ru/openforum/vsluhforumID3/110309.html#31
2017-02-01 19:45:58 +03:00
Michael Shigorin
c73abccd2c install2, syslinux: fix VNC support
Was broken in too many places including several libraries
x11vnc currently links against getting removed, several
utilities missing, and no way to guess what to do...

One could stumble upon http://altlinux.org/vncinst
or find the implementation in installer.git but it's
not exactly user-friendly.
2017-02-01 18:32:43 +03:00
Michael Shigorin
c0d7b19b22 features.in: fixed glitches found
Those few places lacking "; @:" replacement for a real recipe
have been finally -spotted- identified with `make check'
and fixed.
2017-01-29 16:00:18 +03:00
Michael Shigorin
a289726792 check-recipe: generalize dependency control
An initial (and quite naive) implementation was done
for conf.d/ files but features do need it as well --
which became obvious during a casual inspection of
distro/alt-workstation's target graph (which occured
broken).

The code is a messy hackery unfortunately, regexes used
are fragile regarding e.g. [A-Z_] in target names.
Read with care.

NB: lib/ might need this too but it's rather stable
    and contains some special cases that would obstruct
    the regexes even more...
2017-01-29 15:50:58 +03:00
Michael Shigorin
c9806d9b5c syslinux: *disable* bootsplash for rescue targets
Turns out it's "splash=0" that does the job.

Suggested-by: Lenar Shakirov <snejok@altlinux.org>
See-also: https://bugzilla.altlinux.org/28625
2017-01-24 17:39:58 +03:00
Michael Shigorin
db7ec7515b build-distro: ensure prerequisites' order
...just in case (make doesn't guarantee that it's left-to-right
for normal-prerequisites so make them order-only-prerequisites).
2017-01-24 17:23:31 +03:00
Michael Shigorin
9dd8131187 dev: add gear remotes support
See http://altlinux.org/gear/remotes for rationale.
2017-01-14 12:10:43 +03:00
Michael Shigorin
d28950caed 90-build-vm.mk: better error reference
In this case it's rather worth it to examine build.log
than read documentation again (as vm.txt should have been
read or at least skimmed through to get sudo setup ready,
and the problem might be either an environment one or a bug).
2017-01-14 12:08:13 +03:00
Michael Shigorin
cac2a8e93e server: empty BOOTVGA by default
...so there's no forced mode switch (unless modesetting
kicks in which is another story to X server starting up
to carry the installer).
2016-12-30 16:35:42 +03:00
Michael Shigorin
91075d008f syslinux: introduced BOOTVGA
...instead of hardwired 0x314 (which is rather wrong
for modern kernels and hardware, just ran into that
with yet another Matrox G200eW WPCM450).
2016-12-30 16:25:48 +03:00
Michael Shigorin
3bfaf9c014 repo: harden against missing keydir
rpm-4.13 stopped bringing alt-gpgkeys in, and specifying it
explicitly for STAGE1_PACKAGES didn't help somehow; don't presume
/usr/lib/alt-gpgkeys/ existence anyways.
2016-12-26 17:23:11 +03:00
Michael Shigorin
2fcfe3a70e syslinux: update branding defaults
s/ALT Linux/ALT/g as per s/ALT Linux/BaseALT/g Ltd
2016-12-26 16:12:39 +03:00
Michael Shigorin
9fcff7c442 rescue: add os-prober to base rescue
Should get into distributions' rescue image indeed.
2016-12-13 13:36:16 +03:00
Michael Shigorin
70f9bf6ded browser: safer fallback browser
elinks doesn't require libX11 (unlike links2),
and webclient can become e.g. rekonq pulling
in kde4libs -- that's exactly what I ran into
while preparing 201612xx server starterkits.
2016-12-05 20:37:24 +03:00
Michael Shigorin
3dc01e0719 metadata: add THE_PACKAGES_REGEXP to DOT_BASE too!
For some reason DOT_BASE only got BASE_PACKAGES_REGEXP so e.g.
browser feature use well could result in the lack of a browser
if no metapackage pulls one in!

X-Brown-Paper-Bag :-(
2016-12-05 00:03:40 +03:00
Michael Shigorin
608ac3ac1a install2: *add* xorg-drv-libinput
It's required for many touchpads these days,
just get it in for the "full" (+installer) target.
2016-11-14 21:08:46 +03:00
Michael Shigorin
af67c76e0d wireless: dedup via pkglist
The two package sets seemed *too* identical when
I finally needed to add another package there...
2016-11-14 12:54:44 +03:00
Michael Shigorin
f293239d5b build-vm: try system tar2fs first
It's at least removing the very obvious user->root
attack through (maliciously) modifying bin/tar2fs
and waiting for it to be run; if mkimage-profiles
is installed system-wide as a package, the script
from /usr/share/mkimage-profiles will be tried so
those willing to allow vm/* build to themselves
can provide for a passwordless sudo (as described
in doc/vm.txt) to run a root-only writable script,
not user-writable.

Still not perfect but a step away from the abyss.
2016-11-07 19:47:53 +03:00
Michael Shigorin
cabaf137bc x11: xfce tweaks
It turns out that -regular pulls in too much
(including xfce-polkit that doesn't work with
sysvinit); let's provide means to have it both
ways, need xfce4 4.12-alt5 or later metapackage
for this change to be effective.
2016-11-07 18:17:12 +03:00
Michael Shigorin
db3da22457 init: sysvinit+NM support
The issue at hand it _nmconnect group that's supported
in ALT NM for polkit-less cases; it has to be added
*before* 50-users hook from deflogin feature fires off.

The existing systemd-related hook has been renamed
to reflect its job better.
2016-11-04 23:21:30 +03:00
Michael Shigorin
734b04f16f deflogin: added target to use NM with sysvinit
Our NetworkManager will lend the knobs to those
in _nmconnect group, thanks sem@.
2016-11-04 19:17:55 +03:00
22a95333f9 add UseMTU for systemd dhcp client 2016-11-02 23:46:57 +03:00
Michael Shigorin
393f9a7d0b rescue: add nfs-utils
Even base rescue images should get mount.nfs and rpcbind.
2016-11-02 18:16:08 +03:00
Michael Shigorin
6f0754e129 net-usershares: sync groups with alterator-users
'video' group has been missing compared to /users 10.10-alt1.
2016-10-31 22:09:44 +03:00