Commit Graph

570 Commits

Author SHA1 Message Date
Michael Shigorin
072fefdf3b install2, live: implement ACPI suspend support
The corresponding installer feature had to be updated first
following blkid(8) output format changes, but that's it!
2015-03-29 19:51:17 +03:00
Michael Shigorin
0f75f701fc efi: bridge bootargs into EFI too
It's been missing roughly from the start there :-/
2015-03-10 00:00:14 +03:00
Michael Shigorin
3e1fe68a54 syslinux: update rw to use cdrom method, not disk
The former approach to handling "LiveCD with sessions"
has been to mangle "automatic=method:cdrom" into
"automatic=method:disk,label:ALT*" within gfxboot
so that propagator and make-initrd-propagator would
try and discover/create a filesystem labelled
"alt-live-storage" on a LiveFlash's free space.

Then "live_rw" handling has been unified in
make-initrd-propagator (as of 0.18-alt1) to accept
any of "label" subparameter or "live_rw" argument
to go and create_disk_slice().

Then propagator's cdrom.c has been fixed to actually
try sdX1 before sdX (as of 20150306-alt1).

And now it's all been tested to verify that:
- flash "ro" and "rw" boot is OK
- CD-ROM "ro" boot is OK
- CD-ROM "rw" boot is fine given that there's
  a partition labeled "alt-live-storage" elsewhere

This is a can of worms indeed :-/

References
~~~~~~~~~~
* http://altlinux.org/initrd-propagator
* http://altlinux.org/make-initrd-propagator
* http://bugzilla.altlinux.org/28289
2015-03-10 00:00:14 +03:00
Michael Shigorin
f511271917 dev: hint regarding hasher repo
It's entirely unclear to an unsuspecting curious user
where the actual results of a proposed example hasher
build end up; that's ~/hasher/repo, just state that.
2015-03-10 00:00:11 +03:00
Michael Shigorin
7cb477c38a stage2, install2: oops, narrow the cleanup back
The former install2-only "bloated binary" purge script
happened to hit stage2 (which is a lot more than just
install2); a kind of safety net has been stuck into it
to guard installable LiveCDs against this particular
cleanup but seems it was not enought for ildar@ who
reported this problem almost three years after it was
introduced.

This change re-places the script back into install2
section; the binaries in question amount for ca. 8 Mb
(except openssl ildar@ asked about); if these are deemed
unneccessary within any other stage2-based subprofiles,
please step up with details.
2015-03-10 00:00:09 +03:00
Michael Shigorin
8cbb7146ea vmguest: fixup vbox targets
use/vmguest/vbox/base used to pull in DRM modules
which are required for vboxvideo but useless without
xorg bits; and all of these aren't needed in jeos.

Things might break, doublecheck please.
2015-03-02 20:07:22 +03:00
Michael Shigorin
bc2a4025d8 init: use the proper variable for i-f packages
When installer-feature-systemd-stage3 hits BASE_PACKAGES
it pulls install2-init-functions in which is wrong
(one of the consequences is that alterator-browser-qt
lands into even a very basic server installation).

And install2 doesn't even need that package as init feature
carries a script hook that does the same...
2015-02-26 17:36:31 +03:00
Michael Shigorin
03435a70d0 drop razorqt support (see lxqt)
This project has evolved/merged into LXQt which has been
packaged for both p7/t7 and sisyphus by now, no need to
carry on deprecated bits.

NB: 0.6.x still have it as t6/p6 still bear razorqt.
2015-02-25 15:13:54 +03:00
Michael Shigorin
f3f373b9e3 x11: rollback gnome3 metapackage
The gnome3-regular one adds quite a few megabytes,
let's keep the mid-sized -default for common targets
while moving -regular to, well, regular one.
2015-02-25 12:39:39 +03:00
Michael Shigorin
620c827c5f cleanup: introduce use/cleanup/libs
The installer feature added is a trivial wrapper around
apt-cache nodeps to uninstall the ^lib packages that have
no more dependencies upon those when the temporarily
installed packages like alterator-browser-qt get removed.
2015-02-25 12:39:27 +03:00
Michael Shigorin
b080d40ae9 net: added use/net/networkd
Specifically for the minimalistic systemd-based server image
suggested by shaba@.
2015-02-25 12:39:21 +03:00
Michael Shigorin
f31e392ca4 net, net-eth, regular.mk: introduce use/net/etcnet
This has been simply use/net but it looks like we've got
some people who would like to cope without etcnet, even:
http://lists.altlinux.org/pipermail/devel/2015-February/199506.html

