Commit Graph

515 Commits

Author SHA1 Message Date
Michael Shigorin
3e139f805d Revert "x11-autostart: ensure prefdm startup"
This reverts commit 81231ae5f7:
task #122722 contains a few display managers updated for
systemd-214.
2014-07-01 21:18:12 +04:00
Michael Shigorin
afcfaadc7e Revert "live: disable livecd-evms"
This reverts commit e48fe6c471:
livecd-evms has been updated to cope with systemd-214.
2014-07-01 21:16:32 +04:00
Michael Shigorin
81231ae5f7 x11-autostart: ensure prefdm startup
systemd-214 has broke things badly enough so that
graphical boot target is not effective anymore;
enabling prefdm explicitly helps though.
2014-06-30 23:58:30 +04:00
Michael Shigorin
e48fe6c471 live: disable livecd-evms
Looks like sysvinit-only services like this pose a major problem
for systemd-214 causing dependency cycles.
2014-06-30 23:58:29 +04:00
Michael Shigorin
6fd1c86412 live: s/fonts-ttf-droid/fonts-otf-mozilla-fira/
fonts-ttf-droid have been superseded by fonts-ttf-google-droid-sans
in Sisyphus which might be lacking; I've considered replacing it
with Fira anyways, so let's just do that.
2014-06-30 23:58:06 +04:00
Michael Shigorin
226a2395e5 net: 50-net-nm band-aid
This needs further refinement regarding p7/t7 specifically:
NM behaviour regarding defaults differs in sisyphus and this
has led to livecds booting with DHCP networking but installed
systems booting without configured interfaces.
2014-06-12 18:19:59 +04:00
Michael Shigorin
4a2e0be1b4 x11: add use/x11/nm/gtk target
This belongs to x11 feature and not to net feature since its
focus is a GUI, not the actual network-handling parts.

Or like that.
2014-06-10 01:44:28 +04:00
Michael Shigorin
78f21583cb net: rework NM support
Non-GUI packages moved to base+nm pkglist to enable standalone
installation of those; and GTK bits left in desktop+nm for use
by images lacking their own new and improved(tm) variant.

Note that both GNOME3 and KDE4 aren't lacking anymore.
2014-06-10 01:44:28 +04:00
Michael Shigorin
92c3e24adf x11: tweak for multi-branch compatibility
This is a similar trouble: p7/t7 branches had
plasma-applet-networkmanager while sisyphus has
switched to kde4-plasma-nm* (there's a bunch of
subpackages there, basically all of them desired).
2014-06-10 01:44:27 +04:00
Michael Shigorin
41a3f09132 browser: tweak for multi-branch compatibility
The current branches lack both firefox 29+ and
firefox-classic_theme_restorer, correspondingly;
sisyphus has those; the feature shouldn't pose
any problems in both cases, should it?
2014-06-10 01:43:32 +04:00
Michael Shigorin
73485bc00f install2: initial use/install2/repo
This one uses an installer feature; should be reimplemented
using rootfs scripts carried over by installer some day.
2014-06-04 19:09:11 +04:00
Michael Shigorin
1b7b7d86ff install2: added use/install2/vnc
This is the antagonist of the pre-existing cleanup;
suggested by frbrgeorge@ for starterkits.
2014-06-03 22:07:28 +04:00
Michael Shigorin
82e5613090 dev: tweak hasher script hook order
This should have been done back when live feature
has been ported to use deflogin feature indeed :-/
2014-06-02 20:46:26 +04:00
Michael Shigorin
ab14528437 dev: added support for squashfs-tools 4.3
New mksquashfs requires /proc; mkimage 0.2.15 takes care for that;
it's time for this feature to get accustomed either.
2014-06-02 20:45:59 +04:00
Michael Shigorin
b9de03f79a live, live.mk: use/browser now
Firefox was the very reasonable default for initial livecd
implementation but now that at least initial browser chooser
infrastructure is in place it's time to un-hardwire its use.

It's _the_ default but switchable now so that images providing
a comprehensive browser can avoid feature duplication.
2014-05-26 23:26:36 +04:00
Michael Shigorin
d986baac50 initial browser feature
This one has been asking to be implemented for too long already,
and zerg@ was interested in a bit more lean and mean regular-kde4
either (there are two browsers provided with it via metapackage).

There's another reason to do it recently: Firefox Australis UI
is not exactly the best for many of us, and good ol' seamonkey
seems preferable for "vintage"/low-resource images coming with
icewm or windowmaker.
2014-05-26 23:26:36 +04:00
Michael Shigorin
db1e57d24a domain-client: split into two targets
The "full" one adds Kerberos ticket watcher GUI
and sets up avahi service to start automatically.
2014-05-13 22:33:04 +04:00
Michael Shigorin
c80fdb2910 x11: initial lxqt support
This is a sketch based on both lxde and razorqt bits.
2014-05-13 22:32:13 +04:00
Michael Shigorin
600febca30 vmguest, install2: add vmware modules
led-ws kernel flavour has gained kernel-modules-vmware
recently, let's add this to the appropriate targets.

