Commit Graph

1222 Commits

Author SHA1 Message Date
Michael Shigorin
54609e4785 deflogin: refactoring and fixup
There have been several problems with this feature:
- a typo;
- non-existant GROUPS (even a single one) would block setting
  all of the supplementary groups but separately-set 'wheel';
- this feature isn't used much actually so sees no battle testing.

The typo has been just fixed; GROUPS are now applied by iteration
which is less effective but more reliable; an additional script
hook to write down login invitation for the first passwordless
account (if any) has been implemented; and several more group
managing targets have been added (based on live feature's script).
2014-04-12 18:32:40 +04:00
Michael Shigorin
0650f6d42d deflogin: explicit ROOTPW_EMPTY
This relates to commit f2892ad3e4
as there's an obvious need to be able to set empty root password
for LiveCDs but previous implementation was very fragile (and is
going to stay that way) -- so clear and separate knob for making
an image defenseless looks better.
2014-04-12 18:28:48 +04:00
Michael Shigorin
b9dffe2101 gear-store-tags 2014-04-07 23:39:02 +04:00
Michael Shigorin
c4d48c00b1 1.1.30-alt1
- robotics support
2014-04-07 23:38:32 +04:00
Michael Shigorin
ed75be87a1 syslinux: fix mediacheck label for gfxboot
Whoops, the very first build of a real distro with gfxboot
has shown that the label isn't picked up there... and things
are actually worse: iso.needscheck gfxboot test seems to look
up "check=1" in sectors where it might have been landing back
then but it's just not there by now; some kludgery is due in
branding-altlinux-sisyphus unfortunately.
2014-04-07 23:32:38 +04:00
Michael Shigorin
735eb6ea41 mediacheck: purge more packages
No use to hunt make or diff file-by-file.

Well this chroot should have been more lean
in the first place (or a few files in initrd)
but life is short so better use/baby/steps.
2014-04-07 23:32:38 +04:00
Michael Shigorin
8abdb7402b mediacheck: drop firmware/udev as well
These aren't needed in this subprofile but can sneak in
via e.g. SYSTEM_PACKAGES.
2014-04-07 23:32:38 +04:00
Dmitry Derjavin
172942243a Robotics related package list, feature and live-robo target added. 2014-04-04 15:49:34 +04:00
Michael Shigorin
b0adfd04c5 gear-store-tags 2014-03-31 23:59:32 +04:00
Michael Shigorin
97145c91f9 1.1.29-alt1
- mediacheck feature
2014-03-31 23:56:15 +04:00
Michael Shigorin
622fd2d160 regular.mk: gnustep will use/mediacheck
This is an experimental addition to an image that might
get some attention (and broken downloads as well).
2014-03-31 23:54:57 +04:00
Michael Shigorin
ae983176c0 test.mk: live-{isomd5sum=>mediacheck}
Update accordingly to feature change.

Note that the new image is quite minimalistic/useless.
2014-03-31 23:50:46 +04:00
Michael Shigorin
f28a83cac6 mediacheck: the former isomd5sum
This one is quite different already and utility-based name
was pretty clumsy; meet the new feature and retire the old
experimental one.

Please note that quite aggressive cleanups are implemented
within this stage2-based subprofile for the simple reason
that it has a single task to do; nothing else is expected
to be configured into it for that matter.

This functionality asks to be further moved into initrd of course;
adding it there will take a few more decisions to be made, mostly
regarding user interaction in failure scenarios, and it looks like
mkimage will have to be patched in case this doesn't just go into
full.cz under some sort of conditional check.
2014-03-31 23:50:00 +04:00
Michael Shigorin
71db9c6701 syslinux: support forthcoming mediacheck feature
Just a humble config snippet for another squashfs;
note that @bootargs@ aren't expected at all this time.
2014-03-31 23:50:00 +04:00
Michael Shigorin
44e778c9bd regular.mk, p7.mk: server-{un-def=>hyperv}
The whole story with this installer has been due to a query
at #altlinux whether there's a distribution image similar
to altlinux-p7-rescue.iso which appears to be booting under
Hyper-V Gen. 2 without a hitch; changing just the kernel
towards the newer one made the user rather happy since
everything worked out-of-box for him, even unimportant bits.

Of course it's mostly due to boyarsh@'s preceding work :)

