Commit Graph

671 Commits

Author SHA1 Message Date
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
Michael Shigorin
8dc26e0d1c cleanup: fixed GLOBAL_CLEANUP_BASE_PACKAGES
Commit 514652f has broke GLOBAL_CLEANUP_PACKAGES by accidentally
excluding it from export (in favour of GLOBAL_CLEANUP_BASE_PACKAGES
that's been added then); fix that.
2016-06-07 13:47:53 +03:00
Michael Shigorin
a732c4aa58 stage2: more eMMC-related modules
eMMC installation support has a few bugs:

https://bugzilla.altlinux.org/30239
https://bugzilla.altlinux.org/30269
https://bugzilla.altlinux.org/32171

Handle the latest one.
2016-06-03 16:52:52 +03:00
Michael Shigorin
ab6a4c941d server, regular.mk: adjust accordingly
All MAIN_GROUPS users which refer to the groups/lists
renamed have to adapt; sorry for an incompatible change
(still it's 1.1.x).
2016-06-01 17:35:15 +03:00
Michael Shigorin
0f5b9fbc93 server: use/server/base target
This one is a point halfway through use/server/mini
for an openstack server image; made the server-base
pkglist selection more explicit while at that.
2016-05-30 18:06:09 +03:00
Michael Shigorin
03c280260f server: added openstack groups target
This list has been borrowed from m-p-d's use.mk.in either
and adapted accordingly.
2016-05-30 18:06:00 +03:00
Michael Shigorin
fa56731d9c cleanup: handle empty variable (ouch!)
This script was completely careless regarding the chance
to meet an empty variable resulting in plain "rpm -qa"
and subsequent attempt to, well, remove *all* packages.

Thanks zerg@ for being persistent this time, even if
he could probably find the culprit and send in this patch.
:)
2016-05-27 16:21:01 +03:00
Michael Shigorin
55ab1a485d x11: rework free/proprietary driver support
The problem at hand was that use/x11/xorg has been final,
and zerg@ just couldn't switch from nouveau to nvidia
when kdesktop needs that one.

Initial approach included a "big" FREE/PROP switch that
chose the particular KMODULES/PACKAGES to get added to
THE_* but that fails to achieve e.g. nvidia+radeon combo;
looks like these need individual switches.
2016-05-23 17:30:40 +03:00
Konstantin A. Lepikhov
9f72780d17 Experimental overlayfs support
If aufs not available/broken we could try to use overlayfs.
NB: changes below doesn't work without modified make-initrd-propagator!
2016-05-23 17:30:14 +03:00
Michael Shigorin
a85e011c68 install2: add tools subtarget
The use case at hand was: "we'd better backup this system
to a flashdrive before installing" (given quad-core CPU
and half-terabyte HDD); pxz is pretty tiny, no worries.
2016-05-13 14:28:29 +03:00
Michael Shigorin
7d0a863151 fixed regular-server.iso
There were two problems:
- the latest pgsql related groups made installation
  impossible (yes, that last minute change);
- hardware testing shows that use/stage2/kms is now
  requisite as xorg-drv-fbdev might just refuse to work
  with what looks like a perfectly good framebuffer...

Do away with them *quick*.
2016-04-28 15:54:41 +03:00
Michael Shigorin
07d0cc30b4 syslinux: split 20install2.cfg
"Failsafe install" disabling APIC/LAPIC looks somewhat obsolete
by now; the only reasonable part seems to be the attempt to force
VESA videodriver for the installer (should be done within installer
itself though).
2016-04-27 12:53:09 +03:00
Michael Shigorin
0c0357ca83 fonts: be explicit about droid
zerg@ tells that Obsoletes: is flakey in fonts-ttf-droid
so it's better to specify these three packages instead.
2016-04-26 11:48:13 +03:00
Michael Shigorin
813a84d11c docs: fix thinko
This single-byte error has led to premature variable
substitution thus non-existant "docs-" package being
requested; ouch.
2016-04-25 20:01:16 +03:00
Michael Shigorin
d5da95ba72 server: refine server groups
Services and tools are clearly different entities,
and we need tools for a slimmer OpenVZ HN installer.
2016-04-20 18:43:55 +03:00
Michael Shigorin
84bb55d09f syslinux: fix gfxboot hook
...to *not* error out if there's no gfxboot at all.
2016-04-20 16:58:45 +03:00
Michael Shigorin
3efa389326 syslinux: fixed RESCUE_BOOTARGS support
"Forensic mode" submenu has fallen apart after the original commit
as the tricky logic in mkimage::tools/mki-copy-efiboot failed to
pick up the new variant; this should all be redone (solo@ has
started doing something but it needs a time-consuming review).

