Commit Graph

2285 Commits

Author SHA1 Message Date
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
03bb07b4b0 gear-store-tags 2016-05-23 21:52:56 +03:00
Michael Shigorin
4f1f1fb601 1.1.91-alt1
- nvidia/nouveau rehash
- overlayfs support (lakostis@)
2016-05-23 21:50:50 +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
Michael Shigorin
07ffce9d05 desktop+lxde+extra: added xscreensaver-frontend
Current lxsession would offer to lock screen but will silently
fail within default regular-lxde.iso environment (that does lack
any kind of X screen lock utility); add some.
2016-05-23 17:30:33 +03:00
Michael Shigorin
73a6e8c2cf regular.mk: explicitly enable powertop for desktop
This is a nice utility clamping default power strain
*and* heat generation on intel-based PCs; I was actually
surprised to see it available but not firing off at system
startup time; fix that.
2016-05-23 17:30:27 +03:00
Konstantin A. Lepikhov
e8f6335734 sub.in/stage2: Added copy-tree to stage2
stage2 only allows to run certain scripts and install packages, but
sometimes one need just to copy something to stage2 (like stage1 does).

How to use:

put files under ./files directory with the same structure as on
resulting image.
2016-05-23 17:30:19 +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
388f2d79a2 regular.mk: update gnome3 "setup done" package
See also https://bugzilla.altlinux.org/32040
(there's no P:/O: in the new one so the update
must be done in sync here)
2016-05-16 09:19:33 +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
9350393f8f desktop+regular: added sysfsutils
Looks like `alsactl init' needs this now:

http://forum.altlinux.org/index.php?topic=36177.msg285840#msg285840
http://bugzilla.altlinux.org/show_bug.cgi?id=32065
2016-05-05 13:13:39 +03:00
Michael Shigorin
7c07acd203 live.mk: forced to use KMS
The problem is the same as the recent one with server:
FBDEV won't work for no good reason :-/
2016-05-04 14:39:41 +03:00
Michael Shigorin
881ccfe8c2 gear-store-tags 2016-05-03 16:56:11 +03:00
Michael Shigorin
55e0de41a2 1.1.90-alt1
- starterkits-20160429
2016-05-03 16:55:15 +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
d7567f3ed8 p8.mk: initial contents
Basically an updated p7.mk.
2016-04-27 18:09:41 +03:00
Michael Shigorin
1032741079 regular.mk: a few more checkboxes to the server
PostgreSQL has been long neglected way too bad in mkimage-profiles
and the actual builds, let's go and fix that!
2016-04-27 16:59:28 +03:00
Michael Shigorin
dd01181e65 pkg.in: added pgsql*-server groups/lists
Pg 9.5 is the current stable version
while 9.4-1C is the current version
patched to run 1C Enterprise.
2016-04-27 16:47:56 +03:00
Michael Shigorin
defda09a2d regular.mk: reworked regular-server a bit
This starts a sort of "server merger" by consuming
both samba4 and hyperv subflavours into checkboxes.

Rationale is pretty clear: environment -- including
hypervisors -- is just an install/run-time variable,
and the set of initial services is another one;
no need to maintain a distinct image for each value
when we've done enough of that to know we can merge.
2016-04-27 14:33:52 +03:00
Michael Shigorin
e2bcc33a53 pkg.in: added hyperv group/list
These are based on regular-server-hyperv
(thanks Matt Lewandowsky yet again) turned
into a mere checkbox.
2016-04-27 14:28:05 +03:00
Michael Shigorin
e7b7e6b05a pkg.in: added sambaDC-server group/list
This is a clone of tagged/server+sambaDC pkglist
with added metadata *and* an installer feature
to make things happen at install time; not sure
if regular-server-samba4 is going away any time
soon though as it's useful standalone too.
2016-04-27 14:26:03 +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
e41be1a0e6 desktop+{cinnamon,enlightenment,kde4}: CK shuffle
Turns out that commit fb4bd77 broke two of the regular builds
by crippling their ability to reboot/poweroff via desktop menu:
http://lists.altlinux.org/pipermail/devel/2016-April/201319.html

Note that kde4 one doesn't need CK indeed.
2016-04-26 13:33:54 +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
6aca002099 gear-store-tags 2016-04-25 20:30:13 +03:00
Michael Shigorin
178e3bf24c 1.1.89-alt1
- preparing for p8 starterkits
2016-04-25 20:29:27 +03:00
Michael Shigorin
41efe00554 gear-store-tags 2016-04-25 20:29:00 +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
b91216e7d4 live.mk: updated packages for p8
live-privacy haven't graduated from beta status yet
but it's useful anyways; a bit of housekeeping
is due though.
2016-04-25 20:01:15 +03:00
Michael Shigorin
2645cfb053 desktop+enlightenment+e17+extra: drop that glob!!
gst-plugins-* was an /extremely/ bad and ugly idea indeed;
it pulled in every -devel it could.
2016-04-25 19:59:40 +03:00
Michael Shigorin
12e8a4bd0a regular.mk: add firmware-linux to available packages
This is to avoid "unzip.zip" situations with some NICs:
those needing extended firmware package (which is hefty)
can at least install it by hand off the ISO.

*Maybe* a switch to use/firmware will appear reasonable
some day for this image either, don't know yet; this adds
firmware to installer itself (should only be needed if the
storage device used for rootfs *needs* firmware found in
that package as networking setup is omitted from JeOS
installer).
2016-04-21 12:15:34 +03:00
Michael Shigorin
4c4ba35ae6 regular.mk: switch jeos to un-def
Rationale: it's the minimalistic image for those who know
what they're doing, let's maximize their chances to get it
installed and running by using a recent kernel.
2016-04-21 12:11:06 +03:00
Michael Shigorin
143e1038ca regular.mk: rework server{,-ovz}
My failure to recognize that it is a "generic" server that
might need some generalization and not an already specialized
one like OpenVZ HN installer had to be fixed up some day;
today is fine.

Basically, let's move package groups ("checkboxes") and alterator
from server-ovz to server, and maybe beef it up a lil' bit more
later; server-ovz is still far from jeos-ovz but the difference
that looks unmergeable is strict sshd control setup that's going
to bite those unsuspecting, so let's leave it for those of us
who are more suspicious of stray ISOs. :)
2016-04-20 18:47:51 +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
fb4bd77f20 sound/base: dropped udev-alsa
This pulls ConsoleKit in which isn't even operational by now...

Reported-by: Sergey V Turchin <zerg@altlinux.org>
2016-04-18 16:06:54 +03:00
Michael Shigorin
b214d5c18e vm.mk: fixed thinko regarding lilo arches
A classic brown paper bag bug: this was typed in a hospital
and that commit was a sick one indeed, the condition should
have been the opposite.

Reported-by: Ildar Mulyukov <ildar@altlinux.org>
Closes: #31982
2016-04-15 16:16:57 +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
e46b6f3d1e gear-store-tags 2016-04-11 21:38:59 +03:00
Michael Shigorin
004ff14c64 1.1.88-alt1
- pkg.in/profiles
2016-04-11 21:35:44 +03:00
Michael Shigorin
cc9d8c2f53 regular.mk: use/docs/license
This has been requested by Andrey Mitrofanov:
http://www.opennet.ru/openforum/vsluhforumID3/107265.html#162

Putting the image license text into its toplevel directory
is *very* reasonable as it's much more accessible then.
2016-04-11 21:04:38 +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
bc03cde15e pkg.in: bail out if anything goes wrong
Failing to kaboom just in time can make (and has just made)
it harder to figure out the culprit down the road; e.g.
metadata target's tar(1) might fail to find *some* files
that haven't been copied over due to a single one missing
by that run.
2016-04-01 14:49:17 +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
caf25f0279 image.in: pkg profile handling functions
These are alike to lists/groups ones.
2016-04-01 14:28:04 +03:00