Adjust its usage accordingly.
2015-02-25 12:39:17 +03:00
Michael Shigorin
a211aec73c install2: drop use/install2/kms
This has only been useful for plymouth feature,
and +installer shortcut included this target
for all the wrong reasons as it seems today
(thus blocking the DRM-free server installers,
for example).
2015-02-25 12:39:12 +03:00
Michael Shigorin
1ca7975520 init: add systemd debug target
This one enables a spare shell on tty9 just in case.
2015-02-25 12:39:05 +03:00
Michael Shigorin
29327e2b80 features.in/Makefile: avoid spurious backups
This doesn't look like a clean solution, whitelist should be
way more reasonable; still better than dirty builddir though.
2015-02-21 20:12:11 +03:00
Michael Shigorin
aea95968ef build-vm: cleanup the leftover tarball
...unless we're debuggin'.
2015-02-20 19:08:31 +03:00
Michael Shigorin
dee3512dd1 vagrant: oops, some junk left
This authorized_keys file has been downloaded to get incorporated
into a script hook but was looking common enough to be forgotten
during pre-commit feature cleanup unfortunately; fix that.
2015-02-19 21:33:12 +03:00
Michael Shigorin
122c305bc0 cleanup: extend x11-related target
A few more leftover libraries tend to hang around after
purging extra alterator packages that have fired already
during installation stage3; this change might hurt someone,
please do notify if that is the case (OTOH one isn't forced
to use it or to inherit intermediate targets that do so).
2015-02-19 20:04:31 +03:00
Michael Shigorin
451d7c012d vagrant: initial implementation
This feature adds initial vagrant-compatible box
build support as outlined in #28553.
2015-02-16 23:10:50 +03:00
Michael Shigorin
ea55aee5b7 live: refactored to use pkglist
This feature operates LIVE_* variables specifically
(as opposed to the more generic THE_* ones) so +alsa
isn't exactly suitable but reusing the pkglist that's
just been factored out is fine.
2015-02-10 23:10:49 +03:00
Denis Smirnov
15a3cb12e8 sound feature refactoring
Split package lists:

- base alsa packages (also needed in pulseaudio-based installations)
- additional alsa packages (needed only if not using pulseaudio)
- pulseaudio packages
2015-02-10 23:06:30 +03:00
Michael Shigorin
eadc204b9e x11: drop explicit gst-libav
aris@ tells that it's been specified as totem dependency since,
no need to carry this temporary duplication on.
2015-02-04 21:39:58 +03:00
Michael Shigorin
34a13fa371 live: disarm URW
It's been discussed that URW fonts' priority be lowered
and way too many direct dependencies upon those be reviewed:

http://lists.altlinux.org/pipermail/devel/2014-September/199105.html

...just not there yet.
2015-02-02 21:45:42 +03:00
Michael Shigorin
fa1089f51e x11: upgrade gnome3 metapackage
There's gnome3-regular now extending -default (thx aris@).
2015-01-26 15:44:29 +03:00
Michael Shigorin
39fa788ac8 build-vm: update referenced script name
It's probably a good year to get rid of this reference practice
resulting in a known sort of misdocumentation over time :-/
2015-01-05 11:18:48 +03:00
Michael Shigorin
ec1ce73cb3 live: don't force localboot here
live-webkiosk.iso regressed into trying to boot off the local disk
immediately, the exact cause is not yet discovered but this one
has popped in build trace (distcfg.mk) already.

Desktop images are still likely to depend on it though.
2015-01-05 11:18:02 +03:00
Michael Shigorin
4459f1771d server: added ftp/http clients to ovz
wget is actually required by vzctl currently
but lftp is a handy tool which is missing,
and both are better specified explicitly.
2014-12-18 18:26:46 +03:00
Michael Shigorin
e4077b2bbf live: fix broken regexp to actually enable repos
The problem with hardwired "[alt]" was that it's not going
to match "[p7]", for example.

Brown paper bag bug.
2014-12-12 15:16:05 +03:00
Michael Shigorin
1cf1bcb87d dev: rework user setup
There were quite a few things missing:
- packager pseudo for both rpm and hasher;
- proper target (so that i686 or athlon don't confuse people);
- hasher repo for apt so that mkimage would use it too;
- last but not least, a friendly bootstrap message! ;-)
2014-12-12 01:47:35 +03:00
Michael Shigorin
52a4265eab dev: tweak main subprofile to avoid extra packages
THE_* and friends are all unneeded for live builder image;
this commit makes dev feature basically incompatible with
install2 feature (which relies on the conventional behaviour
of main subprofile), will have to think it all over if the
combination of these two ever becomes needed.
2014-12-12 00:41:00 +03:00
Michael Shigorin
74126092a4 dev, live.mk: refactor live-builder bits
It feels like time to introduce regular-builder.iso,
let's help it by factoring most of the common part out
into the feature.
2014-12-12 00:37:20 +03:00
Michael Shigorin
768c78bfca efi, regular.mk: drop led-ws
It's not supported anymore:
http://git.altlinux.org/tasks/archive/done/_133/136193/
2014-12-09 18:10:55 +03:00
Michael Shigorin
1445ff423b deflogin: treat no users as a warning
There could be root-only VM appliances, for example,
and ROOTPW is now handled through this feature.
2014-12-04 21:04:43 +03:00
Michael Shigorin
be38098abf init: tweak to accomodate p7/t7 too
The problem with initial implementation (commit 62e7e9c)
is that there's no systemd-services package in p7/branch
thus apt complains about an attempt to remove something
that doesn't even exist in the first place.
2014-11-14 16:30:03 +03:00
Michael Shigorin
b5ff2b24b4 initial l10n feature
Aimed at live images at first but should cover installers as well.