Fixes: 79d0208841
2016-04-14 16:18:30 +03:00
Michael Shigorin
40620fa18d docs: introduced license support
use/docs/license will copy the texts contained in branding
package ("notes" one) over to the image's rootdir so these
can be read with ease; otherwise one has to look up the
right package at best (or unpack squashfs, no user can be
really expected to do that just to *read* a *license*).

This was originally profiles/scripts.d/01-copy-license
script from m-p-d; got cut down heavily.
2016-04-08 14:50:31 +03:00
Michael Shigorin
79d0208841 syslinux: added RESCUE_BOOTARGS support
This one is just like STAGE2_BOOTARGS but for rescue images
(which don't do that one for quite a few reasons).
2016-04-04 13:53:18 +03:00
Michael Shigorin
ae088e3bb0 live: use CLEANUP_BASE_PACKAGES either
See the previous commit for rationale.
2016-04-04 13:05:16 +03:00
Michael Shigorin
514652f8ba cleanup: introduce CLEANUP_BASE_PACKAGES
The problem at hand was that an installer component
of a "DVD class" image does use/cleanup/installer
while installable LiveCD component gets broken by that
(livecd-install -> installer-scripts-remount-stage2
which gets removed as installer-*).

Split those.
2016-04-04 13:05:03 +03:00
Michael Shigorin
33de2428ab live: support livecd-install in 99-cleanupdb too
The same that was done by commit 50bfea9.
Note the duplication, maybe worth to split off...
2016-04-01 16:17:07 +03:00
Michael Shigorin
a2bfcfb135 metadata: tweak list output a bit
Mark the particular pkglists included into what's dumped;
makes content analysis considerably more convenient.
2016-04-01 14:54:33 +03:00
Michael Shigorin
9d449ed113 metadata: initial pkg profiles handling
Package profiles -- the ones allowing for a multi-purpose
installer -- have been basically overlooked during previous
mkimage-profiles development, unfortunately.

This is the very basic part: put them into pkg-groups.tar.
2016-04-01 14:35:41 +03:00
Michael Shigorin
39acb23760 efi: shim is a lower level component
THE_* variables serve user needs while shim belongs
to either SYSTEM or COMMON level packages, not needed
explicitly for stage1 though (mkimage will put it there
when needed) so it's just COMMON.
2016-04-01 14:24:50 +03:00
Michael Shigorin
afb547b6d8 install2: introduce stage3 bits
use/install2/stage3 is only needed for distributions
implementing their own installer-*-stage3 package
(e.g., centaurus and simply but not kdesktop).
2016-04-01 14:22:18 +03:00
Michael Shigorin
1287c9b36b kernel: add desktop, laptop targets
This has been borrowed from m-p-d for Centaurus, actually.
2016-04-01 14:22:11 +03:00
Michael Shigorin
b9e3c59c00 firmware: cleanup deps
It's not reasonable for use/firmware/laptop to depend on
use/firmware/wireless as some laptops come without WiFi
cards and wireless userspace to use those is specified
elsewhere anyways.
2016-04-01 14:22:07 +03:00
Michael Shigorin
23f9309aa2 firmware, kernel, wireless: fixup interdeps
It's unreasonable for firmware to depend on kernel,
the features should go in the other way around.
2016-04-01 14:21:22 +03:00
Michael Shigorin
3d9a50ba28 init: re-rework de-systemd-ization
This partially reverts commit 30d3838: trying to use/rescue
with e.g. distro/simply results in conflict between SysVinit
and systemd-sysvinit; INIT_TYPE had to relation to RESCUE_LISTS
in the first place.  Ugh.
2016-03-25 19:27:25 +03:00
Michael Shigorin
d053375ee2 x11: change kde5 metapackage
...from "big" to "maxi" as per zerg@'s proposal.
2016-03-25 14:22:20 +03:00
Michael Shigorin
c7da08282b vmguest: learn to disable useless services under VMs
This has long been a TODO item but an elegant solution
just didn't come until the night before starterkits...
some services (mostly those operating on real hardware)
do not fit virtual environments at all, won't even start.
2016-03-11 23:49:01 +03:00
Michael Shigorin
c2fb322228 browser, slinux/network: upgrade java browser plugin
There's no more 1.7.0 browser plugin package in sisyphus,
move on to 1.8.0...
2016-03-11 16:34:44 +03:00
Michael Shigorin
438df49af0 cleanup: drop autologin-sh-functions too
This one has been introduced by alterator-users update;
makes no sense on its own, just drop.
2016-03-10 21:24:28 +03:00
Michael Shigorin
a11384edc1 browser: add use/browser/firefox/h264
These packages have been suggested by mvk@ to enable H.264 support
when no flash plugin is shipped (most likely for security reasons).
2016-03-10 18:55:57 +03:00
Michael Shigorin
e4384c1c42 net-eth: bumped DHCP_TIMEOUT from 3 to 7
This has been requested by Balbes so as to avoid premature
DHCP timeouts with some gigabit networks; see also
http://forum.altlinux.org/index.php?topic=36495.msg281385#msg281385
2016-03-09 18:24:58 +03:00
2271b03445 add use/net-eth/networkd 2016-03-02 07:38:58 +03:00
Michael Shigorin
5ea3f714aa net-eth: systemd-networkd configuration support
shaba@ asked if it's feasible to extend 50-net-eth
with a generator for systemd-networkd style configs
having provided examples; here it is (depends on
/etc/systemd/network/ being packaged into that one).

(fixed up by shaba@'s removal of superfluous quotes)
2016-03-02 07:38:47 +03:00
43b8835922 add qemu-guest-agent to vmguest kvm 2016-03-02 07:28:21 +03:00
ad4bffe965 enable service network for etcnet and NM, not for systemd-networkd 2016-03-02 07:20:22 +03:00
Michael Shigorin
b5900acbe3 slinux: use lightdm and installer fonts
gdm2.20 seems rather obsolete by now, let's move on;
and m-p doesn't just lump a huge bunch of stuff in,
vector fonts for installer are requested explicitly.
2016-02-29 21:49:33 +03:00
Michael Shigorin
6047c71440 simply.mk, slinux: optimize for reuse
...by moving reference to a package list that *deducts*
packages from a feature (that should lend itself for reuse)
to a particular distribution's configuration (that can have
some specific polish).

The problem was that basing junior on slinux feature while
adding some KDE/Qt-based packages to it failed miserably
in a hard-to-debug manner: adding every package that's been
requested but not installed by hand suddenly made it build,
see also http://altlinux.org/mkimage/debug [ru]
2016-02-29 21:49:06 +03:00
Michael Shigorin
89f894485c browser: upgrade Java 6 to Java 7
...and Sun JDK to OpenJDK (thx cas@).
2016-02-28 22:23:02 +03:00
Michael Shigorin
935d250834 desktop.mk, fonts, install2: explicit installer fonts
mixin/desktop-installer became *quite* inobvious
even for me over time, and it's not easy to grep up;
let's introduce explicit targets where one is expected
to expect those.
2016-02-10 18:01:33 +03:00
Michael Shigorin
47ffa675d4 install2: cosmetic fix
(missing space)
2016-02-10 15:12:06 +03:00
Michael Shigorin
8ce8ce89cf control: install2 support
rootfs scripts should hit installer some day; the problem
is with variables (dumping 'em wholesale looks dirty,
and proxying those sort of defeats the approach)
rather than with scripts.

Until then, transform the data from the single variable
into a file containing one facility per line for
installer-1.8.31+ to consume.
2016-02-10 15:12:00 +03:00
Michael Shigorin
1e39ab3a30 control: added some actual ldv@'s settings
As noted in the comment, these include a few quite strong ones:
- sshd(8) will only allow in "wheel" and "users" members
  by keys, no password access is allowed;
- password change even by root is subject to quality checks;
- su(8) is only useful to lower privileges and not gain those
  (so root access is available either through local console
  or via use of ssh keys).

Don't use if frowned upon.
2016-02-10 15:11:41 +03:00
Michael Shigorin
0717417e11 cleanup: add jeos targets
This is based on distro/regular-jeos but torn into two
and somewhat updated for sisyphus-going-to-bring-p8:
1) libcap-ng is now required by util-linux;
2) bridge-utils might be needed for subsequent images.
2016-02-10 15:11:24 +03:00
Michael Shigorin
b1005e5146 ovz-server: split into tagged/{base,server}+openvz
Those packages which are *required* should be available
for standalone use; and those which are optional should go
into extras.

Adjust server feature accordingly.
2016-02-10 15:11:18 +03:00
Michael Shigorin
f197b9714c firmware: a trivial tracing fixup
The issue with these "; @:" thinglets is that mkimage-profiles
relies on target tracing (see commit 788cad8 some four years ago);
and this tracing approach relies on non-empty recipes which do call
shell (which gets (ab)used) unlike empty ones which oviously don't.

So this _will_ be traced properly:

    a: b
	@echo "hello world"

and this will too:

    a: b; @:

but this will result in a broken graph with REPORT=1:

    a: b
2016-02-05 09:19:43 +03:00