Commit Graph

1174 Commits

Author SHA1 Message Date
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
Michael Shigorin
0bafa6a69c x11: pull xorg-drv-ati in explicitly
Looks like today's xorg won't autoload radeon_drv but
insists on ati_drv falling back to fbdev if it's not there;
FlightGear runs definitely slow on C-60 APU with that.

I didn't specify ati since it pulls r128 and mach64 modules in
which are rather useless in this context (accelerated 3D graphics).
2014-03-24 21:54:45 +04:00
Michael Shigorin
d868071002 desktop+gnustep: minor tweaks during ongoing testing
Burn.app won't list a USB DVDRW drive with CD-RW inside
(NOT_FOUND), and its README states explicitly that wodim
is not supported yet.

Mixer.app would start with three knobs none of which would
actually change any mixer channel.
2014-03-20 21:36:31 +04:00
Gleb Fotengauer-Malinovskiy
e177121ddf tar2vm: use UUID, prepare for virtio as well
Forward-port of b84182c5cb684afbd30ed1f9e5b6f89f55b4b53f
commit extended to handle /boot as well.
2014-03-20 19:46:53 +04:00
Michael Shigorin
b0df203272 live.mk: redone live-flightgear
This time it autostarts using livecd-fgfs and primus
if possible; firefox and GUI mixer are the notable loss
but the clarity of "boot into FlightGear" should sort of
compensate for that.

Ah, and Tu-154 by default.
2014-03-20 01:43:54 +04:00
Michael Shigorin
cdaaee4e97 efi: +efi is now signed
That reflects the packaging and distribution practice
having formed during last year or so...
2014-03-20 01:07:19 +04:00
Michael Shigorin
fd8f375573 regular.mk: use imagewriter
Looks like Qt4-based imagewriter fits these images better
than Qt5-based rosa-imagewriter; so be it.
2014-03-19 19:51:32 +04:00
Michael Shigorin
d18dfcd3dc desktop+gnustep: a few more lazy packages dropped
Some of the wares wouldn't actually work on closer examination,
better leave these out for now.
2014-03-19 19:48:51 +04:00
Michael Shigorin
68bb8eb69b desktop+gnustep+etoile: some packages won't work yet
Some apps won't start and some don't have any visible effect.
Let's postpone these.
2014-03-19 18:46:47 +04:00
Michael Shigorin
c647258aab kde4 pkglists: replaced NM applet
plasma-applet-networkmanager is suddenly no more in Sisyphus,
had to replace with kde4-plasma-nm and force gtk applet away.
2014-03-19 12:11:04 +04:00
Michael Shigorin
962e021cca desktop+gnustep: list cleanup
Some of the packages have been identified as abandoned
and were purged; some of those with problems have been
reportedly fixed since.

See also:
http://altlinux.org/?title=Talk:GNUstep/Applications&diff=28911&oldid=28730
2014-03-19 01:44:52 +04:00
Michael Shigorin
da8b4765b7 regular.mk: cinnamon to use un-def
Current Sisyphus' xorg-drv-intel works somewhat better
with recent kernel drivers on my HD4000 GPU, and icewm
is not compositing at all; providing another test/backup
image fitted with newer kernel should do no harm.
2014-03-19 01:15:12 +04:00
Michael Shigorin
2155b2602a desktop+gnustep+etoile: a few more Etoile packages
Thanks real@ and kostyalamer for packaging these
along with new and shiny menufiles; a new pkglist
seems reasonable by now.
2014-03-19 01:14:26 +04:00
Michael Shigorin
3eab800508 regular.mk: added rosa-imagewriter to kde4 flavour
This package has been built and recommended by cas@;
it requires Qt5 which hasn't been needed for anything else
included in regular builds so far so let's extend kde4 one
to begin with.
2014-03-18 23:46:56 +04:00
Michael Shigorin
b56387978b regular.mk: add regular-server-un-def
For lewellyn@freenode and his Hyper-V Generation 2 VM,
regular-rescue happens to boot there.
2014-03-18 21:12:21 +04:00
Michael Shigorin
1aad0bc5f9 regular.mk: use plain autologin for wmaker
lightdm isn't going to turn off the system properly
with no systemd-logind around ("for no good reason",
that is); good ol' wdm for installed system and the
similarly ol' autologin just work though.

