Commit Graph

720 Commits

Author SHA1 Message Date
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
Gleb Fotengauer-Malinovskiy
e59e1cda26 use/repo: add support modern sources.list format
Old format:
rpm [p7] http://ftp.altlinux.org/pub/distributions/ALTLinux/p7/branch x86_64 classic
New format:
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
2016-10-31 22:09:39 +03:00
Michael Shigorin
0112879c29 services: optimize loop
No use to distinguish between "on" and "off"
each iteration when the resulting files with
differing names should end up identical.
2016-10-31 22:09:38 +03:00
Michael Shigorin
4130212a23 install2: leave hwmon.ko in place
Spoils nouveau otherwise, see also
https://bugzilla.altlinux.org/show_bug.cgi?id=32340#c6

Reported-by: Sergey Turchin <zerg@altlinux.org>
2016-09-12 18:48:50 +03:00
Michael Shigorin
0357923bd9 browser: add palemoon support
...as suggested for the next starterkits since
seamonkey 2.40 is officially full of security bugs
and there's no 2.46 (or whatever stable/plugged)
release available despite the plans:

https://wiki.mozilla.org/SeaMonkey:Home_Page
https://forum.altlinux.org/index.php?topic=37268
2016-09-12 18:48:46 +03:00
Michael Shigorin
f7df0f588c syslinux: un-tweak showopts for rescue_fm snippet
This one is related to forensics mode handling in mkimage:
there's a regex that's expecting the old string ending with
hash value, and it stops working when this is changed here
(at least as of mkimage 0.2.18).

So partially undo the change for this particular file to avoid
refind's example menu for regular-rescue.iso (or any other image
involving forensics mode), and hope to revert this commit some day.
2016-08-23 20:58:56 +03:00
Michael Shigorin
ed1c73b173 syslinux: tweak showopts
This keyword was misused due to the lack of understanding
of its meaning; thanks zerg@ for the hint, let's hide the
kernel boot parameters not expected to be modified by user
under the hood (and vice versa in some cases).

Note that this is just a keyword shift in all cases
but mediacheck where "showopts" is now added.

NB: this keyword is only relevant for gfxboot.
2016-08-19 14:01:04 +03:00
Michael Shigorin
d2253de7ab vmguest: add vmware support to "complete" target
'twas somewhat incomplete otherwise,
and these two packages are pretty tiny.

Note that +vmguest is affected too.
2016-08-15 14:09:06 +03:00
Michael Shigorin
a0355f8f7d install2, vmguest: add vmmouse too
xorg-drv-vmmouse should accompany xorg-drv-vmware.

Reported-by: Anton Farygin <rider@altlinux.com>
2016-08-15 14:08:59 +03:00
Michael Shigorin
106e3a9587 x11: reorganize synaptic/kde affair
Both KDE4 and KDE5 images should carry it this way
according to zerg@; pkglists duplication is not needed.
2016-08-08 15:52:15 +03:00
Michael Shigorin
4a362955bf init: added bash-completion-systemd
...for a "full" systemd target that's been re-aliased
as "+systemd"; please adjust any minimalistic images
to use/init/systemd instead of +systemd.
2016-08-04 17:06:46 +03:00
Michael Shigorin
f1dffda8d5 stage2: added virtio_console
Reported-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2016-07-28 15:57:40 +03:00
Michael Shigorin
f8d1773eaa vmguest: no-op on non-x86 for now
This might be an overreaction but let's handle
non-x86 virtualization on per-case basis.

Thanks sbolshakov@ for the notice.
2016-07-28 15:55:10 +03:00
Konstantin A. Lepikhov
1683636200 features/firmware: add right ucode for Intel
We don't use microcode_ctl anymore.
2016-07-27 14:26:24 +03:00
Michael Shigorin
40080a18b7 docs: en_US fallback for index.html symlink
It's unfortunate but leaving "upstream" redirector
index.html files without their final target is worse yet;
hope this gets popravleno some day.
2016-06-27 13:50:19 +03:00
Michael Shigorin
3c65c49817 docs: don't pull branding bits in unconditionally
...just do it when actually requested for the main image part.
2016-06-27 13:50:17 +03:00
Michael Shigorin
4c2ff13085 cleanup: leave docs/manpages alone
...for those images that can be installed.
2016-06-27 13:50:13 +03:00
Michael Shigorin
137e738cf7 main, metadata, lists: switch to groups2lists()
Now that we don't ignore X-Alterator-PackageList
in pkggroup files these few places referencing
group names as list names have broke; bring 'em
in line through this new and shiny function.
2016-06-27 13:50:10 +03:00
Michael Shigorin
8be5b8d476 install2: add xorg-drv-synaptics
This has been spotted by rider@ and reproduced by me as well:
some touchpads would work in livecd/installed system but not
within the installer itself.
2016-06-09 11:45:23 +03:00