Commit Graph

1762 Commits

Author SHA1 Message Date
Michael Shigorin
4a6a88826c live.mk: tweak webkiosks regarding hybrid/efi
-mini image should be flash-friendly to be more useful,
and -flash bugtraq kitchen sink could use/efi as well.
2014-09-19 21:01:36 +04:00
Michael Shigorin
a3ddce7a81 functions.mk: allow setting to an empty value
set() is a function of two variables but the and()
check for *both* is incorrect as one might need to
override a previously set variable with empty string;
this has manifested itself with a case like this:

  @$(call set,ROOTPW_EMPTY,1)
  # ...
  @$(call set,ROOTPW_EMPTY,)
2014-09-19 21:01:08 +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
3c95cf8d8f live.mk: tweak live-builder*
That is, move use/efi/signed from basic -mini image
to the complete one; make the former isohybrid but
otherwise keep it small.
2014-09-19 20:58:03 +04:00
Michael Shigorin
4abb3688ff test.mk: several test PID 1 images
These started out with the now-classic vi and emacs ones,
elinks has been the next step, and bash helps debugging.
2014-09-19 20:54:25 +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
730e791fec stage1: fix for non-propagator stage2
It's been a given that any stage2 is propagator-based
but that's not neccessarily so; the "run X as PID 1"
sort of contest has sparkled interest in some others.
2014-09-19 20:52:19 +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
00244a0752 gear-store-tags 2014-09-15 22:22:00 +04:00
Michael Shigorin
71fba777a3 1.1.46-alt1
- regular fixes
2014-09-15 22:20:54 +04:00
Michael Shigorin
4aaba411a4 live.mk: better fonts for webkiosks
IOW URW EOL
2014-09-15 13:01:50 +04:00
Michael Shigorin
abad845978 regular.mk: added google fonts to regular-mate
This aims to work around URW fonts deficiencies combined
with the relatively high position of their standard ones
in default /etc/fonts/conf.avail/60-alt-post-user.conf;
see also #30293, #30294.
2014-09-15 13:01:45 +04:00
Michael Shigorin
bf3365a376 regular.mk: oops, sysv-tde needs better fonts too
This has missed 20140912 starterkits unfortunately,
nightly builds excluding installers didn't catch it
and beta testing hasn't uncovered this either.
2014-09-15 13:00:39 +04:00
Michael Shigorin
a51b7096fd regular.mk: make jeos isohybrid at least
It's not EFI-bootable due to the extra size penalty
with current build/boot technology, but it's also
not ISO-hybrid as most images are made hybrid by
making them EFI-capable as well since the processes
are related.

Thanks dango at the forum for asking:
http://forum.altlinux.org/index.php/topic,33094.msg236808.html#msg236808
2014-09-15 12:59:56 +04:00
Michael Shigorin
efa6188629 regular.mk: disabled alteratord for server-hyperv
Makes no sense without ahttpd anyways;
thanks lewellyn@freenode again.

Disable bridge service as well
(gotta figure out what pulls it in).
2014-09-15 12:59:00 +04:00
Michael Shigorin
c94376357e gear-store-tags 2014-09-01 20:11:22 +04:00
Michael Shigorin
e128a91075 1.1.45-alt1
- starterkits alpha
2014-09-01 20:10:51 +04:00
Michael Shigorin
195f20921f rescue+extra: added archivemount
Borders with archive+extra but that one contains standalone tools
and this is a FUSE-based one -- with more of those included in this
particular pkglist already; if we decide that it's a worthy addition
to any image requesting a bunch of archiving tools then it might move.
2014-08-31 16:23:37 +04:00
Michael Shigorin
e162e85305 desktop+wmaker+extra: note wmvolman
It's useless as of right now:
- menu file and udisks2 dependency are missing
- udisks2 itself lacks an initscript

Let's note these deficiencies at least...
2014-08-31 00:02:27 +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
851b441378 profile.mk: defer RC expansion
Just spotted that .disk/profile.tgz would hold
distcfg.mk with pre-expanded $(HOME) from build
host which is both info leak (user account that
was used to build the particular image) and just
wrong given that the in-image profile archive was
conceived as a means to pass that part of build
environment over instead of tying it to vendor.