nodm is not gonna cut it since user PATH is weird
within the session breaking livecd-install by putting
/usr/sbin before /usr/bin while it shouldn't be there
in the first place.
2014-03-18 20:51:47 +04:00
Michael Shigorin
fe56fda2f3 x11-autologin: added a few notes
Looks like nodm doesn't reset the PATH set within
/etc/rc.d/init.d/functions which results in sbin
path components hitting user's PATH; livecd-install
which uses consolehelper was what broke first for me.

And this link should illustrate some of the problems
tackled by this kind of scripts...
2014-03-18 20:43:15 +04:00
Michael Shigorin
922a2759b0 server: set default syslinux timeout to 60 sec
Servers can POST much longer so having to play hide and seek
with a boot menu isn't going to be exactly entertaining;
let's bump the delay to something comparable at least.

Thanks hiddenman@ for mentioning the obvious-but-unnoticed.
2014-03-18 18:46:21 +04:00
Michael Shigorin
2d2d6ac649 regular.mk: luks to the rescue
Don't remember why this hasn't been there already;
looks like a worthwile addition though.
2014-03-18 17:51:27 +04:00
Michael Shigorin
187d3dedf2 regular.mk: explicitly add NM to a few images
As it happens regular-rc testing has shown that cinnamon,
gnome3 and kde4 flavours included NM via their pkglists
and dependencies (which used to result in live feature
enabling NetworkManager service wholesale when found);
now when handling default services has become more strict
it became apparent that these images have got their LiveCD
mode running without network by default (installation does
set that up though).

It looks like an easy way to just stick +nm into .regular-desktop
dependencies but then razorqt, sugar, xmonad would get NM which
is not what they're gonna handle; e17/e18 too.
2014-03-18 13:57:40 +04:00
Michael Shigorin
719144f6c3 gear-store-tags 2014-03-17 21:25:11 +04:00
Michael Shigorin
784e7444d8 1.1.27-alt1
- don't insist on k-m-r8168
- codebase deduplication
2014-03-17 21:23:23 +04:00
Michael Shigorin
71b5d53919 QUICKSTART: mention ~/tmp
This has to be present with default RPM macros, otherwise:

  rpmdb: /home/altlinux/tmp: No such file or directory
  rpmdb: unable to create temporary backing file

See also http://bugzilla.altlinux.org/26514
2014-03-17 21:23:21 +04:00
Michael Shigorin
53f05f46a8 live: put rpcbind to local-only mode by default
We don't really want to disable NFS portmapper completely
but having some extra root code listening to the world is
really unneccessary unless explicitly required.

Applying "control rpcbind local", thanks ldv@ for advice.
2014-03-17 21:22:45 +04:00
Michael Shigorin
5d829265db live, net: shift and rework network and resolver setup
50-setup-network was a hasty hack (surprise!) that used to do
what net and net-eth features have been created to do since;
just drop the duplicated crufty code.

Unconditional resolver setup isn't done now: those with static
setup are better off doing it explicitly, and those with DHCP
should be fine already.

NB: /etc/hosts *is* fine within setup package *but* hasher will
    overwrite it with a copy of host's one; let's reset contents
    to initial at least until hasher gets fixed and the fix is
    rather deployed in the wild.
2014-03-17 21:22:29 +04:00
Michael Shigorin
75bf4afcaa live: use/services instead of homemade script hook
03-services was a hasty hack that has been long done properly
elsewhere, namely in a specialized feature; finally got around
to deduplicate it out.
2014-03-17 21:22:29 +04:00
Michael Shigorin
7fafe134c6 net-eth: drop duplicate config line
There was an extra DISABLED=no line written to interface configurarion
that's been superceded by the subsequently added parametrized one;
just drop it.