This has been brewing for quite some time and while the proper
implementation is considerably more complex (and hard to do)
looks like there's demand for the particular important use case,
namely LiveCDs for Russian users, so this code has been shared
with a few people before merge.
2014-11-14 15:07:09 +03:00
Gleb Fotengauer-Malinovskiy
5cede154fa x11: added use/x11/dwm target 2014-11-12 21:12:59 +03:00
Michael Shigorin
927d57d55a fonts: added google crosextra
Looks like there are more fonts out there than just croscore!
2014-10-29 16:11:52 +03:00
Michael Shigorin
48b29291ea power: i-f-cpufreq is no more
installer-feature-cpufreq-stage3 has been deleted from sisyphus.
2014-10-27 12:25:32 +03:00
Michael Shigorin
35841f144a server: added installer-feature-server-raid-fixup
This one adds write intent bitmaps for MD RAID;
see also #14877.
2014-10-24 16:55:39 +04:00
Michael Shigorin
3fc56a10e1 x11: disable acpid for e19
E19 would ask the user if they want to shut down
when facing power button event; it won't get a chance
though as the system will hurl down immediately as per
acpid-events-power package provided configuration.
2014-09-23 19:39:52 +04:00
Michael Shigorin
11d07b004b s/e18/e19/g
It has arrived to sisyphus last week silently,
thanks aris@ (#30253).
2014-09-22 15:48:47 +04:00
Michael Shigorin
2fa7259510 deflogin: more explicit ROOTPW_EMPTY handling
This should avoid ruining principle of the least surprise
with ROOTPW_EMPTY=0 or ROOTPW_EMPTY=n actually *enabling*
empty root password; overriding an already set "1" with "0"
becomes possible either.
2014-09-19 20:58:47 +04:00
Michael Shigorin
1a7eed303d pid1: initial "run as PID 1" feature
This one has been inspired by these guys:

  http://www.informatimago.com/linux/emacs-on-user-mode-linux.html
  https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html

It's aimed at building images running their main userspace
piece instead of ramdisk's init, that means PID=1, UID=0.

Mostly fun of course but it suddenly became interesting with
kernel IP autoconfiguration and e.g. elinks running this way
(NB: requires patched make-initrd 0.8.8 at the moment to get
resolver configured).

And startup times are way better than sysvinit and systemd combined!
2014-09-19 20:53:25 +04:00
Michael Shigorin
6f452182fd fix kpackages() API
This function's got its argument order chosen for "aesthetical"
reason of $(2) following $(1) in the macros but the logical order
is exactly the opposite: we care for kernel flavour much more than
for module set (which is dependent upon it).

So while silent dropout of kernel-image if KFLAVOURS is set
but KMODULES is empty could be fixed by testing for $(2) only,
it looks like a good time to fix this discrepancy altogether.
2014-09-19 20:53:25 +04:00
Michael Shigorin
8faf140777 kernel, stage2: rearranged initrd hooks
stage2 has been thinking it's synonymous with propagator
and used to usurp kernel's belongings either; carefully
tear scripts apart so that kernel feature makes sure
initrd gets generated, and stage2 (which is still all
about propagator) cares for its bits.
2014-09-19 20:53:24 +04:00
Michael Shigorin
5c4f116b3a vmguest: handle vmware x11 driver
xorg-drv-vmware is desirable for guests with X11
but undesirable for text-only ones; let's provide
this knob at least but ideal m-p would figure out
that an image with use/x11 and use/vmguest/vmware
should receive this intersection either.
2014-09-19 20:52:18 +04:00
Michael Shigorin
73c644fc28 net: backup 4.2.2.x public nameservers
Using just a single one of those tends to end up problematic
at times but any two use to suffice.
2014-08-30 21:36:24 +04:00
Michael Shigorin
84fd73e5db firmware: factored out kmodules to kernel
Maybe firmware feature should be merged into kernel feature
as the firmware binaries added by it are only used by kernel
but let's clean up a bit at a time.
2014-08-29 15:38:43 +04:00
Michael Shigorin
8533f7e2b7 net-eth: added plus-shortcut
"use/stage2/net-eth use/net-eth" would be common enough
for installers or livecd images to just get these pulled in
together by a convenient shortcut thus reducing confusion
and chances to just forget one of these counterparts.
2014-08-26 22:24:45 +04:00
Michael Shigorin
2897fe80ce net: added modem-manager-gui provider target
sem@ says it works at the moment, the utility is useful
to look up account status or handle SMS.
2014-08-20 17:26:55 +04:00