NB: there's no use to build i586 version as that hypervisor
lacks CSM (BIOS implementation) and would only boot UEFI
compatible operating systems with pretty strict requirements.
2014-03-31 23:50:00 +04:00
Michael Shigorin
1ee5f0561a desktop+razorqt+extra: a few more extras
quiterss is lurking in autoimports so far,
gotta have a look at it...
2014-03-31 23:50:00 +04:00
Michael Shigorin
d9e591a953 regular.mk: man-whatis available within sysv-tde
As proposed by Speccyfighter:

http://lists.altlinux.org/pipermail/community/2014-March/681897.html

...but not installed by default due to overhead:

http://bugzilla.altlinux.org/21838
2014-03-31 23:49:59 +04:00
Michael Shigorin
067b4d1cfb regular.mk: use gdm2.20 for sysv-gtk based images
It has dawned on me that gdm2.20 is more widely useful
within sysvinit based builds: lightdm with gtk greeter
would fail to poweroff/reboot while this one would not.
2014-03-31 23:49:42 +04:00
Michael Shigorin
8419175c02 syslinux: help git grep *_size
It's not exactly obvious how install2_size, live_size or rescue_size
get defined since the variable names themselves get constructed;
help git grep these down.
2014-03-31 23:45:43 +04:00
Michael Shigorin
add424fe76 server: ensure ACPI poweroff support
acpid is not enough since power button handling configuration
has been split apart; and tracking this in zillion places is
utterly useless in face of a specially trained power feature.

Just use it.
2014-03-31 23:45:41 +04:00
Michael Shigorin
b3a91c4895 x11: use/firmware for 3D acceleration
At least Radeon drivers badly need those,
e.g. SUMO_uvd.bin + PALM_pfp.bin for C60 APU.

Helps live-flightgear.iso a lot indeed!
2014-03-31 23:45:19 +04:00
Michael Shigorin
2abee7d82c t7.mk: added altlinux-t7-gnustep-systemd.iso
Another bridgelet.
2014-03-31 23:44:23 +04:00
Michael Shigorin
07779c625b regular.mk: added regular-gnustep-systemd.iso
aen@ asked to ship this one as well; no problem given mixins,
still being able to *switch* the init instead of regrafting
would be very beneficial.