Thanks glebfm@ for spotting the garbage.
2014-03-17 21:22:29 +04:00
Michael Shigorin
5de5da1d55 regular.mk: rescue should use branding
Well actually it shouldn't -- except for rEFInd the boot manager:
branding graphics within the build environment are used to add
a single background image to EFI/refind/icons/ thus the change.

Wonder how this got lost though as this screenshot:
http://en.altlinux.org/File:Altlinux-rescue-uefi-memtest86.jpg
clearly illustrates it was working back in December indeed!
2014-03-17 21:22:29 +04:00
Michael Shigorin
49b6291a40 kernel, stage1: don't provide r8168.ko by default
It conflicts with r8169.ko inobviously.

The whole mess looks like this:
- r8169.ko doesn't work for all of Realtek 8111/8168/8169 mutations
- r8168.ko works with some of the chips r8169.ko doesn't
- r8168.ko also works with many chips r8169.ko works with
- r8169.ko is provided by kernel-image package (thus default)
- r8168.ko is provided by kernel-modules-r8168 package (optional)
- kernel-modules-r8168 package requires r8168-blacklist package
- r8168-blacklist package is a one-liner that blacklists r8169.ko
- STAGE1_KMODULES wouldn't include r8168 (std-def) or rtl8168 (led-ws)
- sub.in/stage1/modules would mention r8168.ko (m-p-d: r8169.ko)

So a LiveCD built with use/kernel/net might work with RTL8111/8110
just fine when booted live but fail to automatically load the module
when installed onto hard drive; manual modprobe r8169 would work though.
NB: some of the chips (those available to me) would work just fine
both ways -- this has contributed to fixing this *that* late.

Bottom line:

  do not install backup/kludge drivers overriding main ones by default!

Thanks sem@ for providing the crucial hint.
2014-03-17 21:22:29 +04:00
Gleb Fotengauer-Malinovskiy
febe4fc81b repo: armh doesn't have noarch
This is about (a)synchronous package builder in fact.
2014-03-17 21:22:28 +04:00
Michael Shigorin
e07bfea21c gear-store-tags 2014-03-10 22:53:25 +04:00
Michael Shigorin
d53a1d4192 1.1.26-alt1
- docs week
- deflogin: empty ROOTPW explicitly ignored (potential security fix)
2014-03-10 22:47:55 +04:00
Michael Shigorin
a165928959 fdisk is rather "base" than "extra" tool
That's how it evaded the rescue part of regular-sysv-tde.
2014-03-10 22:40:19 +04:00
Michael Shigorin
afa1e2db50 regular.mk: tweaked .regular-sysv-gtk
Looking as how every .regular-sysv-gtk descendant ended up using
use/syslinux/ui/gfxboot by now it seems better to just stick it there.
2014-03-10 22:29:37 +04:00
Michael Shigorin
f2892ad3e4 deflogin: GLOBAL_ROOTPW is always set
use/deflogin will result in ROOTPW being exported no matter
is it set or not; xport() can't check before exporting as it
relies on lazy evaluation when the actual ROOTPW value can be
set or modified after exporting GLOBAL_ROOTPW for mkimage.

So let's not even pretent we can differ unset ROOTPW from
empty ROOTPW: both result in empty GLOBAL_ROOTPW as of today.

Fixing this would require moving the exports into a separate
makefile being included after all the configuration and checking
each variable for being defined before exporting the corresponding
GLOBAL_ prefixed one.

Yes this might be a security fix in some cases.
2014-03-10 22:29:37 +04:00
Michael Shigorin
e00d46cf97 regular.mk: added regular-e18-sysv.iso
It's preliminary but rather working by now;
one of the main woes is #29497 so far.