It's used in regular-jeos already but THE_ part was missing.
2014-05-13 00:25:02 +04:00
Michael Shigorin
db4b3d10b2 live: don't chkconfig dm explicitly
dm service is set up to autostart when installed anyways,
and explicit `chkconfig dm on' results in it being turned on
at runlevels 2, 3 and 4 too which is really not needed.

Thanks led@ for spotting and reporting this.
2014-05-13 00:25:02 +04:00
Michael Shigorin
e3571f276a stage2, efi: added kernel config test collector
The newly-introduced STAGE1_KCONFIG variable serves
to keep those kernel configuration options that are
required to be present in the kernel to boot.
2014-05-12 18:27:08 +04:00
Michael Shigorin
24ead72484 build-distro: document META_* somewhat
Thanks msp@ for his proposal to provide at least some hints
regarding metadata related variables albeit further RTFM
is much recommended.
2014-05-05 23:50:44 +04:00
Michael Shigorin
ab84d06028 syslinux: "cdrom" notice
cfg.in/README should be explicit regarding
"automatic=method:cdrom" being usable for
flash media too (propagator has been fixed
since 20101130-alt10 or so, and gfxboot is
able to tweak the cmdline having figured
out it's running off the flash either).
2014-05-05 23:50:44 +04:00
Michael Shigorin
43a3601075 rescue: locale band-aid
It's by no means substitution for proper l10n feature
but forcing users into POSIX locale for recovery ops
is no good at all.

This is basically a fork of live feature's 20-locale,
a font has been changed to save some face though.
2014-05-05 23:50:29 +04:00
Michael Shigorin
0276e25dd2 vmguest: add vmware support
Thanks ildar@ for #30024 and specifically mentioning
that mptspi.ko is missing in jeos flavour (using led-ws).
2014-05-05 23:50:29 +04:00
Michael Shigorin
d6c45593ef install2: add use/install2/{vmware,vmguest}
VMware specific bits went into use/install2/vmware target,
and all of those targets are worth their use/install2/vmguest
collective one instead of just sticking the kitchen sink into
use/install2/full immediately.
2014-05-05 23:50:29 +04:00
Michael Shigorin
8c580273c8 vmguest: s/virtualbox/vbox/ upon targets
So as to bring the name bits into harmony with use/install2 ones.
2014-05-05 23:50:29 +04:00
Michael Shigorin
6b7a4f398f net-eth: expand stage2 comment
Just in case adding use/net-eth -> use/stage2/net-eth dependency
ever seems a good idea...
2014-05-05 15:48:21 +04:00
Michael Shigorin
02e484af36 net-eth: require udev-rule-generator-net
This feature intrinsically depends on predictable
ethernet interface names and makes no sense without
those; so it only seems reasonable to bring this
nice package in, huge thanks go to shaba@ of course.
2014-04-28 21:28:29 +04:00
Michael Shigorin
2d99b8a4a3 net: fix the comment
The issue at hand is that we must not reconfigure an interface
that NFS with the rootfs we're running off is mounted over.
2014-04-28 21:28:29 +04:00
Michael Shigorin
05abfaa2d8 build-vm: don't use/deflogin indefinitely
There's working use/oem to provide initial setup now too,
default root/user logins are logically conflicting with it
most of the time.
2014-04-28 21:28:12 +04:00
Michael Shigorin
b28d2ffcca deflogin: added uucp to hardware groups
This one relates to serial ports (including USB serial);
thanks dd@ for suggestion.
2014-04-21 20:27:53 +04:00
Michael Shigorin
c08d18dd54 net-eth: fix ugly typo
That space before ']' was missing indeed :-/
2014-04-21 17:49:08 +04:00
Michael Shigorin
bb37e68588 syslinux: slightly better mediachk label
It's not neccessarily installation media.

Shift boot order so that rescue image can get mediacheck too
but still boot into rescue by default.
2014-04-19 13:48:12 +04:00
Michael Shigorin
1a8d7e3126 syslinux: bump rescue loop device number limit
As proposed by Maxim Suhanov since there are only
7 loop devices available upon bootup which might be
not enough given ro,loop mounts by default.
2014-04-19 13:48:12 +04:00
Michael Shigorin
a2fcc601c9 syslinux: process @rescue_hash@ (forensic mode)
This value is used to authenticate rescue rootfs image
by verifying the squashfs file's sha256sum before use
(propagator-20140419+).

Looks like this check might be useful for other stage2
images as well but let's get started with this one.

Thanks Maxim Suhanov <suhanov/group-ib.ru> for both
http://www.forensicswiki.org/wiki/Forensic_Live_CD_issues
and propagator patches.
2014-04-19 13:48:11 +04:00
Michael Shigorin
84a591471c syslinux: fix "forensic" wording
Thanks Maxim Suhanov (suhanov <AT> group-ib.ru,
http://www.forensicswiki.org/wiki/User:.FUF)
for taking the time to review regular-rescue image.

Note that there are more than just filesystems:
arrays, logical volumes and swaps aren't activated either;
startup-rescue >= 0.18 should make that clear enough.

syslinux shortcut handling is case-insensitive,
let's find yet another letter...
2014-04-19 13:47:31 +04:00
Michael Shigorin
8362a7b905 syslinux: add forensics mode
A variant of rescue that marks the need to be careful
towards block devices and filesystems thus reducing
the amount of auto-activation done by startup-rescue
(0.17 or newer).
2014-04-14 20:50:19 +04:00
Michael Shigorin
490ec2ec0d server: added zabbix target
This is a refactored result of Zabbix-related experiments;
we can do a rough zabbix server sketch that still requires
its own setup to go.

NB: both the pkglist and the target are describing several
distinct things actually: zabbix server, zabbix agent,
and the underlying SQL/HTTP/SMTP servers which might get
their own smaller targets some day.
2014-04-14 18:33:02 +04:00
Michael Shigorin
a9c9b032e8 live: use/deflogin (along with fixups)
It appears that live feature has been buggy regarding user
groups: its 30-users script would create a predefined account
with fixed supplementry groups list, and even if deflogin feature
got used too it would fail to add any groups to already existing
account since its useradd(8) call would fail.

Let's drop this duplication which has been long overdue anyways.

Thanks dd@ for both reporting the problem and carrying out
initial investigation.
2014-04-12 18:41:12 +04:00
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
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
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
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