Morale: premature optimization is premature.
2014-08-27 22:30:59 +04:00
Michael Shigorin
d804203bc7 rootfs: README update
It should state clearly both the positive and negative examples
of rootfs concept use (its name is not consiceenough unfortunately,
and I haven't come up with a better one yet).
2014-08-27 22:30:14 +04:00
Michael Shigorin
ca34287e85 server.mk: amend net-eth usage either
+net-eth covers both stage2 and base installation parts
while use/stage2/net-eth would result in an inobvious
catch when udev-rule-generator-net would hit install2
but not the installed system, and interface bindings
would be carried over from installer to the installation
but would *not* be updated in case of changed network
card(s) configuration.
2014-08-26 23:12:02 +04:00
Michael Shigorin
559714a271 desktop.mk: refactor net-eth usage with +net-eth
It was spilled over an intermediate target and a mixin
for what looks like no good reason; let's factor these
in by means of +net-eth as *both* are really needed
for an installer anyways, and if/when we do installers
with those new and crippled ethernet interface names
this addition can be dropped to be used where required.
2014-08-26 22:38:45 +04:00
Michael Shigorin
7c9794a827 regular.mk: +net-eth for consistency
The bare intermediate target did use/stage2/net-eth but it
was found out by sem@ that an installed server would lack
udev-rule-generator-net package so its ethernet interface
naming would be inherited from install2 stage only; fix it
by adding use/net-eth and reduce the churn with +net-eth.
2014-08-26 22:36:21 +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
2a0482ceee regular.mk: use/net/nm/mmgui in a few images
Namely cinnamon, tde and kde4 flavours for the starters.
2014-08-20 17:30:15 +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
Michael Shigorin
3b35a8f4b3 exterminate fonts-ttf-dejavu all over the place
It looks *ugly* on-screen, at least within regular builds,
even if the screen is 166dpi.

Based on a quick experiment this morning I'd suggest using
fonts-otf-adobe-source-{code,sans}-pro instead -- and it's
available as use/fonts/otf/adobe now, incidentally.

The documentation is still built with it though as a2x/fop look
unhappy otherwise (as in replacing Cyrillic glyphs with "#"s).
2014-08-19 20:42:45 +04:00
Michael Shigorin
362fd3f048 fonts: add a few font collection targets
Font packages are sprinkled all over the metaprofiles,
let's try and help make their use more systematic.

This is a sort of a feature abuse as it was conceived
for fontconfig setup originally but spawning features
with confusing names looks grim; so let all things fonts
live within a feature named "fonts" for the time being.
2014-08-19 20:42:21 +04:00
Michael Shigorin
f16bd1e1ca gear-store-tags 2014-08-18 23:52:45 +04:00
Michael Shigorin
0e2faed186 1.1.44-alt1
- connman fixup
2014-08-18 23:51:34 +04:00
Michael Shigorin
29818ff05a regular.mk: added mnt to regular-icewm
Thanks mithraen@ for creating a universal frontend script
for udisksctl/pmount/hmount user mount tools; let's try it
within the minimalistic GUI image for the starters.
2014-08-18 23:51:34 +04:00
Michael Shigorin
36f51401d7 desktop+tde: drop obsolete cruft
These packages have been sitting there commented out
long enough to consider them for cleanup.
2014-08-18 22:41:01 +04:00
Michael Shigorin
5b0697393d stage1: READMEdability fix
Kernel modules come as both *.ko and kernel-modules-*.rpm
and it wasn't clear enough whether to mention "ahci" or "v4l".
2014-08-18 22:30:53 +04:00
Michael Shigorin
3171d693a3 main, metadata: README update
There's not much sense in overduplication of documentation
(tends to get stale faster then), still it's not good to
just refer to the code as the PDF/HTML book is less useful
then; maybe drifting towards "recommended" bits with more
"advanced" things being impleentation-defined is better.
2014-08-12 14:34:14 +04:00
Michael Shigorin
1eda19cff8 doc: better clean target
A bunch of intermediate files would be sitting around otherwise.
2014-08-12 13:15:08 +04:00
Michael Shigorin
24cee06517 net: enable connman service either
Stupid systemd will shadow connmand initscript with
connman.service but will not enable connman.service
when told to enable connmand initscript.  Sigh.
2014-08-12 12:18:55 +04:00
Michael Shigorin
38b153e20c rescue+extra: added lsmount
An udisks2-based removable device listing utility
courtesy of Speccyfighter and mithraen@:

http://lists.altlinux.org/pipermail/community/2014-August/682294.html
http://lists.altlinux.org/pipermail/community/2014-August/682326.html
http://lists.altlinux.org/pipermail/community/2014-August/682342.html
2014-08-11 14:15:44 +04:00
Michael Shigorin
428dafc2ab gear-store-tags 2014-08-04 20:58:35 +04:00
Michael Shigorin
c5f0493b33 1.1.43-alt1
- fixed package build
2014-08-04 20:57:21 +04:00
Michael Shigorin
18367944f0 rescue+extra: added screen, tmux
Wonder how these have been missing so far.
Thanks george@ for categorization. :)
2014-07-30 17:04:56 +04:00
Michael Shigorin
a44e3d5050 rescue+extra: added lsblk
Thanks mithraen@ for the hint:
http://lists.altlinux.org/pipermail/community/2014-July/682262.html
2014-07-30 13:21:06 +04:00
Michael Shigorin
a891a8e7e2 spec: tweaked BR for doc subpackage
fop doesn't pull any java virtual machine in anymore:
http://lists.altlinux.org/pipermail/sisyphus/2014-July/362665.html
2014-07-29 20:38:45 +04:00
Michael Shigorin
6077989527 gear-store-tags 2014-07-28 23:53:45 +04:00
Michael Shigorin
eace7a459f 1.1.42-alt1
- current bits
2014-07-28 23:52:27 +04:00
Michael Shigorin
41d537fb60 init: added tty12 log setup for systemd case
That's a part of ALT Linux conveniences: system log
messages at tty12 (helps immensely in case of disk crash
or cable problems as running anything, including utilities
to view logs, becomes painful to impossible in such cases).

systemd lacks this kind of setup out-of-box for sure
so zerg@ hacked a substitute together; just pull that in.
2014-07-28 20:11:24 +04:00