NB:
- wdm can't do autologin;
- wdm can poweroff/halt;
- wdm+autologin won't work under systemd (via prefdm.service);
- nodm will work under systemd;
- nodm will ruin consolehelper -> livecd-install by root's PATH;
- gdm2.20 is lightweight, feature complete and sovereign enough.
2014-03-26 21:01:18 +04:00
Michael Shigorin
a4b4aeb6da x11-autologin: added some warnings to README
nodm needs fixing indeed but let's spell this clearly at least.
2014-03-25 14:51:42 +04:00
Michael Shigorin
d4d16d62cf gear-store-tags 2014-03-24 23:59:05 +04:00
Michael Shigorin
445c361a15 1.1.28-alt1
- install2: more cleanups
2014-03-24 22:20:35 +04:00
Michael Shigorin
c9ca03ffee regular.mk: go on vnc-free with sysv-tde
The reason for an explicit cleanup is that VNC installation support
is now left in by default (see #29901); thus this commit is only
keeping the status quo for this image.
2014-03-24 22:20:28 +04:00
Michael Shigorin
d9d09c72d2 systemd: drop the obsolete feature
This one is really not needed, use/init/* instead.
Been declared obsolete for more than 9 months.
2014-03-24 22:11:42 +04:00
Michael Shigorin
c7e4f5e330 desktop+gnustep*: current updates
A few more tweaks for changes in sisyphus and t7 repos;
thanks real@ for both fixing and tracking things.
2014-03-24 21:56:29 +04:00
Michael Shigorin
9a05187e16 repo: minor important remark
Installation finishes just fine if bzip2-compressed
hash files are removed *but* apt-cdrom add will fail.
2014-03-24 21:56:29 +04:00
Michael Shigorin
b4b9f26cd8 http-server: no more php5-eaccelerator
It's missing in Sisyphus since php5 update to 5.5.x;
while an opcode cache would be a powerful boost for
many webapps this has to be sorted out in repos first.
2014-03-24 21:56:29 +04:00
Michael Shigorin
adffe4a6c3 install2: drop /usr/include
It happens to hold couple of files nowadays
on an otherwise almost empty system!
2014-03-24 21:56:29 +04:00
Michael Shigorin
a2bcf16823 regular.mk: strip jeos further down
It's still a GUI installer but pretty much barebone one by now...
in particular, it needs no xorg-drv-$hardware being mostly targeted
at VMs and demo appliances where fbdev is rather enough.

Cleanup extra kernel drivers too.
2014-03-24 21:56:29 +04:00
Michael Shigorin
148c477c5b install2: introduce tunable kernel driver cleanup
This one has been missing for quite some time (infiniband modules
should have triggered a commit like this back then), finally there
in very crude and draft form for the starters.
2014-03-24 21:56:29 +04:00
Michael Shigorin
1e65a52c5e install2: cleanup everything too
This destructive target is like a "people's revolution":
almost nothing left.

Some need this to achieve jeos or chaos, respectively.
2014-03-24 21:56:29 +04:00
Michael Shigorin
9efac39013 install2: deduplicate removals
{lib,}bind shouldn't have to be removed twice, really.
2014-03-24 21:56:29 +04:00
Michael Shigorin
77a97594a5 install2: font utils have done their duty
By the time these hooks run the font packages' %post scriptlets
should have fired already; no need to carry the utilities on.

Yes these are bit-by-bit savings.  No it's too expensive still.
2014-03-24 21:56:29 +04:00
Michael Shigorin
48239f73e8 install2: drop wayland, EGL
Both might be useful in some context but serve no real need
given the installer one, at least this year.
2014-03-24 21:56:29 +04:00
Michael Shigorin
86ad2dec82 install2: cpp dependencies can go too
This rotten cherry-picking is ridiculous of course
but that's the price to pay for hard dependencies...
2014-03-24 21:56:27 +04:00
Michael Shigorin
ed67687d32 install2: drop common-licenses as well
These aren't going to be really needed in that environment,
please refer to the more complete environments like rescue,
live, or an installed system.
2014-03-24 21:55:55 +04:00
Michael Shigorin
9597b7471c install2: more cleanups
xterm is pulled in by xinitrc (as xvt),
xdg-utils by alterator-browser-qt (for xdg-open).
2014-03-24 21:55:55 +04:00
Michael Shigorin
db85d65b7d install2: sometimes we don't run xorg on hardware
...or are fine with fbdev like in case of installers,
especially minimalistic ones.
2014-03-24 21:55:54 +04:00
Michael Shigorin
3927ac2198 install2: more locale cleanups
My gut feeling is that we're not going to see glib2's
messages a lot within installer environment anyways.

And there's a forgotten /usr/share/X11/locale/ too.
2014-03-24 21:55:30 +04:00
Michael Shigorin
d871db1639 install2: drop lib{cloog-,}isl
These are required by no package after the intermediate
cleanup has finished.  Argh.
2014-03-24 21:55:12 +04:00
Michael Shigorin
5d8af5b77d install2: a tiny but useless directory
Installer doesn't do systemd and needs no service files.
2014-03-24 21:55:04 +04:00
Michael Shigorin
0ba5ad6486 install2: further reduce X driver bloat
An installer needs video playback acceleration
when it has some content to show and some means to;
as long as these are not supported just drop this
unconditionally.
2014-03-24 21:54:46 +04:00
Michael Shigorin
6a59475dbd server.mk: more cleanups
server-nano is intended to be slim; it doesn't need VNC
installation support and provides no LUKS tools either.
2014-03-24 21:54:46 +04:00
Michael Shigorin
e75d647b70 install2: potentially cleanup crypto bits as well
These are only needed for alterator-vm when making
LUKS encrypted partitions; ideally the extra libraries
would be omitted automatically when luks isn't included.
2014-03-24 21:54:46 +04:00
Michael Shigorin
791a236a70 install2: make vnc cleanup conditional
At least don't purge it with no questions answered.
Thanks naf@ for posting #29901.
2014-03-24 21:54:46 +04:00
Michael Shigorin
d587fa5f88 conf.d: updated README to mention mixin/*
The mixin concept and name has been borrowed from Ruby
language -- it's a kind of thing that can be added to
more or less whatever suitable; the problem it tries
to solve is that incrementally building up the image
configuration breaks when one would like to change
something that's been configured in early enough so that
grafting early will warrant a lot of duplication later on
but inheriting too much things that need to be changed
gets too much hackery in.

It started while trying to build an installer image
using configuration bits and pieces collected while
bringing an installable LiveCD together: there are
just too many livecdish things in a LiveCD to try
and rebase the actual desktop configuration things
onto an installer, so putting these into a mixin
to be reused within both livecd and installer
seems the way to go.
2014-03-24 21:54:46 +04:00