xterm has been overduplicated,
moved to pkglists for clarity.
2014-03-10 22:29:37 +04:00
Michael Shigorin
ecc5039c29 regular.mk: once-only slideshow for sysv-tde
TDE images are pretty modest regarding resource consumption
thus suitable for older hardware; a slower flash drive can
stall indefinitely showing slideshow and not going any further
with actual package installation so let's put a cap on that.
2014-03-10 22:29:36 +04:00
Michael Shigorin
c104131057 branding: added slideshow knobs
Added use/branding/slideshow/once as one of the uses
albeit the interface is universal; see this page for
more info: http://altlinux.org/branding/slideshow [ru]
2014-03-10 22:29:35 +04:00
Michael Shigorin
039af304d0 net: fix a thinko (it's connmand)
The service and initscript have "connmand" name
while the package is called "connman" indeed.

Shame on me; this became apparent
while building regular-e18-sysv.
2014-03-10 22:28:27 +04:00
Michael Shigorin
93614040c7 regular.mk: use openntpd instead of ntpd
Speccyfighter asked for NTP support within sysv-tde flavour;
meant openntpd apparently, fixing up.
2014-03-10 22:28:27 +04:00
Michael Shigorin
0ae7f37900 desktop+gnustep: initial Etoile project packages
gnustep-AddressManager has been replaced
with gnustep-Etoile-AddressManager, ditto
gnustep-DictionaryReader; see also [ru]:

http://altlinux.org/?title=GNUstep%2FApplications&action=historysubmit&diff=28795&oldid=28694
2014-03-10 22:28:27 +04:00
Michael Shigorin
5360992190 deflogin: minor tweaks
Defining a one-time variable is useless in this case,
and README should state the undefined ROOTPW status
explicitly (since it's now as advertized, heh).
2014-03-10 22:28:27 +04:00
Michael Shigorin
0fcb491500 mkimage-profiles.asciidoc: tac the goals
The goals listed are pretty important to have them ordered
by priority; collaboration is definitely more important
than dynamic range of release managers' experience.
2014-03-06 00:35:10 +04:00
Michael Shigorin
2aece7c6ec p/l/t/README: updates and tweaks
Some more editing has been due over pkg.in/lists/tagged/README
to make it more comprehensible and up-to-date; the problem with
groups isn't actually that bad as alterator-pkg's groups concept
is currently aligned with the requisite functionality provided by
pkg.in/lists/* directly; the tagged pkglists come into play when
we want to add "something like that" and don't really care about
the fine details of a secondary thing trusting that it's actually
comprised and working as advertized through its name tags.

Compare to reusing the pre-existing image configuration or features
versus reimplementing things in a rigid manner -- it's a flexibility
vs predictability question, and both scenarios are supported within
m-p explicitly.
2014-03-05 21:36:30 +04:00
Michael Shigorin
3f547e2504 documentation: use paths relative to toplevel dir
This change is done to reduce ambiguity in some cases;
the previous intention has been to ease navigation when
staying in a particular directory, now it's been changed
in favour of convenient toplevel `git grep' in fact.

Both variants have their pros and cons, I just find myself
leaning to this one by now hence the commit.  Feel free to
provide constructive criticism :)

Some path-related bitrot has also been fixed while at that.
2014-03-05 21:36:30 +04:00
Michael Shigorin
4fff399b35 README: minor tweaks
A few readability fixes and lib/*.mk demotion since conf.d/*.mk
is now an established place for RM-written image configuration.
2014-03-05 17:55:25 +04:00
Michael Shigorin
f30fb765b6 mkimage-profiles.asciidoc: change example target
icewm.iso is an installer needing further hassle to try;
rescue.iso is immediately useful OTOH.
2014-03-05 17:55:25 +04:00
Michael Shigorin
364488e588 mkimage-profiles.asciidoc: fix formatting
"Goals" paragraph ended up with all of list items on a single line;
a colon has been missing in another one.
2014-03-05 17:55:25 +04:00
Michael Shigorin
4ea06fed33 sub.in/README: bitrot fixup
sub/% has moved from lib/distro.mk to lib/sugar.mk
since rootfs introduction with commit g67adab4.
2014-03-05 17:55:21 +04:00