Compare commits

...

269 Commits

Author SHA1 Message Date
555e96c04b server-v: add kubelet and kube-proxy to autostart 2020-09-17 19:39:08 +03:00
f707fca43e server-v: add etcd to extra.pkgs 2020-09-17 19:33:38 +03:00
26bdf65896 server-v: add docker-compose to extra.pkgs 2020-09-17 19:32:40 +03:00
a82ca61ea1 server-v: simplify kvm package list 2020-09-17 19:31:29 +03:00
aa3bb15934 server-v: cleanup lxc package list 2020-09-17 19:28:11 +03:00
1e97e69e55 server-v: cleanup podman package list 2020-09-17 19:26:07 +03:00
5ae43b424a server-v: update kubernetes package list 2020-09-17 19:22:38 +03:00
0591d6d549 server-v: update descriptions for opennebula 2020-09-17 19:17:56 +03:00
eb06ff5af4 server-v: add corosync and pacemaker to extra packages list 2020-09-17 19:06:27 +03:00
5d91666ac0 server-v: delete docker-compose from docker package list 2020-09-17 19:06:06 +03:00
Anton Midyukov
606b6dce1e efi: Fix space in THE_PACKAGES on aarch64
A space in the THE_PACKAGES list makes it impossible to install
the system.
2020-09-14 20:08:20 +03:00
Anton V. Boyarshinov
373652275b features.in/metadata/lib/50-metadata.mk: space-prefixed strings handling fixed 2020-09-14 19:41:55 +03:00
Anton Midyukov
8d39fa26f1 gear-store-tags 2020-09-01 08:56:52 +07:00
Anton Midyukov
fdd2593977 1.4.2-alt1
- x11: Added missing xorg-dri-armsoc for armh
- oem: Added rootfs-installer-features
- server-v: Added more commits by andy@, shaba@
- Set default timeout 60 seconds for syslinux and grub
- Set default item to install2 for syslinux and grub
- main.mk: Added vm/, ve/ targets into everything target
- Extended e2k support in distributions (thanks mike@)
- education: fix build and install
2020-09-01 08:56:06 +07:00
Anton Midyukov
ed00ba40e6 education/base: Drop installer-distro-junior-stage3
Fix conflict installer-distro-junior-stage3 with
installer-distro-education-stage3.
See-also commit:
29c79e7fe6
2020-09-01 08:54:06 +07:00
Michael Shigorin
1aec6cee40 alt-server.mk: put the horse before the tug
There was something wrong about that order of additives
and the base configuration; let's make it straight,
putting the foundation first and architecture-dependent
additions on top of it.

Note that double-colon syntax is specifically allowing
for multiple rules adding up their recipes (and prereqs),
but all of those rules must be specified as double-colon
(this was violated in the previous state of alt-server.mk).

See-also: http://www.gnu.org/software/make/manual/make.html#Double_002dColon
Fixes: 33436b6b1b
Fixes: c06f87539d
2020-08-31 19:30:25 +03:00
Michael Shigorin
181b7e841d e2k: avoid online repos during install2
There aren't any supposed there so far, anyways.
2020-08-31 19:19:12 +03:00
Michael Shigorin
bf52f4d15a e2k: add pwmd
This package contains both the fan control service
(disabled by default so sort of safe) and the manual
fanspeed.sh (that we rather need to provide out-of-box).
2020-08-31 14:34:47 +03:00
Michael Shigorin
92ba48e7c1 branding: drop notes on e2k again
Still have to refer to MCST instead at the moment...

Fixes: f1c5f98795a698fdd665c7286f15d6e023195200
2020-08-31 14:34:42 +03:00
Michael Shigorin
50950f8ee7 education/*: skip i-f-repo-add on e2k
Not much use, and spoils postinstall.d messages with
FAILED (to mount the already-mounted flash drive).

See-also: 96f1d069c
2020-08-31 14:34:39 +03:00
Michael Shigorin
5d72c62a39 x11: add nouveau support for e2k
Tested to work in practice.

See-also: http://altlinux.org/e2k-gpu
2020-08-31 14:34:34 +03:00
Michael Shigorin
fd781c0113 power: ensure acpid is running on e2k
The problem at hand is that sem@ explicitly disables acpid
within installer-distro-simply-linux; early shots at
ALT Education 9.0 for Elbrus suffered from this as e2k's
power button handling differs slightly regarding events
generated so we *do* need acpid{,-events-e2k} to poweroff
on power button press.

Hope this doesn't introduce regressions or woes for anyone.
2020-08-31 14:34:28 +03:00
Michael Shigorin
dff559dbef slinux: use/office/LibreOffice/full
...instead of custom slinux/misc-base hack incompatible
with the current p9_e2k.
2020-08-31 14:34:23 +03:00
Michael Shigorin
4d3f64818d basealt.mk: generalize e2k machine support
Finalize the move to shared multiseat support on e2k
following education.mk; should have been done properly
in the first place but I couldn't manage that for 9.0,
let's at least fix this now.
2020-08-31 14:34:11 +03:00
Michael Shigorin
2ab3cffe6c education.mk: generalize distro/alt-education
This includes merge of RELENG-e2k-edu private branch current state
along with the move to shared multiseat support on e2k and assorted
updates following pkg.in/.
2020-08-31 14:34:08 +03:00
Michael Shigorin
c86091fa15 e2k: generalize e2k graphics support
...by providing common targets for 801-PC and 101-PC distro needs.
2020-08-31 14:34:04 +03:00
Michael Shigorin
cd454d48e1 pkg.in: generalize e2k graphics support
This should have been done when reworking Workstation,
but better that late than making a copy for Education.

NB: directory name has been chosen to both sort late
    (so that functionality related checkboxes come first
    and graphics setup related ones sit down there), and
    to relate to X11 as well.
2020-08-31 14:33:59 +03:00
Michael Shigorin
1956516c2c slinux/misc-base: drop hardwired LibreOffice-still
Obsoleted by proper handling within office feature.
2020-08-31 14:33:56 +03:00
Michael Shigorin
de42f5f4e9 office: "support" riscv64 here
There are literally no office packages on riscv64 so far,
let's ease the need to count that in within pkglists like
it was done in slinux/misc-base since this approach makes
for unreadable conditional chunks if we look at LO-still
being absent on e2k; a common place should be in place.
2020-08-31 14:33:53 +03:00
Michael Shigorin
9513e0aa53 office: more targets
Added use/office/LibreOffice/lang/extra target inspired
by pkg.in/lists/slinux/misc-base as well as targets for
two more LO subpackages; and use/office/LibreOffice/full
so that distros don't have to reiterate on all of those
particularities.
2020-08-31 14:33:51 +03:00
Michael Shigorin
f702524f3a education/*: add numbering to remaining groups
Some pkggroups were numbered (thus ordered) and some weren't;
let's make those uniform instead of depending on Latin alphabet:

kde5 -> 06_kde5
teacher -> 07_teacher
server-apps-edu -> 08_server-apps-edu
video-conferencing -> 09_video-conferencing
2020-08-31 14:33:42 +03:00
Michael Shigorin
00d60e9210 education/kdesc: partial support for kde on e2k
There's no full KDE Plasma 5 environment available on e2k yet
but many libraries, frameworks and apps are there already;
I chose to provide a distinkt pkggroup so that this subset
doesn't get confused with the whole KDE 5.
2020-08-31 14:33:38 +03:00
Michael Shigorin
75bfb550ae education/preschool: added childsplay-alphabet_sounds_ru 2020-08-31 14:33:35 +03:00
Michael Shigorin
4ed2f445e8 education/misc: more fonts
...thanks gimagereader for showing up the need in those
(its preferences include a table of language names
written in the corresponding languages).
2020-08-31 14:33:31 +03:00
Michael Shigorin
39f1b1ea32 education/base: added tesseract-langpack-en
...so that gimagereader can scan in Engrish too.
2020-08-31 14:33:25 +03:00
Michael Shigorin
77932abffb education/*: e2k fixes
Not every package is available on Elbrus, avoid the missing ones;
add mplayer along with vlc just in case as it's better optimized
for e2k already (including MCST patches and automatic use of more
than one CPU core).
2020-08-31 14:33:22 +03:00
Michael Shigorin
b60c5485d0 workstation/3rdparty: teamviewer-preinstall might be noarch...
...but teamviewer is not.
2020-08-31 14:33:11 +03:00
Anton Midyukov
49a82d70c2 mixin-alt-server.mk: Added centaurus-30-desktop profile for aarch64 2020-08-31 14:33:06 +03:00
Michael Shigorin
7c60d4d587 centaurus/mate: drop the unneeded kludge
DRI3 is fine on e2k now.
2020-08-31 14:32:59 +03:00
Michael Shigorin
bd04f9a8af centaurus/xorg: fix arch support
There's no std-def kernel on e2k and mipsel so far, and there are
different kernels for some aarch64 machines as well;  we'll have to
deal with this problem that's been solved in m-p-d the other way
around (@KFLAVOUR@ substitution in pkglists among the rest).

Also add graphics branding part: must be there regardless of platform,
otherwise an arbitrary one gets pulled in, this time it was
"xalt-kworkstation".  This is another case of the same problem,
m-p-d would solve it with @BRANDING@ substitution where m-p does
generation of variable contents but not file-based pkglists to
be put into the image for runtime selection during install process.

Restrict plymouth support to @X86 as well, just as bootsplash
branding component has already been.
2020-08-31 14:32:28 +03:00
Michael Shigorin
38f8d2acdd centaurus/base: skip i-f-repo-add on e2k
Not much use, and spoils postinstall.d messages with
FAILED (to mount the already-mounted flash drive).
2020-08-31 14:32:24 +03:00
Michael Shigorin
c013c47c7b centaurus/xorg: add xorg-drv-smi on e2k
Should help those interested in using servers as workstations
as well (SM718 would only do 800x600 with vesa driver).
2020-08-31 14:32:14 +03:00
Michael Shigorin
db77e5dcb4 centaurus/disk-server-light: adapt for e2k 2020-08-31 14:31:33 +03:00
Michael Shigorin
33436b6b1b alt-server.mk: generalize distro/alt-server
This commit includes summary of the work done within RELENG-alt-server
branch, and goes over the existing bits regarding architecture support.

It was somewhat hard to keep separate so I finally chose to lump these
parts together.
2020-08-31 14:31:02 +03:00
Michael Shigorin
cb222bb806 mixin-alt-server.mk: merged e2k bits
These have been brewing in RELENG-alt-server branch for a while;
with ALT Server 9.0 for Elbrus release as the immediate result.

NB: plymouth is still strangely broken there.
2020-08-31 14:25:13 +03:00
Michael Shigorin
d734fa12a9 workstation/base.pkgs: added terminfo-extra
...so those willing to use e.g. 256-colour terminal variants
can do so without extra access to the repository.

Suggested-by: Andrey Savchenko <bircoph@altlinux.org>
2020-08-31 14:25:12 +03:00
Michael Shigorin
e9c42d63a5 basealt.mk: added new parent groups on e2k
...or the friendly alterator-pkg bails out silently.
2020-08-31 14:25:11 +03:00
Michael Shigorin
1f681e5921 workstation: organize machine-specific groups
Four checkboxes with "Elbrus 801-PC" prefix look a bit too much,
let's put these under a parent one; the counter-argument is that
selecting that parent checkbox is going to provide message telling
that there are conflicts within -- the proper widget would be a
dropbox with the number of seats but we don't do that just yet
in alterator-pkg.

The autologin group goes there too; still a hack that should be
replaced by proper alterator-users multiseat support.
2020-08-31 14:25:09 +03:00
Michael Shigorin
4e5cb00c56 basealt.mk: add alterator-web pkggroup
...as suggested; enable if installed.
2020-08-31 14:25:02 +03:00
Michael Shigorin
ccdc82ee82 pkg.in: add workstation/alterator-web
This has been suggested by a customer.
2020-08-31 14:25:01 +03:00
Michael Shigorin
010fc44482 {workstation,centaurus}/emulators: add rtc on e2k
The MCST's binary translator allows running x86 code
on e2k architecture; see also http://altlinux.org/e2k-rtc
2020-08-31 14:24:59 +03:00
Michael Shigorin
b7ed438fab branding: avoid bootloader on non-grub arches
SYSLINUX happens where GRUB happens too, just in case.

The problem at hand is that some branding-*-bootloader tend to
*create* /etc/sysconfig/grub2 without bothering to check that it
existed, thus confusing the subsequent scripts (e.g. 65-serial.sh
tries to run update-grub that's just absent then).
2020-08-31 14:24:59 +03:00
Michael Shigorin
0225b2549f grub: ignore all targets if not available
Otherwise it might e.g. add branding-*-bootloader
for no good reason, poisoning $destdir with an
existing and non-empty /etc/sysconfig/grub2
regardless of the actual grub availability
on the platform.
2020-08-31 14:24:58 +03:00
Michael Shigorin
5285c0a832 basealt.mk: generalize distro/alt-workstation
The point is that it's common between the rest of the arches,
no need to keep making my old mistake of growing configuration
trees based on very different "roots" (.e2k-installer this time
which was good for early experiments but not for production).

Also get rid of long-unused distro/alt-workstation-?01 targets,
unified kernel made those obsolete.

And last but not least: *drop* that setup-libgl-dri3-disable,
makes Radeon RX lag (half-recent AMD GPUs seem to lack 2D part
rather altogether, it's emulated through 3D).
2020-08-31 14:24:56 +03:00
Michael Shigorin
8db77d6462 browsers: rewrote with per-arch browser lists
There are arches with many browsers available
and there are those with elinks; let's provide
relevant targets to use at the very least.
2020-08-31 14:24:53 +03:00
Michael Shigorin
c9c83be408 alt-server.mk: do not override targets on e2k
Looks like aarch64 addition was done in haste,
the targets were split by architecture families
before commit c06f875.
2020-08-31 14:24:52 +03:00
Michael Shigorin
1cf05b639c bootloader: just skip on e2k
There's no need for bootloader on Elbrus platform
since firmware boots Linux just fine; note that
the whole feature is betted omitted since its
script checks for the case when the feature
is requested but not configured properly.
2020-08-31 14:24:50 +03:00
Michael Shigorin
425a9ddb32 office lists: handle e2k properly
As the previous commit stated, there's no LibreOffice-still
built for e2k currently.
2020-08-31 14:24:50 +03:00
Michael Shigorin
7574335d81 office: initial arch handling
There's no LibreOffice-still on e2k (no 6.x for now,
just a single production 5.x build); and there's no
office (neither LO nor abiword/gnumeric) at all on
riscv64 as of today.  These nuances shouldn't bother
release managers each time but should lurk under
this feature's cover.
2020-08-31 14:24:50 +03:00
Michael Shigorin
85218f9ce8 tagged/archive+extra: avoid star on e2k
(ftbfs)
2020-08-31 14:24:49 +03:00
Michael Shigorin
fb0273d6cd vmguest: more dummies for non-kvm cases
There are a few more targets used for Workstation
and Simply images that are rather better plugged
here than patched there.
2020-08-31 14:24:47 +03:00
Michael Shigorin
293ec5dccc pack: ensure e2k support on e2k
The culprit is that e2k has exactly one kernel flavour
available at the moment, elbrus-def (there used to be
per-CPU flavours in p8 times -- elbrus-{4c,8c,1cp} --
but these aren't needed anymore), but there are no
std-def/un-def kernels or provides available.
There's more to it, but lacking a kernel is critical.

Maybe other arches might do similar things when needed,
or maybe this gets reverted in favour of a more generic
approach; but patching all starterkits or messing with
p9.mk per-arch (while leaving out regular builds or
any other image that might just build) looks worse.
2020-08-31 14:24:41 +03:00
Michael Shigorin
2918748cce tagged/desktop+lxqt+extra: no clementine for e2k
...at least so far.
2020-08-31 14:24:36 +03:00
Michael Shigorin
45e7fdd213 slinux/*: updated for e2k
A few remaining tidbits lingering in RELENG-e2k-workstation.
2020-08-31 14:24:33 +03:00
Michael Shigorin
83ee45e0ff education/*: updated for e2k
This commit is actually a rework of what's been done
in RELENG-e2k-workstation private branch (along with
a few more generic fixups).
2020-08-31 14:24:30 +03:00
Michael Shigorin
44f00ed0b4 workstation/e801-?seat*: 1/2/3/6-seat support
This started as a three-seater 801-PC support for
ALT Education 9.0 for Elbrus.
2020-08-31 14:24:24 +03:00
Michael Shigorin
48f212718e workstation/e[18]*: disable everything by default
...and leave the choice up to runtime scripts and the user.
2020-08-31 14:24:21 +03:00
Michael Shigorin
c4a135ca94 mixin-basealt.mk: add power to workstation too
This is required on e2k, please tell if it hurts.
2020-08-31 14:24:20 +03:00
Michael Shigorin
cfe494cbd0 mixin.mk: add power to regular desktop images
This is required on e2k (regardless of DE), please tell if it hurts.
2020-08-31 14:24:07 +03:00
Michael Shigorin
403625fef4 mixin-basealt.mk: avoid things broken/missing on e2k
Wonder if installer-feature-quota-stage2 was a problem
on other arches but having it in LIVE_PACKAGES fails
image build for me:

  livecd-installer-features: Conflicts: installer-common-stage2

and having it INSTALL2_PACKAGES results in another startup
problem (seems like quotas try to start a bit too early);
not that this one is a blocker but spoils the party nevertheless.

NB: relevant package versions are the same.

Also avoid workstation/extras pkglist: it's strongly hardwired,
seems like last-minute implementation :-/
2020-08-31 14:24:03 +03:00
Michael Shigorin
f31f305f8e {mixin-,}basealt.mk: move common bits into mixin
These have been added to the image description
that was x86-specific initially -- we're lucky
that ARM-related bits are quite minor here but
let's keep the mixin away for the sake of e2k
for now: it's built in a different enough way
at the moment.
2020-08-31 14:24:02 +03:00
Michael Shigorin
240c8fbf14 x11: add e2k-specific bits
xorg-drv-mga2 is MCST Graphics Array driver for 2D part
of videochip found in Elbrus-1C+ APU (also to be a part
of Elbrus-2C3).

xorg-drv-smi is another fork of xorg-drv-siliconmotion
that's absent in p9/sisyphus; *might* be of some interest
to mipsel folks (they've got yet another fork it seems).

Ah, and do not override targets on e2k.
2020-08-31 14:23:58 +03:00
Michael Shigorin
ef05303be2 power: don't mess up e2k's /etc/modules
button.ko isn't compiled within elbrus kernel (or used in any way).
2020-08-31 14:23:57 +03:00
Michael Shigorin
01bdf28b47 power: avoid button.ko on e2k
Done differently, no "button/power" event at the moment.
2020-08-31 14:23:52 +03:00
Michael Shigorin
a852b1d0b8 power: avoid acpid-events-power on e2k
(turns off upon boot)
2020-08-31 14:23:51 +03:00
Michael Shigorin
5fe4fa416f tagged/desktop+lx{de,qt}+extra: tag the missing bits
Some packages are still not available on some arches yet;
this time it's a e2k starterkits related fixup.
2020-08-31 14:23:48 +03:00
Michael Shigorin
25e82a2ca2 vmguest: cosmetic fix
(still preferring 80-char wide xterm for proofreading)
2020-08-31 14:23:44 +03:00
Michael Shigorin
3d883a5978 mixin.mk: specifically use/branding/notes
...so that these can be handled by the feature.
2020-08-31 14:23:36 +03:00
Michael Shigorin
efef25e395 branding, docs: drop notes on e2k
Have to refer to MCST instead at the moment.
2020-08-31 14:23:35 +03:00
Michael Shigorin
22912d889a e2k: stay with acpid
Make sure acpid will be running as acpid-events-e2k relies on it
(and power button handling relies on this one).

NB: need to do that before 10-services.
2020-08-31 14:23:32 +03:00
Michael Shigorin
525b5badd2 e2k: stay with UTC
There's just no need to keep Windows-style local clock in RTC
on Elbrus.
2020-08-31 14:23:28 +03:00
Michael Shigorin
c6af4a43a9 e2k: cover livecd with no-notes as well
ALT p9_e2k starterkits have turned this one up either...
2020-08-31 14:23:27 +03:00
Michael Shigorin
6354c1c28e e2k: generalize 50-e2k-no-notes
Belongs to live as well now since we've got starterkits;
hopefully PDK publication project is done soonish
so we can just be back to normal.
2020-08-31 14:23:24 +03:00
Michael Shigorin
f47e09cff1 e2k, e2k.mk: merge boot, fixup and x11 bits
This commit is packing a bunch of changes that went
into RELENG-e2k-workstation during its forked
development; it covers three distinct things:

- boot.conf preparation for firmware to load the image;
- fixup of packages common for e2k images;
- major cleanup of obsolete/unused cruft
  (unified kernel and reliable xorg autodetection
  allow us to move away from canned machine-specific
  configurations for the most part).
2020-08-31 14:23:22 +03:00
Anton Midyukov
daf939f71c alt-server.mk: Not setup plymoth for not X86 Arches
installer-feature-setup-plymouth needed make-initrd-plymouth.
make-initrd-plymouth missing for not X86 Arches in alt-server.
This resulted in a make-initrd error when installing on non-X86 Arches.
2020-08-30 21:30:05 +07:00
Anton Midyukov
a6b46b2125 x11: Added DISPLAY_MANAGER into package priorities 2020-08-27 23:42:07 +07:00
Anton Midyukov
ffac3c6f10 main.mk: Added vm/, ve/ targets into everything target
For check all targets.
2020-08-27 23:39:54 +07:00
Anton Midyukov
a2122b6943 vm.mk: vagrant available for i586, x86_64 only 2020-08-27 23:38:36 +07:00
Anton Midyukov
55f4227dc5 armh.mk: Drop broken targets 2020-08-27 15:06:49 +07:00
Anton Midyukov
2973952d00 p9.mk: Drop target vm/alt-p9-lxde-tegra (vm/regular-lxde-tegra not exist) 2020-08-27 15:06:49 +07:00
Anton Midyukov
91708f4bf3 regular-vm.mk: Fix availability vm profile for ARCHES 2020-08-27 15:06:49 +07:00
Anton Midyukov
fde9366ca0 basealt.mk: Fix availability vm profile for ARCHES 2020-08-27 15:06:49 +07:00
Anton Midyukov
d74e1c4a78 slinux.mk: Fix availability vm profile for ARCHES
Also drop use/build-vm, not needed.
2020-08-27 15:06:49 +07:00
Anton Midyukov
82aebfb968 education.mk: Fix availability vm profile for ARCHES, added installer-features 2020-08-27 15:06:49 +07:00
Anton Midyukov
1babd587ab grub: Added the ability to define the default menu item
Example:
@$(call set,GRUB_DEFAULT,uefi-firmware)
@$(call xport,GRUB_DEFAULT)

See features.in/grub/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
346e3c21a6 syslinux: Added the ability to define the default menu item
Example:
@$(call set,SYSLINUX_DEFAULT,harddisk)
@$(call xport,SYSLINUX_DEFAULT)

See features.in/syslinux/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
a6c3620672 syslinux: Set item install2 as default
Suggested-by: andy@
2020-08-27 15:03:51 +07:00
Anton Midyukov
c18380e24d slinux.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment.
2020-08-26 18:35:17 +07:00
Anton Midyukov
21582420aa education.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment.
2020-08-26 18:33:21 +07:00
Dmitriy Terekhin
2d45a8e8d2 basealt.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment
2020-08-26 18:31:26 +07:00
Anton Midyukov
c505b9c97e regular.mk: Fix build regular-server-hyperv
Typo again...
2020-08-26 17:03:32 +07:00
Anton Midyukov
52103e0658 grub, syslinux: Set default timeout to 60 seconds
60 seconds should be enough for any hardware.
It is important not to forget that the timeout for grub is measured
in seconds, and for syslinux in deciseconds.
2020-08-26 14:45:04 +07:00
Michael Shigorin
8e4870f06e slinux/misc-base: fwupd needed for *x86_64* only
Fixes: e2cb6a09d2
2020-08-26 08:29:19 +07:00
Anton Midyukov
a2c5a42ed2 workstation/3rdparty: Fix typo
A typo was made while reworking the patches. Forgive me cas@
2020-08-26 08:29:19 +07:00
Anton Midyukov
655db94e0d Revert "alt-server.mk, basealt.mk, centaurus/70-dev: Added support Baikal-M"
This parts reverts commit cff3291c2a.
Upstream mkimage has not yet take patches to support packaging
multiple kernels to ISO image. In order to avoid problems, have
to revert this commit.

See-also: 01a1581b71
2020-08-23 21:19:02 +07:00
441063f79b server-v: add control-sshd-permit-root-login for PVE 2020-08-23 21:00:27 +07:00
71c0870d24 server-v: delete legacy bridge-utils 2020-08-23 21:00:27 +07:00
369abb38dc server-v: add udev-rules-ioschedulers to base.pkgs 2020-08-23 21:00:27 +07:00
384957b138 server-v: move pve-storage-linstor to arch condition 2020-08-23 21:00:27 +07:00
fe9edddcc7 server-v: add Linstor storage support 2020-08-23 21:00:27 +07:00
497def4272 server-v: add Linstor storage group and lists 2020-08-23 21:00:27 +07:00
5c1b6c6cf4 server-v: add ocfs2-tools to extra pkgs 2020-08-23 21:00:27 +07:00
28968d7aad server-v: cleanup pve 2020-08-23 21:00:27 +07:00
40f2e6189a lists/storage: up glusterfs version 2020-08-23 21:00:27 +07:00
8629688af1 server-v: version up 2020-08-23 21:00:27 +07:00
59323c1c77 Revert "server: Add un-def as optional kernel for use/server/virt"
This reverts commit 1d5b7b1938.
2020-08-23 21:00:27 +07:00
Andrew A. Vasilyev
506d33bba1 Add 3 templates for OpenVZ 7 containers:
- sysvinit-etcnet: System V init with etcnet
  - systemd-etcnet: systemd with etcnet
  - systemd-networkd: systemd with networkd
2020-08-23 21:00:27 +07:00
Andrew A. Vasilyev
d93831ce20 enable PVE services 2020-08-23 21:00:27 +07:00
Anton Midyukov
6611ef1d85 uboot: Exclude X86 archs 2020-08-21 20:48:49 +07:00
Anton Midyukov
73ec7f0e9a oem: Added rootfs-installer-features
Run installer features during install via rootfs.
2020-08-21 20:23:48 +07:00
Anton Midyukov
3fe1f5383c net: Use package priorities
This is needed to resolve a bad choice package for Dependency
on network-config-subsystem.
2020-08-21 20:13:14 +07:00
Anton Midyukov
e84a2fbb2d p9.mk, regular-vm.mk: Rename targets *-rpi4 to *-rpi
these targets support all Raspberry Pi.
2020-08-21 19:39:57 +07:00
Anton Midyukov
24e429049c x11: Added use/x11/armsoc to /use/x11/xorg always
In the future, you need to decide for which architectures use/x11/nouveau,
use/x11/radeon, use/x11/amdgpu are available. Then this condition will not be needed.
2020-08-20 18:17:00 +07:00
Anton Midyukov
8105b937b2 gear-store-tags 2020-08-17 23:57:46 +07:00
Anton Midyukov
184850dbf7 1.4.1-alt1
- Revert commit for support multiple kernel in iso image.
2020-08-17 23:53:06 +07:00
Anton Midyukov
01a1581b71 Revert "stage1, stage2: allow multiple kernels"
This reverts commit 02a5231ba5.
Upstream mkimage has not yet take patches to support packaging
multiple kernels to ISO image. In order to avoid problems, have
to revert this commit.
2020-08-17 23:43:40 +07:00
Anton Midyukov
52903dc80a gear-store-tags 2020-08-17 21:03:57 +07:00
Anton Midyukov
9448dacb2a 1.4.0-alt1
- New official maintainer antohami@ (blessed by mike@)
- Added grub config file generator for iso images
  (thanks shaba@)
- Expanded support for USB controllers and SD card readers
- Added support for booting on single-board Raspberry Pi 3 and 4
  in EFI mode (u-boot or edk2)
- Added grub-efi bootloader support for rootfs images
- Merged with branches for Workstation, Education,
  Simply Linux, Server, Server-V distributions
- Added a starterkit build profile with a real-time kernel (live)
- Added riscv64 platform support (thanks arei@)
- rootfs: support headless boot via alterator-setup-vnc (thanks arei@)
2020-08-17 21:01:15 +07:00
Anton Midyukov
9fb7eafc62 regular-vm.mk: Set VM_SIZE=10G for builder 2020-08-15 08:42:28 +07:00
Anton Midyukov
54da0a1697 regular-vm.mk: use/ttyAMA0 for jeos-rpi4 2020-08-15 08:42:28 +07:00
Anton Midyukov
aa72331868 arm-rpi4: Fix name u-boot for armh 2020-08-15 08:42:28 +07:00
Anton Midyukov
2dcfc91deb dev: Fix build use/dev/builder/full on aarch64 2020-08-06 00:11:53 +07:00
Anton Midyukov
d6fd23bb70 live: live-install not adapted for non-X86 2020-08-05 23:20:57 +07:00
Anton Midyukov
1e8376852b regular-vm.mk: rpi4 target allowed for armh 2020-08-05 19:21:37 +07:00
Anton Midyukov
259bca3acb mixin.mk: Added apt-repo, eepm into regular-builder 2020-08-05 19:17:32 +07:00
Anton Midyukov
d3a2364056 p9.mk: rpi4 targets allowed for armh 2020-08-05 19:16:10 +07:00
Anton Midyukov
a2e06a2086 regular-vm.mk: Update rpi4 targets 2020-08-05 17:05:23 +07:00
Anton Midyukov
fbf6286389 arm-rpi4: Added new subtargets kernel and full 2020-08-05 16:59:54 +07:00
Anton Midyukov
37a1ae781a p9.mk: Added starterkit builder for Raspberry Pi 4 2020-08-05 15:38:16 +07:00
Anton Midyukov
9827b93ed9 regular-vm.mk: Added regular-builder for Raspberry Pi 4 2020-08-05 15:38:16 +07:00
Anton Midyukov
7201c2cb0d slinux.mk: Add Raspberry Pi 4 support 2020-08-04 00:47:55 +07:00
Anton Midyukov
bbd92e146b basealt.mk: Add support Raspberry Pi 4 2020-08-04 00:47:55 +07:00
Anton Midyukov
728e17a7c7 education.mk: Add Raspberry Pi 4 support 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
f840c8b1da arm-rpi4: added kernel modules packages 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
1e0b4bf5c1 arm-rpi4: enabled bluetoothd
This is need to working bluetooth with GUI
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
404bd666ff arm-rpi4: disabled systemd-networkd-wait-online
If there is no Ethernet connection, RPi4 loading stops for 2 minutes.
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
81ef3a86fc arm-rpi4: Set celluloid as default video player 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
6d015586b9 arm-rpi4: Set firefox ESR as default browser 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
aa0e39912a arm-rpi4: 98-bootstrap-boot-by-firmware: dtoverlay=vc4-kms-v3d off
On Raspberry Pi 3 B Plus with kernel 5.6.16-rpi-un-alt1 occurs
framebuffer error with dtoverlay=vc4-kms-v3d (antohami@)
2020-08-03 22:37:28 +07:00
Anton V. Boyarshinov
cc109f3b4a conf.d/mixin-alt-server.mk: version in meta-info fixed 2020-08-02 02:20:31 +07:00
Anton V. Boyarshinov
1de287d345 alt-server: jitsi-meet group added 2020-08-02 02:20:31 +07:00
Anton V. Boyarshinov
b973d43bba gupupdate added 2020-08-02 02:20:30 +07:00
Dmitriy Terekhin
6d6cd631b6 arm-rpi4: pulseaudio customization
Changed audio scheduling from timer-based to
interrupt-driven to prevent unwanted crackle.
2020-08-02 00:40:25 +07:00
Alexey Sheplyakov
f30d929a45 install2, rootfs: Create groups necessary for joining a (AD) domain 2020-08-02 00:35:19 +07:00
Anton Midyukov
89fd601968 armh-mcom02: Add extlinux-fdtdir-cleanup.filetrigger
This trigger file will delete all lines containing fdtdir after
installing a new kernel version.
2020-08-01 23:49:36 +07:00
Anton Midyukov
f59fbab252 basealt.mk: Add mcom02 support 2020-08-01 23:49:07 +07:00
Anton Midyukov
e2cb6a09d2 slinux: fwupd needed for x86_64 only 2020-08-01 23:44:59 +07:00
Anton Midyukov
baec907e3a workstation: grub-customizer needed for X86 only 2020-08-01 23:40:24 +07:00
Anton Midyukov
e852d120b1 workstation: fwupd needed for x86_64 only 2020-08-01 23:40:17 +07:00
Andrey Cherepanov
95210c98b9 ALT Education 9.1 2020-08-01 23:10:58 +07:00
Andrey Cherepanov
d287c5dd85 Add xorg-conf-synaptics for touchpad tuning 2020-08-01 23:08:33 +07:00
Anton Midyukov
0f846a311b arm-rpi4: Fix 98-bootstrap-boot-by-firmware
- Return 0 at the end of the script
2020-07-31 01:43:00 +07:00
Anton Midyukov
e82687dc95 arm-rpi4: Fix 97-gen-uboot-env 2020-07-31 01:35:17 +07:00
Anton Midyukov
362bdec30a arm-rpi4: switch to grub-efi for aarch64 2020-07-31 01:34:39 +07:00
Anton Midyukov
1c1612e9ec uboot: Add UBOOT_BOOTARGS instead BASE_BOOTARGS
When loading u-boot + extlinux.conf, needs specific arguments that
are not needed when using grub-efi
2020-07-31 01:32:34 +07:00
Anton Midyukov
2614e192be branding: Add bootsplash for X86 only
See-also: c0c5c94b99
2020-07-17 21:21:05 +07:00
Anton Midyukov
e4815d920f regular-vm.mk: Set kflavours to std-def, un-def for aarch64, armh, X86 2020-07-17 21:20:37 +07:00
Andrey Cherepanov
d6818e8cbc Education: use volumes-profile-education for LiveCD (fix autopartition) 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
66ee001e1f Education: add gpupdate and adp for apply domain policies 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
e658262f3a Education: add polkit agent for livecd 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
7269ae14d5 Education(KDE5): add libqimageblitz5 as filters for Gwenview 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
3331d23b27 Education: add video conference server (Jitsi Meet) 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
4126f55ecc Education: add ipset and vlan-utils for network management, sssd-ldap for login in ALT Domain 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
e08f121ad7 Education: add audit, vixie-cron and winetricks 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
852dad4f1f Remove installer-feature-symlinks-from-sbin from package lists 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
28a192114c education: 9.1alpha 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
cd4c7ad190 education: add libva-intel-media-driver and grub-customizer 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
f57c1ebce3 education: use native teamviewer-preinstall 2020-07-16 02:41:01 +07:00
Mikhail Efremov
3186437c2a workstation: Disable network service for cloud image
Requested by obirvalger@.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
53bb029c83 workstation: Add alterator-gpupdate
For group policy control.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
0852fa0582 workstation: Drop jitsi
No use for WS, just use browser for video conferences.
This reverts commit da17ec5553867bd10c0e4d3bef4101dd0ca29005.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
bc3530bcd4 workstation: Add recoll again
As suggested in ALT bug #38523.
This reverts commit 05c47eb6deedbe7de3f2882ddabf7d5887720aa6.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
4b64ed005b workstation: Add tesseract-langpack-en
See ALT bug #37766.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
6440e65582 workstation: Add ImageMagick-tools
See ALT bugs #37967, #37966.
2020-07-16 02:41:01 +07:00
Anton Midyukov
3908b9c752 syslinux: Fix boot from hard disk
See-also: https://forum.altlinux.org/index.php?topic=43710.msg350632#msg350632
2020-07-16 02:41:01 +07:00
Anton Midyukov
8bdafdc02a Revert "install2, live, live.mk: drop use/syslinux/localboot.cfg"
This reverts commit c70f18fcba.
2020-07-16 02:41:01 +07:00
Anton Midyukov
540f1082d8 uboot: Reorder cmdline variables
Temp fix
2020-07-16 02:41:01 +07:00
Anton Midyukov
8728b4669c arm-rpi4: Do not set dtb in 97-gen-uboot-env
uboot.env was breaking u-boot boot on Raspberry Pi 3 because of this.
2020-07-16 02:41:01 +07:00
Anton Midyukov
98e6610022 arm-rpi4: Do not change KFLAVOURS 2020-07-16 02:28:58 +07:00
Anton Midyukov
b7a390f633 tar2fs: Set flag boot on root part for u-boot bootloader 2020-07-16 02:28:58 +07:00
Anton Midyukov
95ced6d0c4 tar2fs: Added Raspberry Pi 4 support
Since the main goal for aarch64 and armh for us is Raspberry Pi,
it is always worth creating a fat32 partition for these arches.
At least for now.
2020-07-16 02:28:58 +07:00
Anton Midyukov
937c073e2d arm-rpi4: Use /boot/efi as bootmountpoint
Also added download support on the Raspberry Pi 3.
The following feature has appeared. The FAT partition does not
install the last installed kernel, but the first kernel in the
KFLAVOURS list. This was done in order to enable  u-boot to
default load another kernel, for example std-def.
2020-07-16 02:28:58 +07:00
Dmitriy Terekhin
203de60403 arm-rpi4: audio switching is working from GUI 2020-07-03 13:21:04 +07:00
Dmitriy Terekhin
72bf6c762a arm-rpi4: added resizing the root partition and FS to fill the SD card 2020-07-03 13:21:04 +07:00
Anton Midyukov
604f814232 regular-vm.mk: fix *-rpi4 targets 2020-07-03 13:21:04 +07:00
Anton Midyukov
5137e5ad9c Rename aarch64-rpi4 feature to arm-rpi4
The feature фкь-кзш4 is available for armh now.
2020-07-03 13:20:18 +07:00
Dmitriy Terekhin
9c06f98c62 aarch64-rpi4: added support for booting from FAT when building an image
command "rpi4-boot-nouboot --bootstrap" creates
files of kernel, initrd, dtb, cmdline.txt, config.txt
in /usr/share/u-boot/rpi_4
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
2c083ac684 aarch64-rpi4: added support of files updating on FAT
rpi4-boot-nouboot-filetrigger updates
files of kernel, initrd, dtb, cmdline.txt, config.txt
on FAT when updating kernel

rpi4-boot-uboot-filetrigger updates
files of u-boot and firmware
on FAT when updating u-boot
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
0081e85b20 aarch64-rpi4: configured bluetooth 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
9f7868484e aarch64-rpi4: removed MAC address assignment in u-boot.env file 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
cef45dd80d aarch64-rpi4: Change the default governor to conservative
By default, in cpufreq-simple feature the ondemand
governor is configured. But only the conservative governor is available at
Raspberry Pi 4 kernels. This is change the default governor to conservative.
2020-07-03 13:20:07 +07:00
Nikita Ermakov
5d5ce4ab5e Remove pkgs which are absent in sisyphus_riscv64 2020-07-03 12:16:35 +07:00
Anton Midyukov
7244d20f0e slinux: Added support build vm image for riscv64 2020-07-03 12:16:35 +07:00
Anton Midyukov
2b9c9d88f8 regular-vm.mk: Added riscv64 support 2020-07-03 12:16:09 +07:00
Anton Midyukov
2d53a9af94 net-eth, oem: use/oem/vnc for disable NetworkManager control eth0
Network interface managed by NetworkManager is not activated when
alterator-setup is launched.
2020-07-03 04:56:33 +07:00
Anton Midyukov
cd88c10e95 kernel: Do not use initrd feature qemu for riscv64 2020-07-02 01:02:37 +07:00
Anton Midyukov
df0875fe22 oem: Added use/oem/vnc 2020-07-02 01:02:37 +07:00
Nikita Ermakov
d1e7fc06eb x11-vnc: Initial X11 VNC feature
Add new feature for X11 VNC support.  Please read
features.in/x11-vnc/README for more information.
2020-07-02 01:02:37 +07:00
Anton Midyukov
5ab897cf40 uboot: Added riscv64 support 2020-07-02 01:02:37 +07:00
Anton Midyukov
e5b42f45da uboot: Use BASE_BOOTARGS 2020-07-02 01:02:37 +07:00
Anton Midyukov
222a84025a uboot: Fix typo 2020-07-02 01:02:37 +07:00
Anton Midyukov
5c35be1f3c uboot: Increased timeout to 7 seconds 2020-07-02 01:01:29 +07:00
Anton Midyukov
40895c45a5 basealt.mk: Added cleanup kernel to LIVE for aarch64 2020-06-16 18:24:03 +07:00
Anton Midyukov
be28d6e3a3 centaurus/base: installer-feature-online-repo allowed for all arches 2020-06-16 14:01:16 +07:00
Anton Midyukov
cff3291c2a alt-server.mk, basealt.mk, centaurus/70-dev: Added support Baikal-M 2020-06-15 15:53:20 +07:00
Anton Midyukov
d3bba9f30e alt-server: Fixed order profiles 2020-06-10 19:30:43 +07:00
Anton V. Boyarshinov
5a756d2926 alt-server: minimazing minimum installation 2020-06-10 16:37:36 +07:00
Anton V. Boyarshinov
3256e3ceb6 pkg.in/lists/centaurus/base: installer-feature-symlinks-from-sbin removed 2020-06-10 03:13:29 +07:00
Anton V. Boyarshinov
2123fe4e27 alt-server: outdated packages removed 2020-06-10 03:13:29 +07:00
Anton V. Boyarshinov
5ec741c0f5 alt-server: no docs in installed system by default 2020-06-10 03:13:29 +07:00
Anton Midyukov
4fe56e15e5 bootloader: use installer-feature-bootloader-$BOOTLOADER instead alterator-$BOOTLOADER
installer-feature-bootloader-$BOOTLOADER dependency of alterator-$BOOTLOADER.
This is necessary so that alterator-$BOOTLOADER is deleted after installation,
if it was not installed explicitly.
This will reduce the minimum installation of alt-server.
2020-06-10 03:13:29 +07:00
Anton Midyukov
77eb0456d1 stage2/stage1/modules.d/50-stage2-usb: fix typo 2020-06-10 03:13:29 +07:00
Anton Midyukov
26d4196bc3 regular-vm.mk: Reduce jeos targets 2020-06-06 02:18:55 +07:00
Anton Midyukov
c37775cdf4 regular.mk, server: timeout alignment for syslinux and grub
timeout for syslinux is measured in deciseconds, and for grub in seconds.
2020-06-06 02:18:55 +07:00
Anton Midyukov
e855904990 regular.mk: use default browser for regular-lxqt
Falkon not starting on Raspberry Pi 3.
2020-06-06 02:18:55 +07:00
Anton Midyukov
d5efc5ba9b uboot: drop support imx on armh 2020-06-06 02:18:55 +07:00
Anton Midyukov
f70394409a regular.mk: Switch KFLAVOUR to std-def for jeos-sysv
The installer cannot start in qemu with the un-def kernel.
2020-06-06 02:18:55 +07:00
Anton Midyukov
c708f0f147 regular.mk: Replace staging to drm for jeos-sysv
KMODULES staging is too much for jeos.
2020-06-06 02:18:55 +07:00
Anton Midyukov
2083f61fa5 regular.mk: drop vmguest for jeos
Not needed for jeos.
2020-06-06 02:18:55 +07:00
Anton Midyukov
925288faa8 regular.mk: Added apt-conf-ignore-systemd in jeos-sysv
This is the apt configuration file for systems on sysvinit,
to ignore the installation of systemd packages.
2020-06-06 02:18:55 +07:00
Anton Midyukov
8119c70282 Revert "features.in/bootloader/config.mk: no alterator-BOOTLADER by default"
This reverts commit 19ed2b9a7e.
2020-06-06 02:18:55 +07:00
Anton Midyukov
29c79e7fe6 install2: Added installer-distro-$$(INSTALLER)-stage3
This package contains installer configuration hopefully suitable
for a generic ALT Linux based distribution.
The stage3 part is installed onto the new system's root
and executed off there during installation process.
2020-06-06 02:18:55 +07:00
Anton Midyukov
bbf2a013a2 install2: use tag list basesystem 2020-06-06 02:18:55 +07:00
Anton Midyukov
ae95a13278 alt-server.mk: Add fdisk in install
See-also: https://bugzilla.altlinux.org/38092
2020-06-06 02:18:55 +07:00
Anton Midyukov
6866c3a821 efi: Do not add package $$(EFI_BOOTLOADER)) everywhere
$$(EFI_BOOTLOADER)) is a bootloader for STAGE1 only.
2020-06-06 02:18:55 +07:00
Anton Midyukov
2462128cf9 alt-server.mk: Added use/stage2/ modules lists 2020-06-06 02:18:55 +07:00
Anton Midyukov
0110c511c1 alt-server.mk: Extend aarch64 support 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
55db212bb0 alt-server.mk: install on aarch64 fixed 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
32c4f954d4 conf.d/mixin-alt-server.mk: distro version change 2020-06-06 02:18:55 +07:00
Gleb Fotengauer-Malinovskiy
d910612337 alt-server: ppc64le: enable menu entry for headless VNC install 2020-06-06 02:18:55 +07:00
Gleb Fotengauer-Malinovskiy
a546161ab8 alt-server: add ppc64le support 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
7846e3391f cleanup Xorg in minimal server 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
c06f87539d buildable alt-server on aarch64 2020-06-06 02:15:41 +07:00
Michael Shigorin
0d8468b10f e2k: add installer-feature-e2k-xorg-conf-stage2
...to setup kms/xorg videodrivers for installer.
2020-05-22 21:07:20 +03:00
Michael Shigorin
ae742193b1 centaurus/70-dev: no std-def on e2k so far 2020-05-22 21:02:32 +03:00
Anton V. Boyarshinov
0bdea8827d pkg.in/lists/centaurus/10-alterator: alterator-quota back in the game 2020-05-22 20:21:41 +03:00
Anton V. Boyarshinov
378f83a5c8 installer-feature-quota-stage2 added 2020-05-22 20:21:29 +03:00
Anton V. Boyarshinov
1ea3f3aac4 pkg.in/lists/centaurus/sambaDC: list fixed 2020-05-22 20:19:47 +03:00
Anton V. Boyarshinov
e4c1add06c pkg.in/lists/centaurus/70-dev: kernel-headers for all archs 2020-05-22 20:18:23 +03:00
Anton V. Boyarshinov
834e1dc084 conf.d/mixin-alt-server.mk: un-def kernel added 2020-05-22 20:18:15 +03:00
Anton V. Boyarshinov
d7809dc1f0 pkg.in/lists/centaurus/mate: no more java and flash in browser 2020-05-22 20:13:32 +03:00
Anton V. Boyarshinov
63a0f2e48c pkg.in/lists/centaurus/10-alterator: unusable alterator-quota removed 2020-05-22 20:13:26 +03:00
Anton V. Boyarshinov
17422bdb3a cleanup CLEANUP_PACKAGES 2020-05-22 20:11:07 +03:00
Anton V. Boyarshinov
19ed2b9a7e features.in/bootloader/config.mk: no alterator-BOOTLADER by default 2020-05-22 20:08:09 +03:00
Anton V. Boyarshinov
6cdc7a7de3 features.in/install2/config.mk: don't add basesystem+alterator into
basesystem
2020-05-22 20:08:01 +03:00
Anton V. Boyarshinov
94ce02aa12 packages to not be removed by apt-get autoremove 2020-05-22 20:07:56 +03:00
Anton V. Boyarshinov
343e78e0a3 pkg.in/lists/centaurus/emulators: prevent rekonq usage 2020-05-22 20:07:08 +03:00
Anton V. Boyarshinov
4cf9c554ca define vmguest/base for non-intel platforms 2020-05-22 20:06:52 +03:00
Anton V. Boyarshinov
700fd285ee add strace into server install2 2020-05-22 20:06:41 +03:00
Anton V. Boyarshinov
c3d7376bd0 package lists and meta-info changes ro alt-server beta1 2020-05-22 20:02:54 +03:00
Anton V. Boyarshinov
720dbfd259 pkg.in/lists/centaurus/disk-dvd: urbackup added 2020-05-22 19:55:55 +03:00
Anton V. Boyarshinov
9e51bd6222 pkg.in/lists/centaurus/sambaDC: remove DC suffixes 2020-05-22 19:55:21 +03:00
Anton V. Boyarshinov
7c9012f780 alt-server buildable on i586 2020-05-22 19:53:52 +03:00
Anton V. Boyarshinov
203243eed9 no pve, no more conflict between samba & sambaDC 2020-05-22 19:51:27 +03:00
Anton V. Boyarshinov
7902508de2 owncloud->nextcloud 2020-05-22 19:50:37 +03:00
Anton V. Boyarshinov
d6734efd28 buildable alt server 2020-05-22 19:48:08 +03:00
Michael Shigorin
46bc1f68c7 conf.d/{mixin-,}alt-server.mk: initial release
- ported from m-p-d;
- generalized mediawiki, use/volumes/cliff-server;
- added centaurus/disk;
- dropped ganeti (no more in p9);
- x86 builds (both of them);
- e2k builds (ditto).
2020-05-22 19:48:06 +03:00
Michael Shigorin
3d983cf2ec lists/centaurus/mate: DRI tweaks
This works around DRI3 problems resulting in caja getting
BadWindow with panel applets subsequently failing to jump
into dock (which doesn't exist just yet):

* setup-libgl-dri3-disable tunes libGL to avoid DRI3,
* setup-mate-nocomposite asks MATE to avoid compositing.

Suggested-by: Denis Medvedev <nbr@altlinux.org>

PS: added setup-mate-terminal while at that to work around
the weird theming problem resulting in dark gray on black
colour scheme in Terminal; note that there's a fork here:
pkg.in/lists/workstation/mate (wasn't avoidable easily
at the moment).
2020-05-22 19:48:04 +03:00
Michael Shigorin
1bf52fe753 {groups,lists,profiles}/centaurus*: initial import
These have been:
- taken from x86_64 server iso (in substituted form);
- checked against m-p-d where needed;
- renamed from centaurus-* to centaurus/*;
- updated with s/samba-server/samba/;
- archdep bits adjusted for m-p-d/m-p syntax difference;
- amended with some tester feedback based additions included;
- pruned regarding p9/branch packages availability.
2020-05-22 19:48:00 +03:00
298 changed files with 3065 additions and 518 deletions

View File

@ -1,5 +1,5 @@
Name: mkimage-profiles
Version: 1.3.15
Version: 1.4.2
Release: alt1
Summary: ALT based distribution metaprofile
@ -8,7 +8,7 @@ Group: Development/Other
Url: http://altlinux.org/m-p
Source: %name-%version.tar
Packager: Michael Shigorin <mike@altlinux.org>
Packager: Anton Midyukov <antohami@altlinux.org>
BuildArch: noarch
BuildRequires: rsync
@ -128,6 +128,33 @@ mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
%endif
%changelog
* Tue Sep 01 2020 Anton Midyukov <antohami@altlinux.org> 1.4.2-alt1
- x11: Added missing xorg-dri-armsoc for armh
- oem: Added rootfs-installer-features
- server-v: Added more commits by andy@, shaba@
- Set default timeout 60 seconds for syslinux and grub
- Set default item to install2 for syslinux and grub
- main.mk: Added vm/, ve/ targets into everything target
- Extended e2k support in distributions (thanks mike@)
- education: fix build and install
* Mon Aug 17 2020 Anton Midyukov <antohami@altlinux.org> 1.4.1-alt1
- Revert commit for support multiple kernel in iso image.
* Mon Aug 17 2020 Anton Midyukov <antohami@altlinux.org> 1.4.0-alt1
- New official maintainer antohami@ (blessed by mike@)
- Added grub config file generator for iso images
(thanks shaba@)
- Expanded support for USB controllers and SD card readers
- Added support for booting on single-board Raspberry Pi 3 and 4
in EFI mode (u-boot or edk2)
- Added grub-efi bootloader support for rootfs images
- Merged with branches for Workstation, Education,
Simply Linux, Server, Server-V distributions
- Added a starterkit build profile with a real-time kernel (live)
- Added riscv64 platform support (thanks arei@)
- rootfs: support headless boot via alterator-setup-vnc (thanks arei@)
* Mon Nov 18 2019 Michael Shigorin <mike@altlinux.org> 1.3.15-alt1
- autoinstall fix (sin@)
- Baikal-M support, @ARM, elogind removal, other tweaks (antohami@)

View File

@ -0,0 +1,6 @@
object fdd2593977fd8895020972f318dea00d1a135c64
type commit
tag v1.4.2
tagger Anton Midyukov <antohami@altlinux.org> 1598925387 +0700
v1.4.2

View File

@ -0,0 +1,6 @@
object 184850dbf74f8446868d48ab7c58a7b09c222153
type commit
tag v1.4.1
tagger Anton Midyukov <antohami@altlinux.org> 1597683435 +0700
v1.4.1

View File

@ -1,6 +0,0 @@
object 56d7944222db0f1981ce3ad5f49de7b39f2ba6b9
type commit
tag v1.3.15
tagger Michael Shigorin <mike@altlinux.org> 1574093404 +0300
v1.3.15

View File

@ -1 +1,2 @@
c63e94b72fd43f6fa162ed26a9a80570e77d18c0 v1.3.15
6ad7cb74bf1f73f9b7add9b6d154937799fe261a v1.4.1
4aafcb681460f8deda07a60d983ae8e2d244d4d4 v1.4.2

View File

@ -55,6 +55,13 @@ ppc*)
BOOTLOADERPARTSIZEM="8"
ROOTPART="2"
;;
arm*|aarch64)
BLOCKDEV="/dev/sda"
EFIPART="1"
EFIPARTSIZEM="256"
EFIPARTFSTYPE="fat"
ROOTPART="2"
;;
*)
if [ "$BOOTLOADER" == grub-efi ]; then
EFIPART="1"
@ -349,11 +356,16 @@ echo "** end of boot.conf"
popd
# Update cmdline.txt for Raspberry Pi
[ -f "$ROOTFS/boot/efi/cmdline.txt" ] &&
sed -i "s/LABEL=ROOT/$ROOTDEV/" "$ROOTFS/boot/efi/cmdline.txt"
# Setup bootloader
case "$BOOTLOADER" in
uboot)
EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf"
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF"
parting set "$ROOTPART" boot on
;;
lilo)
# configure and install bootloader

66
conf.d/alt-server.mk Normal file
View File

@ -0,0 +1,66 @@
ifeq (distro,$(IMAGE_CLASS))
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_primary = $(addprefix centaurus/,\
ipmi netinst sogo)
ifeq (,$(filter-out x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_virtipa = $(addprefix centaurus/,\
v12n-server freeipa-server)
endif
endif
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64 e2k%,$(ARCH)))
distro/alt-server: server_groups_desktop = $(addprefix centaurus/,\
80-desktop emulators freenx-server mate office pidgin vlc xorg)
endif
distro/alt-server: monitoring = $(addprefix server-v/,\
90-monitoring zabbix-agent telegraf prometheus-node_exporter \
monit collectd nagios-nrpe)
# FIXME: generalize vm-profile
distro/alt-server:: distro/.base mixin/alt-server use/vmguest/base \
use/bootloader/grub use/rescue/base use/stage2/kms\
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb \
use/docs/license
@$(call add,MAIN_GROUPS,$(server_groups_primary))
@$(call add,MAIN_GROUPS,$(server_groups_virtipa))
@$(call add,MAIN_GROUPS,$(server_groups_desktop))
@$(call add,MAIN_LISTS,centaurus/disk-dvd)
@$(call add,MAIN_LISTS,centaurus/disk-server-light)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-setup-plymouth)
endif
@$(call add,INSTALL2_PACKAGES,strace)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_BRANDING,notes)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
ifeq (,$(filter-out e2k,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-4.4)
endif
ifeq (,$(filter-out e2kv4,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-80x)
endif
ifeq (,$(filter-out x86_64 i586,$(ARCH)))
distro/alt-server:: use/memtest; @:
endif
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
distro/alt-server:: use/efi/refind +efi; @:
endif
ifeq (,$(filter-out ppc64le aarch64 e2k%,$(ARCH)))
distro/alt-server:: use/install2/vnc/listen; @:
endif
endif

View File

@ -2,12 +2,6 @@ ifeq (armh,$(ARCH))
ifeq (ve,$(IMAGE_CLASS))
# aliases for autobuild
ve/regular-nexus7-e17: ve/nexus7-e17; @:
ve/regular-nexus7-kde4: ve/nexus7-kde4; @:
ve/altlinux-p7-nexus7-e17: ve/nexus7-e17; @:
ve/altlinux-p7-nexus7-kde4: ve/nexus7-kde4; @:
ve/.tegra3-base: ve/.base use/armh use/kernel
@$(call add,BASE_PACKAGES,nvidia-tegra)
@ -22,11 +16,6 @@ ve/.nexus7-tablet: ve/.tegra3-tablet use/armh-nexus7 \
@$(call add,BASE_PACKAGES,firmware-nexus7)
@$(call add,BASE_PACKAGES,livecd-ru) ### until l10n is there
ve/nexus7-e17: ve/.nexus7-tablet use/x11/e17 use/x11/lightdm/gtk; @:
ve/nexus7-kde4: ve/.nexus7-tablet use/x11/lightdm/kde +systemd +pulse +nm
@$(call add,BASE_LISTS,$(call tags,base kde4mobile))
ve/nexus7-xfce: ve/.nexus7-tablet use/x11/xfce use/x11/lightdm/gtk +systemd
@$(call add,BASE_PACKAGES,florence at-spi2-atk)
@ -71,12 +60,6 @@ vm/cubox-mate: vm/.cubox-gtk use/x11/mate; @:
@$(call set,BRANDING,altlinux-centaurus)
@$(call add,THE_BRANDING,mate-settings)
vm/cubox-tde: vm/.cubox-oem use/net-eth/dhcp use/x11-autostart +tde
@$(call add,BASE_LISTS,openscada)
vm/cubox-kde4: vm/.cubox-oem use/x11/kde4 use/x11/kdm4 use/fonts/zerg +pulse
@$(call add,BASE_LISTS,$(call tags,desktop && kde4 && !extra))
vm/cubox-server: vm/.cubox-bare use/deflogin/altlinuxroot use/control/sudo-su \
+sysvinit
@$(call set,BRANDING,altlinux-centaurus)

View File

@ -1,10 +1,8 @@
ifeq (distro,$(IMAGE_CLASS))
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/alt-workstation: workstation_groups_x86 = $(addprefix workstation/,\
3rdparty blender clamav cloud-clients freecad \
gtk-dictionary kvm smartcard voip-clients)
endif
distro/alt-workstation: distro/.base +vmguest +wireless +efi \
mixin/desktop-installer mixin/alt-workstation \
@ -15,11 +13,8 @@ distro/alt-workstation: distro/.base +vmguest +wireless +efi \
use/live/install use/live/x11 use/live/repo use/live/rw \
use/vmguest/kvm/x11 use/stage2/kms \
use/branding/complete use/docs/license \
use/domain-client/full use/x11/amdgpu use/x11/lightdm/gtk
@$(call add,INSTALL2_PACKAGES,open-iscsi)
@$(call add,INSTALL2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_PACKAGES,solaar)
use/domain-client/full use/x11/amdgpu use/x11/lightdm/gtk \
use/e2k/multiseat/801/full use/e2k/x11/101 use/e2k/sound/401
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,MAIN_GROUPS,$(workstation_groups_x86))
endif
@ -27,58 +22,45 @@ ifeq (,$(filter-out x86_64,$(ARCH)))
@$(call add,MAIN_GROUPS,workstation/virtualbox)
@$(call add,BASE_KMODULES,kvm virtualbox)
endif
@$(call add,MAIN_LISTS,workstation/extras)
@$(call add,MAIN_LISTS,$(call tags,xorg vaapi))
@$(call add,THE_LISTS,$(call tags,archive extra))
@$(call add,THE_LISTS,$(call tags,mobile mate))
@$(call add,LIVE_PACKAGES,installer-feature-quota-stage2)
@$(call add,LIVE_PACKAGES,livecd-installer-features)
@$(call add,LIVE_PACKAGES,installer-feature-lightdm-stage3)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_PACKAGES,python-module-serial)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,xorg-drv-smi) # use/x11/smi
@$(call add,MAIN_GROUPS,workstation/alterator-web)
@$(call add,SERVICES_ENABLE,ahttpd) # in case it gets installed
ifeq (,$(filter-out e2k,$(ARCH)))
@$(call set,META_VOL_ID,ALT Workstation for Elbrus 401-PC)
endif # e2k
ifeq (,$(filter-out e2kv4,$(ARCH)))
@$(call set,META_VOL_ID,ALT Workstation for Elbrus 801/101-PC)
endif # e2kv4
endif # e2k%
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/.alt-workstation-base: distro/.e2k-installer mixin/alt-workstation
@$(call add,THE_PACKAGES,setup-mate-terminal)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,setup-libgl-dri3-disable)
@$(call add,THE_PACKAGES,setup-pulseaudio-plain-module-detect)
@$(call add,THE_PACKAGES,firmware-linux)
@$(call add,THE_BRANDING,graphics)
@$(call set,META_APP_ID,ALT Workstation/$(ARCH))
distro/.alt-workstation: distro/.alt-workstation-base use/x11/lightdm/gtk; @:
distro/alt-workstation-101: distro/.alt-workstation use/e2k/101
@$(call set,META_VOL_ID,ALT Workstation 101)
@$(call add,MAIN_GROUPS,workstation/e101-modesetting)
@$(call add,MAIN_GROUPS,workstation/e101-mga2)
distro/alt-workstation-401: distro/.alt-workstation use/e2k/401; @:
@$(call set,META_VOL_ID,ALT Workstation 401)
# avoid lightdm; NB: mate-settings pulls it in (hence the dummy)
distro/alt-workstation-801: distro/.alt-workstation-base use/e2k/install2/801
@$(call set,META_VOL_ID,ALT Workstation 801)
@$(call add,MAIN_GROUPS,workstation/e801-1seat workstation/e801-2seat)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-dualseat)
endif
endif
endif # distro
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/alt-workstation: vm/systemd use/x11/armsoc use/x11/lightdm/gtk \
use/oem use/repo use/bootloader/uboot mixin/alt-workstation
@$(call add,THE_PACKAGES,rootfs-installer-features)
@$(call add,THE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,THE_PACKAGES,installer-feature-quota-stage2)
vm/alt-workstation-tegra: vm/alt-workstation use/aarch64-tegra; @:
vm/alt-workstation-rpi: vm/alt-workstation use/arm-rpi4/full; @:
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-workstation-tegra: vm/alt-workstation use/aarch64-tegra; @:
endif
ifeq (,$(filter-out armh,$(ARCH)))
vm/alt-workstation-mcom02: vm/alt-workstation use/armh-mcom02/x11; @:
endif
vm/alt-workstation-cloud: vm/alt-p9-cloud use/x11/lightdm/gtk \
mixin/alt-workstation
@$(call add,THE_PACKAGES,cloud-init-config-netplan)
@$(call add,SYSTEMD_SERVICES_DISABLE,network.service)
endif

View File

@ -51,21 +51,14 @@ ifeq (distro,$(IMAGE_CLASS))
distro/.e2k-rescue: distro/.base mixin/e2k-base use/rescue/.base +net-eth
@$(call set,META_VOL_ID,ALT Rescue for Elbrus)
distro/e2k-101-rescue: distro/.e2k-rescue
@$(call add,KFLAVOURS,elbrus-1cp)
# NB: this one is NOT suited for a particular processor yet!
# (that's to be done downstream)
distro/.e2k-installer-base: distro/.base mixin/e2k-base \
use/install2 use/install2/packages use/e2k/install2 \
use/install2 use/install2/packages use/e2k \
use/volumes/regular use/net-ssh +net-eth
@$(call set,INSTALLER,altlinux-generic)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_VOL_ID,ALT for Elbrus)
@$(call set,META_APP_ID,ALT/$(ARCH))
@$(call add,INSTALL2_PACKAGES,agetty)
@$(call add,INSTALL2_PACKAGES,ifplugd) ### for net-eth link status
@$(call add,INSTALL2_BRANDING,alterator)
@$(call add,THE_PACKAGES,agetty gpm fdisk parted smartmontools pv sshfs)
@$(call add,THE_PACKAGES,make-initrd dhcpcd hdparm nfs-clients vim-console)
@ -78,28 +71,4 @@ distro/.e2k-installer-base: distro/.base mixin/e2k-base \
distro/.e2k-installer-sysv: distro/.e2k-installer-base +sysvinit; @:
distro/.e2k-installer: distro/.e2k-installer-base +systemd; @:
distro/e2k-801-builder: distro/.e2k-installer-sysv \
use/e2k/install2/801 use/dev/groups/builder; @:
distro/alt-jeos-401: distro/.e2k-installer-sysv use/e2k/install2/401
@$(call set,META_VOL_ID,ALT JeOS 401)
distro/alt-jeos-801: distro/.e2k-installer-sysv use/e2k/install2/801
@$(call set,META_VOL_ID,ALT JeOS 801)
distro/alt-jeos-101: distro/.e2k-installer-sysv use/e2k/install2/101
@$(call set,META_VOL_ID,ALT JeOS 101)
distro/e2k-101-mate: distro/.e2k-installer use/e2k/101 \
mixin/e2k-desktop mixin/e2k-mate
@$(call add,THE_PACKAGES,LibreOffice-integrated LibreOffice-gnome)
@$(call add,THE_PACKAGES,LibreOffice-langpack-ru)
distro/e2k-4xx-installer: distro/.e2k-installer-sysv use/e2k/install2/4xx
@$(call set,INSTALLER,altlinux-server)
@$(call add,BASE_PACKAGES,make-initrd-mdadm make-initrd-lvm)
distro/.e2k-installer-mate: distro/.e2k-installer \
mixin/e2k-desktop mixin/e2k-mate; @:
endif

View File

@ -4,9 +4,14 @@ mixin/education: use/kernel use/firmware \
+systemd \
use/services \
use/ntp/chrony \
use/x11/xorg use/x11/lightdm/gtk +pulse \
use/volumes/education \
use/x11/xorg use/x11/amdgpu use/x11/lightdm/gtk +pulse \
+nm use/x11/gtk/nm use/net-eth/dhcp \
use/xdg-user-dirs/deep
use/xdg-user-dirs/deep \
use/office/LibreOffice/still \
use/office/LibreOffice/gtk3 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated
@$(call set,BRANDING,alt-education)
@$(call add,THE_BRANDING,indexhtml)
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
@ -17,30 +22,36 @@ mixin/education: use/kernel use/firmware \
@$(call add,BASE_LISTS,education/base)
@$(call add,BASE_LISTS,workstation/3rdparty)
@$(call add,THE_LISTS,education/misc)
@$(call add,THE_PACKAGES,usbutils pv lftp links2 openssh-server xinput xorg-drv-libinput)
@$(call add,THE_PACKAGES,usbutils pv lftp links2 openssh-server)
@$(call add,THE_PACKAGES,xinput xorg-drv-libinput)
@$(call add,THE_PACKAGES,net-tools fdisk gdisk parted partclone)
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(call add,THE_LISTS,$(call tags,base regular))
ifeq (distro,$(IMAGE_CLASS))
distro/education: distro/alt-education; @:
distro/alt-education: distro/.installer mixin/education \
mixin/education-live: \
use/live/install use/live/suspend \
use/live/repo use/live/x11 use/live/rw
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,LIVE_LISTS,slinux/net-base)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
mixin/education-installer: \
use/memtest \
use/branding/complete \
use/live/install use/live/suspend \
use/live/repo use/live/x11 use/live/rw \
use/install2/vnc use/install2/full \
use/l10n/default/ru_RU +vmguest \
+efi use/efi/refind use/efi/shell \
use/isohybrid use/luks \
+plymouth +wireless \
use/install2/fonts \
+plymouth +wireless \
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb
@$(call set,INSTALLER,education)
@$(call set,META_VOL_ID,ALT Education 9.0 $(ARCH))
@$(call set,META_VOL_ID,ALT Education 9.1 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_APP_ID,$(DISTRO_VERSION) $(ARCH))
@$(call set,META_VOL_SET,ALT)
@ -52,50 +63,79 @@ distro/alt-education: distro/.installer mixin/education \
@$(call add,MAIN_GROUPS,education/03_highschool)
@$(call add,MAIN_GROUPS,education/04_secondary_vocational)
@$(call add,MAIN_GROUPS,education/05_university)
@$(call add,MAIN_GROUPS,education/teacher)
@$(call add,MAIN_GROUPS,education/kde5)
@$(call add,MAIN_GROUPS,education/server-apps-edu)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-std-def kernel-headers-modules-std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-un-def kernel-headers-modules-un-def)
@$(call add,THE_KMODULES,virtualbox)
@$(call add,THE_KMODULES,nvidia)
@$(call add,THE_KMODULES,lsadrv bbswitch)
@$(call add,THE_KMODULES,staging)
@$(call add,MAIN_KMODULES,bbswitch)
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,syslinux)
@$(call add,MAIN_PACKAGES,owamp-server)
endif
@$(call add,MAIN_GROUPS,education/07_teacher)
@$(call add,MAIN_GROUPS,education/08_server-apps-edu)
@$(call add,THE_PACKAGES,bluez pulseaudio-bluez)
@$(call add,THE_PACKAGES,alterator-fbi)
@$(call add,THE_PACKAGES,alt-rootfs-installer)
@$(call add,BASE_PACKAGES,os-prober)
@$(call add,BASE_PACKAGES,guest-account)
@$(call add,BASE_PACKAGES,nextcloud-client)
@$(call add,MAIN_PACKAGES,iperf3)
@$(call add,MAIN_PACKAGES,stellarium)
@$(call add,MAIN_PACKAGES,libreoffice-block-macros)
@$(call add,MAIN_PACKAGES,lmms)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,LIVE_LISTS,slinux/net-base)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
#FIXME# mixin/education-live \
#
distro/education: distro/alt-education; @:
distro/alt-education: distro/.installer \
mixin/education \
mixin/education-live \
mixin/education-installer \
use/e2k/multiseat/801/full +power
@$(call set,INSTALLER,education)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,MAIN_GROUPS,education/06_kdesc)
@$(call add,MAIN_PACKAGES,xorg-conf-noblank)
@$(call add,THE_PACKAGES,firefox-esr-ru flashrom)
@$(call add,THE_PACKAGES,xscreensaver-hacks-rss_glx)
@$(call add,DEFAULT_SERVICES_ENABLE,acpid dnsmasq)
@$(call add,DEFAULT_SERVICES_DISABLE,upower clamd clamsmtpd)
@$(call add,CLEANUP_PACKAGES,plymouth plymouth-scripts)
@$(call add,CONTROL,pam_mktemp:disabled) ### private /tmp dirs
@$(call add,INSTALL2_PACKAGES,ImageMagick-tools) ### DROPME: for import on /pkg ###
else
@$(call add,MAIN_GROUPS,education/06_kde5)
@$(call add,MAIN_GROUPS,education/09_video-conferencing)
endif # e2k%
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-un-def)
@$(call add,MAIN_PACKAGES,kernel-headers-modules-un-def)
@$(call add,MAIN_PACKAGES,kernel-headers-std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-modules-std-def)
@$(call add,THE_KMODULES,virtualbox)
@$(call add,THE_KMODULES,nvidia)
@$(call add,THE_KMODULES,lsadrv bbswitch)
@$(call add,THE_KMODULES,staging)
@$(call add,MAIN_KMODULES,bbswitch)
@$(call add,BASE_PACKAGES,nextcloud-client)
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,syslinux)
@$(call add,MAIN_PACKAGES,owamp-server)
endif
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
endif # distro
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/education: vm/alt-education; @:
vm/alt-education: vm/systemd use/repo use/x11/armsoc \
use/oem use/bootloader/uboot mixin/education
@$(call add,DEFAULT_SERVICES_DISABLE,multipathd)
@$(call add,THE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,THE_PACKAGES,installer-feature-quota-stage2)
vm/alt-education-rpi: vm/alt-education use/arm-rpi4/full; @:
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-education-tegra: vm/alt-education use/aarch64-tegra; @:
endif
endif
endif

View File

@ -13,7 +13,7 @@ distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@$(call add,RESCUE_PACKAGES,livecd-net-eth)
distro/syslinux: distro/.boot \
use/syslinux/ui/vesamenu use/hdt; @:
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
distro/.live-base: distro/.base use/live/base; @:
distro/.live-x11: distro/.live-base use/live/x11; @:

View File

@ -0,0 +1,56 @@
mixin/alt-server: server_groups = $(addprefix centaurus/,\
10-alterator 20-server-apps 50-freeipa 70-dev 90-docs sambaDC buildsystem dhcp-server-a diag-tools dns-server-a ftp-server-a mail-server-a mediawiki owncloud domain-server freeipa-client)
mixin/alt-server: +installer +systemd \
use/branding/notes use/syslinux/ui/gfxboot \
use/plymouth/stage2 use/control use/services \
use/l10n/default/ru_RU use/install2/stage3 \
use/install2/vnc use/install2/xfs use/install2/fat \
use/volumes/cliff-server \
use/apt-conf/branch \
use/fonts/install2 \
use/install2/stage3 \
use/firmware/server \
use/net/etcnet
@$(call set,INSTALLER,centaurus)
@$(call set,BRANDING,alt-server)
@$(call add,THE_BRANDING,alterator)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,THE_BRANDING,bootloader bootsplash)
@$(call set,KFLAVOURS,std-def)
endif
@$(call add,BASE_LISTS,centaurus/base)
@$(call add,BASE_LISTS,centaurus/base-server)
@$(call add,LIVE_LISTS,centaurus/live)
@$(call add,LIVE_LISTS,centaurus/remmina)
@$(call add,LIVE_LISTS,centaurus/cups)
@$(call add,LIVE_LISTS,centaurus/nm)
@$(call add,LIVE_LISTS,centaurus/domain-client)
@$(call add,MAIN_GROUPS,$(server_groups))
@$(call add,MAIN_LISTS,centaurus/cppcheck)
@$(call add,MAIN_LISTS,centaurus/disk)
@$(call add,THE_PROFILES,centaurus-10-server)
@$(call add,THE_PROFILES,centaurus-20-serverDC)
ifeq (,$(filter-out i586 x86_64 aarch64 e2k%,$(ARCH)))
@$(call add,THE_PROFILES,centaurus-30-desktop)
endif
@$(call add,THE_PROFILES,minimal)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-alphabet-profiles)
@$(call add,INSTALL2_PACKAGES,installer-feature-load-tun)
@$(call add,INSTALL2_PACKAGES,installer-feature-network-shares-stage3)
@$(call add,INSTALL2_PACKAGES,installer-feature-auto-domain)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_GROUPS,centaurus/jitsi-meet)
endif
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,DEFAULT_SERVICES_ENABLE,rpcbind sshd bind)
@$(call set,META_VOL_ID,ALT Server 9.1 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_APP_ID,ALT Server 9.1.0 $(ARCH) $(shell date +%F))

View File

@ -6,7 +6,7 @@ mixin/alt-workstation-install: workstation_groups = $(addprefix workstation/,\
libreoffice mate-usershare pidgin raccess scanning scribus \
sound-editing thunderbird vlc freeipa-client)
mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm \
mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm +power \
use/kernel/net use/l10n/default/ru_RU \
use/x11/xorg use/x11-autostart use/x11/gtk/nm \
use/apt-conf/branch use/volumes/regular \
@ -21,6 +21,8 @@ mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm \
@$(call set,BRANDING,alt-workstation)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,THE_LISTS,$(call tags,archive extra))
@$(call add,THE_LISTS,$(call tags,mobile mate))
@$(call add,BASE_LISTS,workstation/base.pkgs)
@$(call add,BASE_LISTS,$(call tags,desktop cups))
@$(call add,LIVE_LISTS,workstation/live.pkgs)
@ -33,7 +35,6 @@ mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm \
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_KMODULES,staging)
@$(call add,CLEANUP_PACKAGES,xterm)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_DISABLE,sshd)
@ -59,5 +60,16 @@ mixin/alt-workstation-install: +installer \
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,btrfs-progs)
@$(call add,INSTALL2_PACKAGES,open-iscsi)
@$(call add,INSTALL2_PACKAGES,xorg-conf-libinput-touchpad)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,LIVE_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_LISTS,workstation/extras)
endif
@$(call add,LIVE_PACKAGES,livecd-installer-features)
@$(call add,LIVE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,MAIN_LISTS,$(call tags,xorg vaapi))
@$(call add,MAIN_PACKAGES,solaar)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,MAIN_GROUPS,$(workstation_groups))

View File

@ -48,11 +48,11 @@ mixin/regular-x11: use/luks use/volumes/regular \
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
# common WM live/installer bits
mixin/regular-desktop: use/x11/xorg +alsa use/xdg-user-dirs use/l10n \
use/fonts/otf/adobe use/fonts/otf/mozilla use/net-eth
mixin/regular-desktop: +alsa +power use/x11/xorg use/xdg-user-dirs use/l10n \
use/fonts/otf/adobe use/fonts/otf/mozilla use/net-eth use/branding/notes
@$(call add,THE_PACKAGES,pam-limits-desktop beesu polkit)
@$(call add,THE_PACKAGES,alterator-notes dvd+rw-tools)
@$(call add,THE_BRANDING,alterator graphics indexhtml notes)
@$(call add,THE_BRANDING,alterator graphics indexhtml)
@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
@$(call set,THE_IMAGEWRITER,altmediawriter)
@$(call add,THE_PACKAGES,upower bluez udev-rules-rfkill-uaccess)
@ -143,6 +143,7 @@ mixin/regular-rescue: use/rescue use/isohybrid use/luks use/branding \
mixin/regular-builder: use/dev/builder/base use/net-eth/dhcp use/ntp/chrony
@$(call add,THE_PACKAGES,bash-completion elinks gpm lftp openssh)
@$(call add,THE_PACKAGES,rpm-utils screen tmux wget zsh)
@$(call add,THE_PACKAGES,apt-repo eepm)
@$(call add,DEFAULT_SERVICES_ENABLE,gpm)
### vm.mk

View File

@ -52,14 +52,16 @@ vm/alt-p9-jeos-systemd vm/alt-p9-jeos-sysv vm/alt-p9-builder \
vm/alt-p9-xfce: \
vm/alt-p9-%: vm/regular-% mixin/p9; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-p9-jeos-systemd-rpi4 vm/alt-p9-jeos-sysv-rpi4 \
vm/alt-p9-lxde-rpi4 vm/alt-p9-lxqt-rpi4 \
vm/alt-p9-mate-rpi4 vm/alt-p9-xfce-rpi4: \
vm/alt-p9-%-rpi4: vm/regular-%-rpi4 mixin/p9; @:
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/alt-p9-jeos-systemd-rpi vm/alt-p9-jeos-sysv-rpi \
vm/alt-p9-builder-rpi \
vm/alt-p9-lxde-rpi vm/alt-p9-lxqt-rpi \
vm/alt-p9-mate-rpi vm/alt-p9-xfce-rpi: \
vm/alt-p9-%-rpi: vm/regular-%-rpi mixin/p9; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-p9-cinnamon-tegra vm/alt-p9-kde5-tegra \
vm/alt-p9-lxde-tegra vm/alt-p9-lxqt-tegra \
vm/alt-p9-lxqt-tegra \
vm/alt-p9-mate-tegra vm/alt-p9-xfce-tegra: \
vm/alt-p9-%-tegra: vm/regular-%-tegra mixin/p9; @:
@ -77,6 +79,7 @@ vm/alt-p9-lxde-mcom02-mali vm/alt-p9-lxqt-mcom02-mali \
vm/alt-p9-mate-mcom02-mali vm/alt-p9-xfce-mcom02-mali: \
vm/alt-p9-%-mcom02-mali: vm/regular-%-mcom02-mali mixin/p9; @:
endif
endif
ifeq (,$(filter-out mipsel,$(ARCH)))
vm/tavolga-alt-p9-jeos-systemd vm/tavolga-alt-p9-jeos-sysv \

View File

@ -2,30 +2,42 @@ ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out armh aarch64,$(ARCH)))
mixin/vm-archdep: use/bootloader/uboot use/no-sleep
@$(call set,KFLAVOURS,mp lts)
else
ifeq (,$(filter-out mipsel,$(ARCH)))
mixin/vm-archdep: use/tty/S0
@$(call set,KFLAVOURS,un-malta)
else
ifeq (,$(filter-out riscv64,$(ARCH)))
mixin/vm-archdep: use/tty/S0
@$(call set,KFLAVOURS,un-def)
else
mixin/vm-archdep: ; @:
endif
endif
endif
@$(call add,KMODULES,staging)
ifeq (,$(filter-out i586 x86_64 armh aarch64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
endif
mixin/regular-vm-base: use/firmware use/ntp/chrony use/repo \
use/services/lvm2-disable
ifneq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,DEFAULT_SERVICES_DISABLE,multipathd)
endif
@$(call add,THE_PACKAGES,bash-completion mc update-kernel)
@$(call add,THE_PACKAGES,vim-console)
@$(call add,THE_LISTS,$(call tags,base regular))
mixin/regular-vm-jeos: mixin/regular-vm-base use/deflogin/root
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1)
ifeq (,$(filter-out riscv64,$(ARCH)))
mixin/regular-vm-x11: mixin/regular-vm-base mixin/regular-x11 \
mixin/regular-desktop use/oem/vnc +wireless; @:
else
mixin/regular-vm-x11: mixin/regular-vm-base mixin/regular-x11 \
mixin/regular-desktop use/oem +wireless; @:
endif
ifeq (,$(filter-out armh aarch64,$(ARCH)))
@$(call add,THE_PACKAGES,xorg-96dpi)
@$(call add,THE_LISTS,remote-access)
@ -43,11 +55,13 @@ vm/.regular-gtk: vm/.regular-desktop use/x11/lightdm/gtk
vm/.regular-qt: vm/.regular-desktop use/x11/sddm; @:
vm/regular-jeos-systemd: vm/systemd-net \
mixin/regular-vm-jeos mixin/vm-archdep; @:
mixin/regular-vm-jeos mixin/vm-archdep
@$(call add,THE_PACKAGES,glibc-locales)
vm/regular-jeos-sysv: vm/net mixin/regular-vm-jeos mixin/vm-archdep +power; @:
vm/regular-builder: vm/regular-jeos-sysv mixin/regular-builder; @:
vm/regular-builder: vm/regular-jeos-sysv mixin/regular-builder
@$(call set,VM_SIZE,10737418240)
vm/regular-icewm-sysv: vm/.regular-desktop-sysv mixin/regular-icewm \
mixin/vm-archdep; @:
@ -63,27 +77,33 @@ vm/regular-mate: vm/.regular-gtk mixin/mate-base mixin/vm-archdep
vm/regular-xfce: vm/.regular-gtk mixin/regular-xfce mixin/vm-archdep
@$(call add,THE_PACKAGES,xfce-reduced-resource)
ifeq (,$(filter-out armh aarch64,$(ARCH)))
@$(call set,KFLAVOURS,mp lts)
endif
vm/regular-kde5: vm/.regular-gtk mixin/regular-kde5 mixin/vm-archdep; @:
vm/regular-lxqt: vm/.regular-gtk mixin/regular-lxqt mixin/vm-archdep; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
# Raspberry Pi 4
vm/regular-jeos-systemd-rpi4: vm/systemd-net mixin/regular-vm-jeos \
use/aarch64-rpi4; @:
vm/regular-jeos-systemd-rpi: vm/systemd-net mixin/regular-vm-jeos use/tty/AMA0 \
use/arm-rpi4/kernel; @:
vm/regular-jeos-sysv-rpi4: vm/net mixin/regular-vm-jeos \
use/aarch64-rpi4 +power; @:
vm/regular-jeos-sysv-rpi: vm/net mixin/regular-vm-jeos use/tty/AMA0 \
use/arm-rpi4/kernel +power; @:
vm/regular-lxde-rpi4: vm/.regular-gtk mixin/regular-lxde use/aarch64-rpi4; @:
vm/regular-builder-rpi: vm/regular-jeos-systemd-rpi mixin/regular-builder; @:
vm/regular-lxqt-rpi4: vm/.regular-gtk mixin/regular-lxqt use/aarch64-rpi4; @:
vm/regular-lxde-rpi: vm/.regular-gtk mixin/regular-lxde use/arm-rpi4/full; @:
vm/regular-mate-rpi4: vm/.regular-gtk mixin/regular-mate use/aarch64-rpi4; @:
vm/regular-lxqt-rpi: vm/.regular-gtk mixin/regular-lxqt use/arm-rpi4/full; @:
vm/regular-xfce-rpi4: vm/.regular-gtk mixin/regular-xfce use/aarch64-rpi4; @:
vm/regular-mate-rpi: vm/.regular-gtk mixin/regular-mate use/arm-rpi4/full; @:
vm/regular-xfce-rpi: vm/.regular-gtk mixin/regular-xfce use/arm-rpi4/full; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
# Nvidia Tegra (Jetson Nano only)
vm/regular-cinnamon-tegra: vm/.regular-gtk mixin/regular-cinnamon \
use/x11/lightdm/slick use/aarch64-tegra; @:
@ -134,6 +154,7 @@ vm/regular-xfce-mcom02-mali: vm/.regular-gtk mixin/regular-xfce \
use/armh-mcom02/mali
@$(call add,THE_PACKAGES,xfce-reduced-resource)
endif
endif
ifeq (,$(filter-out mipsel,$(ARCH)))
# Tavolga

View File

@ -67,25 +67,24 @@ distro/.regular-jeos-base: distro/.regular-bare \
distro/.regular-jeos: distro/.regular-jeos-base use/stage2/kms \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/syslinux/lateboot.cfg use/cleanup/jeos
@$(call add,BASE_KMODULES,guest scsi vboxguest)
@$(call add,BASE_PACKAGES,make-initrd-mdadm cpio)
distro/.regular-jeos-full: distro/.regular-jeos \
use/volumes/jeos use/install2/vmguest use/vmguest/bare \
use/ntp/chrony use/bootloader/grub +efi
use/volumes/jeos use/ntp/chrony use/bootloader/grub +efi
@$(call add,BASE_PACKAGES,nfs-utils gdisk)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,MAIN_PACKAGES,firmware-linux)
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,bridge-utils)
@$(call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
@$(call set,KFLAVOURS,un-def)
@$(call add,BASE_KMODULES,staging)
@$(call set,KFLAVOURS,std-def)
@$(call add,BASE_KMODULES,drm)
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos-sysv: distro/.regular-jeos-full use/cleanup/jeos/full \
+sysvinit; @:
+sysvinit
@$(call add,BASE_PACKAGES,apt-conf-ignore-systemd)
distro/regular-jeos-systemd: distro/.regular-jeos-full \
+systemd +systemd-optimal
@ -149,8 +148,7 @@ distro/regular-gnome3: distro/.regular-desktop mixin/regular-gnome3 +plymouth
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
@$(call add,LIVE_PACKAGES,gnome-flashback screenpen)
distro/regular-lxqt: distro/.regular-gtk mixin/regular-lxqt +plymouth \
use/browser/falkon
distro/regular-lxqt: distro/.regular-gtk mixin/regular-lxqt +plymouth
@$(call add,THE_LISTS,$(call tags,lxqt desktop))
distro/regular-kde5: distro/.regular-desktop \
@ -212,7 +210,7 @@ distro/.regular-server-ovz: distro/.regular-server \
distro/regular-server-ovz: distro/.regular-server-ovz +systemd; @:
distro/regular-server-ovz-sysv: distro/.regular-server-ovz +sysvinit; @:
distro/.regular-server-hyperv: distro/.regular-server-managed +systemd
distro/regular-server-hyperv: distro/.regular-server-managed +systemd
@$(call set,KFLAVOURS,un-def)
@$(call add,THE_PACKAGES,hyperv-daemons)
@$(call add,DEFAULT_SERVICES_DISABLE,bridge smartd)
@ -231,7 +229,7 @@ distro/regular-server-pve: distro/.regular-server-base +systemd \
distro/regular-builder: distro/.regular-bare mixin/regular-builder \
use/dev/builder/full use/stage2/kms +sysvinit +efi +power \
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
use/isohybrid use/syslinux/timeout/30 use/grub/timeout/30 use/stage2/net-eth
use/isohybrid use/syslinux/timeout/300 use/grub/timeout/30 use/stage2/net-eth
@$(call add,THE_PACKAGES,ccache cifs-utils wodim)
distro/regular-server-samba4: distro/.regular-server-managed +systemd

View File

@ -19,6 +19,9 @@ distro/server-v: moosefs = $(addprefix server-v/moosefs/,\
distro/server-v: lizardfs = $(addprefix server-v/lizardfs/,\
cgiserv chunkserver client master metalogger)
distro/server-v: linstor = $(addprefix server-v/linstor/,\
client controller satellite opennebula-addon)
distro/server-v: nfs = $(addprefix server-v/,\
nfs nfs-ganesha)
@ -30,7 +33,7 @@ distro/server-v: openstack = $(addprefix server-v/openstack/,\
# storage
distro/server-v: container = $(addprefix server-v/,\
docker kubernetes podman lxd)
docker kubernetes-master kubernetes-node podman lxd)
distro/server-v: network = $(addprefix server-v/,\
apache2 nginx bird dhcp dns haproxy keepalived openvswitch freeipa-client)
@ -98,16 +101,16 @@ distro/server-v: distro/.server-v-base +installer \
use/apt-conf/branch use/install2/repo
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call set,IMAGE_FLAVOUR,$(subst alt-9-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT Server-V 9.0.0 $(ARCH))
@$(call set,META_VOL_ID,ALT Server-V 9.1.0 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_APP_ID,ALT Server-V 9.0.0 $(ARCH) $(shell date +%F))
@$(call set,META_APP_ID,ALT Server-V 9.1.0 $(ARCH) $(shell date +%F))
@$(call set,DOCS,alt-server-v)
@$(call add,BASE_LISTS,virt/base.pkgs)
@$(call add,MAIN_LISTS,virt/extra.pkgs)
@$(call add,MAIN_GROUPS,server-v/110-opennebula $(opennebula))
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
@$(call add,MAIN_GROUPS,server-v/130-pve server-v/pve)
@$(call add,MAIN_GROUPS,server-v/130-pve server-v/pve server-v/linstor/pve-storage)
endif
@$(call add,MAIN_GROUPS,server-v/140-basic server-v/kvm)
@$(call add,MAIN_GROUPS,server-v/200-container $(container))
@ -117,6 +120,7 @@ endif
@$(call add,MAIN_GROUPS,server-v/420-glusterfs $(glusterfs))
@$(call add,MAIN_GROUPS,server-v/450-nfs $(nfs))
@$(call add,MAIN_GROUPS,server-v/460-iscsi $(iscsi))
@$(call add,MAIN_GROUPS,server-v/470-linstor $(linstor))
@$(call add,MAIN_GROUPS,server-v/500-network $(network))
@$(call add,MAIN_GROUPS,server-v/600-monitoring $(monitoring))
@$(call add,MAIN_GROUPS,server-v/700-backup $(backup))
@ -125,13 +129,16 @@ endif
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
@$(call add,DEFAULT_SERVICES_ENABLE,libvirtd)
@$(call add,DEFAULT_SERVICES_ENABLE,docker lxd)
@$(call add,DEFAULT_SERVICES_ENABLE,docker lxd kubelet kube-proxy)
@$(call add,DEFAULT_SERVICES_ENABLE,bind mysqld openvswitch)
@$(call add,DEFAULT_SERVICES_ENABLE,rsyslogd systemd-journal-gatewayd)
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$(call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd systemd-resolved)
@$(call add,DEFAULT_SERVICES_ENABLE,pve-manager pve-cluster pveproxy pvedaemon pvestatd \
pve-firewall pvefw-logger pve-guests pve-ha-crm pve-ha-lrm spiceproxy \
lxc lxcfs lxc-net lxc-monitord)
# @$(call add,MAIN_GROUPS,server-v/141-cockpit $(cockpit))
# @$(call add,MAIN_GROUPS,server-v/430-moosefs $(moosefs))

View File

@ -21,9 +21,14 @@ ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/slinux: use/slinux/vm-base use/slinux/arm-base; @:
vm/slinux-rpi: vm/slinux use/arm-rpi4/full; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/slinux-tegra: use/slinux/vm-base use/slinux/arm-base \
use/aarch64-tegra; @:
endif
else
vm/slinux: use/slinux/vm-base use/build-vm; @:
vm/slinux: use/slinux/vm-base; @:
endif
endif

View File

@ -37,11 +37,18 @@ ve/pgsql94: ve/generic
ve/samba-DC: ve/generic
@$(call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
ve/systemd-bare: ve/.apt use/net/networkd +systemd \
ve/sysvinit-etcnet: ve/base use/net/etcnet \
use/control/sudo-su use/repo use/net-ssh
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
ve/systemd-bare: ve/.apt +systemd \
use/control/sudo-su use/repo use/net-ssh
@$(call add,BASE_PACKAGES,interactivesystem su)
ve/systemd-base: ve/systemd-bare
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
ve/systemd-networkd: ve/systemd-bare use/net/networkd
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
ve/systemd-etcnet: ve/systemd-bare use/net/etcnet
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
endif

View File

@ -52,7 +52,9 @@ vm/icewm-setup: vm/.desktop-bare mixin/icewm use/oem use/x11-autostart
@$(call add,THE_LISTS,$(call tags,base l10n))
# some arbitrary gigabyte
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/vagrant-base: vm/net use/vagrant
@$(call set,VM_SIZE,10737418240)
endif
endif

View File

@ -1,10 +0,0 @@
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-rpi4: use/bootloader/uboot
@$(call add_feature)
@$(call set,KFLAVOURS,rpi-def rpi-un)
@$(call add,THE_PACKAGES,u-boot-tools)
@$(call add,THE_PACKAGES,RPi-audioswitch)
@$(call add,THE_PACKAGES,rpi4-boot-switch)
endif

View File

@ -0,0 +1,34 @@
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
ifeq (aarch64,$(ARCH))
use/arm-rpi4: use/efi/grub use/uboot
else
use/arm-rpi4: use/bootloader/uboot
endif
@$(call add_feature)
@$(call set,VM_PARTTABLE,msdos)
@$(call add,BASE_KMODULES,staging)
@$(call add,THE_LISTS,uboot)
@$(call add,THE_PACKAGES,u-boot-tools)
@$(call add,THE_PACKAGES,rpi4-boot-switch)
@$(call add,THE_PACKAGES,rpi4-boot-nouboot-filetrigger)
@$(call add,THE_PACKAGES,rpi4-boot-uboot-filetrigger)
@$(call add,THE_PACKAGES,firmware-bcm4345)
@$(call add,THE_PACKAGES,brcm-patchram-plus)
@$(call add,THE_PACKAGES,rpi4-resize-rootpart)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
use/arm-rpi4/x11: use/arm-rpi4 \
use/browser/firefox/i18n use/browser/firefox/esr
@$(call add,THE_PACKAGES,celluloid celluloid-csd-disabled)
use/arm-rpi4/kernel: use/arm-rpi4
ifeq (aarch64,$(ARCH))
@$(call set,KFLAVOURS,rpi-def rpi-un)
else
@$(call set,KFLAVOURS,rpi-def)
endif
use/arm-rpi4/full: use/arm-rpi4/kernel use/arm-rpi4/x11; @:
endif

View File

@ -0,0 +1,10 @@
#!/bin/sh -efu
fffile="/usr/share/applications/firefox.desktop"
panfile="/etc/skel/.config/xfce4/panel/launcher-5/15592088901.desktop"
if [ -f "$fffile" -a -f "$panfile" ]
then
sed -i 's/Chromium/Firefox/' "$panfile"
sed -i 's/chromium/firefox/' "$panfile"
fi

View File

@ -0,0 +1,15 @@
#!/bin/sh -efu
# Change the default application for all file types from mplayer to celluloid
cfile="/usr/share/applications/io.github.celluloid_player.Celluloid.desktop"
mimeappsfile="/usr/share/applications/mimeapps.list"
mimeappslocalfile="/etc/skel/.config/mimeapps.list"
if [ -f "$cfile" -a -f "$mimeappsfile" ]
then
echo "[Default Applications]" > "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
echo "" >> "$mimeappslocalfile"
echo "[Added Associations]" >> "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
fi

View File

@ -0,0 +1,11 @@
#!/bin/sh -efu
# Changed audio scheduling from timer-based to
# interrupt-driven to prevent unwanted crackle.
pafile="/etc/pulse/default.pa"
if [ -f "$pafile" ]
then
sed -i 's/^load-module module-udev-detect$/load-module module-udev-detect tsched=0/' "$pafile"
fi

View File

@ -0,0 +1,5 @@
#!/bin/sh -efu
# For resize rootfs with systemd-growfs@-.service
# set x-systemd.growfs option in /etc/fstab for rootfs
sed -i '/^LABEL=ROOT/s/defaults/defaults,x-systemd.growfs/' /etc/fstab

View File

@ -0,0 +1,12 @@
#!/bin/sh -efu
# By default, in cpufreq-simple feature the ondemand governor is configured.
# But only the conservative governor is available at Raspberry Pi 4 kernels.
# This is change the default governor to conservative.
cfgfile="/etc/sysconfig/cpufreq-simple"
if [ -f "$cfgfile" ]
then
echo "GOVERNOR_AC_ON=conservative" >> "$cfgfile"
echo "GOVERNOR_AC_OFF=conservative" >> "$cfgfile"
fi

View File

@ -1,5 +1,8 @@
#!/bin/sh -efu
target_dir='/boot/efi'
mkdir -p "$target_dir"
(
cat << 'EOF'
arch=arm
@ -27,12 +30,10 @@ cpu=armv8
dhcpuboot=usb start; dhcp u-boot.uimg; bootm
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
ethaddr=dc:a6:32:1a:86:f4
fdt_addr=6000000
fdt_addr_r=0x06000000
fdt_high=ffffffffffffffff
fdtcontroladdr=3af59a70
fdtfile=bcm2711-rpi-4-b.dtb
initrd_high=ffffffffffffffff
kernel_addr_r=0x00080000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
@ -51,8 +52,7 @@ soc=bcm283x
stderr=serial,vidconsole
stdin=serial,usbkbd
stdout=serial,vidconsole
usbethaddr=dc:a6:32:1a:86:f4
vendor=raspberrypi
EOF
) | mkenvimage -s 16384 -o /usr/share/u-boot/rpi_4/uboot.env -
) | mkenvimage -s 16384 -o "$target_dir/uboot.env" -

View File

@ -0,0 +1,45 @@
#!/bin/sh -eu
kflavour=
kflavour="${GLOBAL_KFLAVOURS%% *}"
mkdir -p /boot/efi
uboots="rpi_3 rpi_3_32b rpi_4 rpi_4_32b"
for uboot in $uboots; do
[ -d /usr/share/u-boot/$uboot ] &&
cp -f /usr/share/u-boot/$uboot/* /boot/efi/
[ -f /boot/efi/kernel8.img ] &&
mv /boot/efi/{kernel8.img,uboot-$uboot.bin}
[ -f /boot/efi/kernel7.img ] &&
mv /boot/efi/{kernel7.img,uboot-$uboot.bin}
done
rm -f /boot/efi/config.txt
[ "$GLOBAL_ARCH" = aarch64 ] && \
echo "arm_64bit=1" > /boot/efi/config.txt
cat >> /boot/efi/config.txt <<EOF
enable_uart=1
disable_overscan=1
dtparam=audio=on
[pi3]
kernel=uboot-rpi_3.bin
# dtoverlay=vc4-kms-v3d
[pi4]
kernel=uboot-rpi_4.bin
dtoverlay=vc4-fkms-v3d
[all]
EOF
[ "$GLOBAL_ARCH" = armh ] && \
sed -i 's/.bin/_32b.bin/g' /boot/efi/config.txt
# Enable bootloading without u-boot
sh -x rpi4-boot-nouboot $kflavour
exit 0

View File

@ -4,6 +4,7 @@ use/armh-mcom02: use/bootloader/uboot use/tty/S0 use/no-sleep
@$(call add_feature)
@$(call set,KFLAVOURS,mcom02)
@$(call add,THE_PACKAGES,u-boot-mcom02-firmware-tools u-boot-mcom02)
@$(call add,THE_PACKAGES,extlinux-fdtdir-cleanup-filetrigger)
use/armh-mcom02/x11: use/armh-mcom02
@$(call add,THE_PACKAGES,xorg-drv-fbturbo)

View File

@ -9,16 +9,18 @@
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
use/bootloader: use/pkgpriorities
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add_feature)
@$(call try,BASE_BOOTLOADER,grub)
@$(call xport,BASE_BOOTLOADER)
@$(call add,BASE_LISTS,$$(BASE_BOOTLOADER))
@$(call xport,BASE_BOOTARGS)
ifeq (distro,$(IMAGE_CLASS))
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
@$(call add,BASE_PACKAGES,installer-feature-bootloader-$$(BASE_BOOTLOADER))
@$(call add,PINNED_PACKAGES,alterator-$$(BASE_BOOTLOADER))
@$(call add,PINNED_PACKAGES,installer-bootloader-$$(BASE_BOOTLOADER)-stage2)
endif
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/bootloader/lilo: \
@ -39,8 +41,10 @@ endif
use/bootloader/uboot: use/bootloader use/uboot
@$(call set,BASE_BOOTLOADER,uboot)
use/bootloader/live: use/bootloader
use/bootloader/live: use/bootloader; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,LIVE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
endif
use/bootloader/os-prober: use/bootloader
@$(call add,BASE_PACKAGES,os-prober)

View File

@ -4,16 +4,27 @@ use/branding:
# license notes, if any
use/branding/notes: use/branding
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_BRANDING,notes)
endif
# NB: not every distro might have all the branding of its own
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot \
use/grub/ui/gfxboot
@$(call add,THE_BRANDING,alterator bootloader bootsplash graphics)
@$(call add,THE_BRANDING,alterator graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,THE_BRANDING,bootloader)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_BRANDING,bootsplash)
endif
use/branding/complete: use/branding/full use/plymouth/full
@$(call add,INSTALL2_BRANDING,notes slideshow)
@$(call add,INSTALL2_BRANDING,slideshow)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_BRANDING,notes)
endif
# http://altlinux.org/branding/slideshow
use/branding/slideshow/once: use/branding

View File

@ -3,17 +3,27 @@ use/browser:
@$(call add,THE_PACKAGES,$$(THE_BROWSER))
@$(call try,THE_BROWSER,elinks) # X11-less fallback
# amend as neccessary; firefox is treated separately due to its flavours
BROWSERS_i586 = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_x86_64 := $(BROWSERS_i586)
BROWSERS_ppc64el = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_aarch64 = chromium netsurf epiphany falkon otter-browser elinks links2
BROWSERS_armh = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_mipsel = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_riscv64 = netsurf elinks
BROWSERS_e2k = netsurf elinks links2
BROWSERS_e2kv4 := $(BROWSERS_e2k)
BROWSERS := $(BROWSERS_$(ARCH))
$(addprefix use/browser/,$(BROWSERS)): use/browser/%: use/browser
@$(call set,THE_BROWSER,$*)
# support both firefox and firefox-esr
use/browser/firefox: use/browser
@$(call set,THE_BROWSER,firefox$$(FX_FLAVOUR))
use/browser/seamonkey use/browser/netsurf \
use/browser/chromium use/browser/epiphany \
use/browser/falkon use/browser/otter-browser \
use/browser/elinks use/browser/links2: \
use/browser/%: use/browser
@$(call set,THE_BROWSER,$*)
# the complete lack of dependencies is intentional
use/browser/firefox/esr:
@$(call set,FX_FLAVOUR,-esr)

View File

@ -0,0 +1,24 @@
#!/bin/sh -efu
### Ensure that all the necesary system groups exist
SCRIPT="/usr/share/install2/postinstall.d/86-all-groups"
cat > "$SCRIPT" << EOF
#!/bin/sh -efu
. install2-init-functions
# don't override the script start message on the same line
echo "Ensuring that all the necesary system groups exist"
echo '/usr/share/install3/default-groups
/etc/alterator/auth/user-groups
/etc/alterator/auth/admin-groups' \
| while read LIST; do
[ -s "\$destdir\$LIST" ] || continue
for GROUP in \$(cat "\$destdir\$LIST"); do
exec_chroot groupadd -r "\$GROUP" &>/dev/null ||:
done
done
EOF
chmod +x "$SCRIPT"

View File

@ -0,0 +1,13 @@
#!/bin/sh -eu
# ensure that all the necesary system groups exist
echo '/usr/share/install3/default-groups
/etc/alterator/auth/user-groups
/etc/alterator/auth/admin-groups' \
| while read LIST; do
[ -s "$LIST" ] || continue
for GROUP in $(cat "$LIST"); do
groupadd -r "$GROUP" &>/dev/null ||:
done
done

View File

@ -22,7 +22,10 @@ use/dev/builder/full: use/dev use/dev/builder/live use/dev/repo
@$(call set,KFLAVOURS,$(BIGRAM))
@$(call add,THE_LISTS,$(call tags,server extra))
@$(call add,MAIN_LISTS,$(call tags,live builder))
@$(call add,MAIN_PACKAGES,syslinux pciids memtest86+ xorriso)
ifeq (,$(filter-out i586 x86_64 ,$(ARCH)))
@$(call add,MAIN_PACKAGES,syslinux memtest86+)
endif
@$(call add,MAIN_PACKAGES,pciids xorriso)
@$(call add,LIVE_PACKAGES,sudo perl-Gear-Remotes)
use/dev/groups/builder: use/dev/repo

View File

@ -15,7 +15,11 @@ use/docs/manual: use/docs
@$(call xport,DOCS)
@$(call add,THE_PACKAGES,docs-$$(DOCS))
ifneq (,$(filter-out e2k%,$(ARCH)))
use/docs/license: use/docs use/branding/notes
@$(call set,META_LICENSE_FILE,license.all.html)
else
use/docs/license:; @:
endif
use/docs/full: use/docs/indexhtml use/docs/manual use/docs/license; @:

View File

@ -1,60 +1,50 @@
use/e2k:
use/e2k: use/tty/S0
@$(call add_feature)
@$(call add,THE_PACKAGES,pwmd) # service disabled by default
@$(call add,BASE_PACKAGES,installer-feature-e2k-fix-clock-stage3)
# at least one of these is requisite
use/e2k/1cp use/e2k/4c use/e2k/8c: use/e2k/%: use/e2k
@$(call set,KFLAVOURS,elbrus-$*)
@$(call add,LIVE_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,LIVE_PACKAGES,installer-feature-e2k-ignore-cf-stage2)
@$(call add,LIVE_PACKAGES,livecd-installer-features)
@$(call add,LIVE_PACKAGES,blacklist-ide) # avoid overwriting hda
@$(call add,STAGE2_PACKAGES,agetty)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-xorg-conf-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-fstrim-stage2)
@$(call add,INSTALL2_PACKAGES,blacklist-ide) # avoid overwriting hda
@$(call add,INSTALL2_PACKAGES,ifplugd) # for net-eth link status
@$(call add,INSTALL2_CLEANUP_PACKAGES,llvm)
@$(call set,KFLAVOURS,elbrus-def) # no other flavours for now
@$(call xport,STAGE2_BOOTARGS)
use/e2k/x11: use/e2k use/x11
@$(call add,THE_PACKAGES,xorg-server xinit)
use/e2k/x11/401: use/e2k/x11 use/e2k/4c
@$(call add,THE_PACKAGES,xorg-conf-e401-radeon)
@$(call add,THE_PACKAGES,xorg-drv-ati)
ifeq (,$(filter-out e2kv4,$(ARCH)))
use/e2k/x11/101: use/e2k/x11
@$(call add,MAIN_GROUPS,x-e2k/91-e101)
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e101-modesetting e101-mga2))
use/e2k/x11/801: use/e2k/x11 use/e2k/8c
@$(call add,THE_PACKAGES,xorg-conf-e801-radeon)
@$(call add,THE_PACKAGES,xorg-drv-ati)
use/e2k/multiseat/801/base:
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-multiseat)
@$(call add,MAIN_GROUPS,x-e2k/90-e801)
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-1seat e801-2seat))
use/e2k/x11/.101: use/e2k/x11 use/e2k/1cp; @:
use/e2k/multiseat/801: use/e2k/multiseat/801/base
@$(call add,MAIN_GROUPS,$(addprefix x-e2k/,e801-3seat e801-6seat))
use/e2k/x11/101/modesetting: use/e2k/x11/.101
@$(call add,THE_PACKAGES,xorg-conf-e101-modesetting)
@$(call add,THE_PACKAGES,dummy-xorg-drv-vivante)
use/e2k/x11/101/mga2: use/e2k/x11/.101
@$(call add,THE_PACKAGES,xorg-conf-e101-mga2)
@$(call add,THE_PACKAGES,xorg-drv-mga2 vivante_glx)
use/e2k/x11/101: use/e2k/x11/101/modesetting
@$(call add,MAIN_PACKAGES,xorg-conf-e101-mga2)
@$(call add,MAIN_PACKAGES,xorg-drv-mga2 vivante_glx)
use/e2k/install2: use/e2k
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-fstrim-stage2)
@$(call add,INSTALL2_CLEANUP_PACKAGES,llvm)
use/e2k/install2/desktop: use/e2k/install2
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-ignore-cf-stage2)
use/e2k/install2/4xx: use/e2k/install2 use/e2k/4c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e4xx-fbdev)
use/e2k/install2/401: use/e2k/install2/desktop use/e2k/4c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e401-modesetting)
use/e2k/install2/801: use/e2k/install2/desktop use/e2k/8c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e801-modesetting)
use/e2k/install2/101: use/e2k/install2/desktop use/e2k/1cp
@$(call add,INSTALL2_PACKAGES,xorg-conf-e101-modesetting)
@$(call add,INSTALL2_PACKAGES,dummy-xorg-drv-vivante)
use/e2k/multiseat/801/full: use/e2k/multiseat/801 use/control
@$(call add,MAIN_GROUPS,x-e2k/x-autologin)
@$(call add,THE_PACKAGES,test-audio)
@$(call add,CONTROL,udisks2:shared) ### media mount exclusivity
else
use/e2k/x11/101:; @:
use/e2k/multiseat/801/base use/e2k/multiseat/801 use/e2k/multiseat/801/full:; @:
endif # e2kv4
ifeq (,$(filter-out e2k,$(ARCH)))
use/e2k/sound/401:
@$(call add,THE_PACKAGES,setup-alsa-elbrus-401)
use/e2k/401: use/e2k/install2/401 use/e2k/x11/401 use/e2k/sound/401; @:
use/e2k/801: use/e2k/install2/801 use/e2k/x11/801; @:
use/e2k/101: use/e2k/install2/101 use/e2k/x11/101; @:
else
use/e2k/sound/401:; @:
endif # e2k

View File

@ -0,0 +1,5 @@
#!/bin/sh
# e2k power button handling relies on acpid-events-e2k and
# acpid itself; installer-distro-simply-linux breaks that
sed -i '/acpid/d' /usr/share/install2/systemd-disabled ||:

View File

@ -0,0 +1,4 @@
#!/bin/sh
# do not toss online repos into installer
rm -f -- /etc/apt/sources.list.d/*.list ||:

View File

@ -1,4 +0,0 @@
#!/bin/sh
# e2k images are distributed through MCST now with a separate agreement
sed -i '/license/d' /usr/share/install2/installer-steps ||:

View File

@ -0,0 +1,7 @@
#!/bin/sh
# borrowed from installer-feature-local-clock
. install2-init-functions
. shell-config
shell_config_set /etc/sysconfig/clock UTC true

View File

@ -0,0 +1,50 @@
#!/bin/sh
echo "** 20-e2k-boot START"
cd "$WORKDIR"
# slightly different logic as there's no boot *menu*:
# ensure the user can install this if possible
[ -f live ] && default=live
[ -f rescue ] && default=rescue
[ -f altinst ] && default=install
cat > boot.conf << EOF
# USB Flash note: write the contents including .disk/ onto
# an ext2 formatted drive with "altinst" filesystem label
default=$default
timeout=3
EOF
for i in live altinst rescue; do
[ -f "$i" ] || continue
if [ "$i" = "altinst" ]; then
label=install
stage2=
else
label="$i"
stage2="stagename=$i"
fi
cat >> boot.conf << EOF
label=$label
partition=0
image=/alt0/vmlinux.0
cmdline=console=ttyS0,115200 console=tty0 hardreset fastboot live automatic=method:cdrom ${stage2:+$stage2 }${GLOBAL_STAGE2_BOOTARGS:+$GLOBAL_STAGE2_BOOTARGS }${GLOBAL_BOOT_LANG:+lang=$GLOBAL_BOOT_LANG}
initrd=/alt0/full.cz
label=${label}_flash
partition=0
image=/alt0/vmlinux.0
cmdline=console=ttyS0,115200 console=tty0 hardreset fastboot live lowmem automatic=method:disk,label:altinst,directory:/ ${stage2:+$stage2 }${GLOBAL_STAGE2_BOOTARGS:+$GLOBAL_STAGE2_BOOTARGS }${GLOBAL_BOOT_LANG:+lang=$GLOBAL_BOOT_LANG}
initrd=/alt0/full.cz
EOF
done
ls -lh
echo "** 20-e2k-boot END"

View File

@ -0,0 +1,6 @@
#!/bin/sh
# e2k images are distributed through MCST now with a separate agreement
sed -i '/license/d' \
/usr/share/install2/installer-steps \
/etc/livecd-install/steps ||:

View File

@ -11,10 +11,8 @@ use/efi:
@$(call set,MKI_VER_MINIMAL,0.2.12) # it's official now
@$(call set,MKI_VER_OPTIMAL,0.2.17) # for EFI_BOOTARGS
@$(call try,EFI_BOOTLOADER,grub-efi) # default one
@$(call add,THE_PACKAGES,$$(EFI_BOOTLOADER))
@$(call xport,EFI_BOOTLOADER)
@$(call add,THE_LISTS,$(EFI_LISTS))
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
ifeq (distro,$(IMAGE_CLASS))
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
@ -22,6 +20,7 @@ ifeq (distro,$(IMAGE_CLASS))
@$(call add,EFI_BOOTARGS,$$(STAGE2_BOOTARGS))
ifeq (x86_64,$(ARCH))
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL) $$(EFI_BOOTLOADER))
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
endif
endif

View File

@ -10,11 +10,6 @@ ifeq (,$(filter-out i586 x86_64,$(ARCH)))
endif
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
@$(call set,IMAGE_PACKTYPE,boot)
else
use/grub: ; @:
endif
# UI is overwritten
use/grub/ui/%: use/grub
@ -26,6 +21,11 @@ use/grub/ui/%: use/grub
use/grub/%.cfg: use/grub
@$(call add,GRUB_CFG,$*)
use/grub/timeout/%: use/grub
@$(call set,GRUB_TIMEOUT,$*)
else
use/grub: ; @:
use/grub/ui/% use/grub/%.cfg use/grub/timeout/%: ; @:
endif

View File

@ -1,7 +1,7 @@
ifdef BUILDDIR
# in deciseconds
DEFAULT_TIMEOUT = 90
# in seconds
DEFAULT_TIMEOUT = 60
# prepare data for grub installation;
# see also stage1/scripts.d/01-grub

View File

@ -40,6 +40,16 @@ fi
# there should be DEFAULT directive there (at least for alterator-netinst)
default_change() {
local CFG=$1
if [ -n "$GLOBAL_GRUB_DEFAULT" ]; then
if [ -n "$(grep -i "$GLOBAL_GRUB_DEFAULT" "$CFG")" ]; then
DEFAULT="$GLOBAL_GRUB_DEFAULT"
sed -i '/^default/d'
echo "default=$DEFAULT" >> "$CFG"
else
echo "error: $GLOBAL_GRUB_DEFAULT missing in $CFG" >&2
exit 1
fi
fi
if ! grep -i '^default' "$CFG"; then
DEFAULT="$(grep -i '\-\-id ' "$CFG" | head -1 | rev| cut -f2 -d' ' |rev)"
if [ -n "$DEFAULT" ]; then

View File

@ -9,9 +9,10 @@ use/install2: use/stage2 sub/stage2@install2 use/metadata \
@$(call add,INSTALL2_PACKAGES,installer-distro-$$(INSTALLER)-stage2)
@$(call add,INSTALL2_PACKAGES,branding-$$(BRANDING)-alterator)
@$(call add,BASE_PACKAGES,branding-$$(BRANDING)-release)
@$(call add,BASE_PACKAGES,installer-distro-$$(INSTALLER)-stage3)
@$(call add,BASE_PACKAGES,installer-common-stage3)
@$(call add,BASE_PACKAGES,glibc-gconv-modules) # for guile22
@$(call add,BASE_LISTS,$(call tags,basesystem))
@$(call add,BASE_LISTS,$(call tags,basesystem && !alterator))
@$(call xport,BASE_BOOTLOADER)
@$(call xport,INSTALL2_CLEANUP_PACKAGES)
@$(call xport,INSTALL2_CLEANUP_KDRIVERS)
@ -19,7 +20,7 @@ use/install2: use/stage2 sub/stage2@install2 use/metadata \
# doesn't use/install2/fs on purpose (at least so far)
use/install2/full: \
use/install2/packages use/install2/vmguest use/install2/tools \
use/syslinux/ui/menu use/bootloader
use/syslinux/localboot.cfg use/syslinux/ui/menu use/bootloader
@$(call add,INSTALL2_PACKAGES,xorg-drv-synaptics)
@$(call add,INSTALL2_PACKAGES,xorg-drv-libinput)

View File

@ -59,11 +59,11 @@ endif
ifeq (,$(filter-out e2k% ppc64le,$(ARCH)))
@$(call add,VM_INITRDFEATURES,usb)
endif
ifneq (,$(filter-out e2k%,$(ARCH)))
ifneq (,$(filter-out e2k% riscv64,$(ARCH)))
@$(call add,VM_INITRDFEATURES,qemu)
endif
@$(call add,VM_INITRDMODULES,virtio-scsi virtio-blk virtio-rng virtio_net)
@$(call add,VM_INITRDMODULES,virtio-mmio virtio_pci virtio_console virtio_input)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call add,VM_INITRDMODULES,ipr ibmvscsi)
endif

View File

@ -44,7 +44,8 @@ use/live/x11: use/live/base use/deflogin/desktop use/x11-autologin use/sound \
# this target specifically pulls free xorg drivers in (and a few more bits);
# a browser is requested too, the recommended one can be overridden downstream
use/live/desktop: use/live/x11 use/x11/xorg use/x11/wacom \
use/l10n use/browser/firefox/live use/xdg-user-dirs/deep +vmguest; @:
use/l10n use/browser/firefox/live use/xdg-user-dirs/deep \
use/syslinux/localboot.cfg +vmguest; @:
# preconfigure apt for both live and installed-from-live systems
use/live/repo: use/live
@ -56,14 +57,18 @@ use/live/repo/online:
@$(call add,LIVE_PACKAGES,livecd-online-repo)
# alterator-based permanent installation
use/live/install: use/metadata use/xdg-user-dirs \
use/live/install: use/metadata use/xdg-user-dirs use/syslinux/localboot.cfg \
use/bootloader/live use/bootloader/grub
@$(call add,LIVE_PACKAGES,livecd-install)
@$(call add,LIVE_PACKAGES,livecd-installer-features)
# text-based installation script
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/live/textinstall: use/syslinux/lateboot.cfg
@$(call add,LIVE_PACKAGES,live-install)
else
use/live/textinstall: ; @:
endif
# a very simplistic one
use/live/.x11: use/live use/x11 use/x11-autologin

View File

@ -31,7 +31,7 @@ metadata-.base:
if [ -n "$(DOT_BASE)" ]; then \
echo -e "\n## DOT_BASE\n$(DOT_BASE)"; \
fi; \
} | sed -re '/^[^[:space:]#]/ s/[[:space:]]+/\n/g' > .base
} | sed -re 's/^[[:space:]]+//' | sed -re '/^[^[:space:]#]/ s/[[:space:]]+/\n/g' > .base
# see also alterator-pkg (backend3/pkg-install);
# we only tar up what's up to it (note that e.g.

View File

@ -6,12 +6,16 @@
fatal() { echo "error: $*" >&2; exit 1; }
# simple etcnet configurations are also picked up by NM
if [ -n "$GLOBAL_NMCTL" ]; then
NMCTL="$GLOBAL_NMCTL"
else
if type -t NetworkManager >&/dev/null ||
type -t connmand >&/dev/null; then
NMCTL=yes
else
NMCTL=no
fi
fi
ETCNET_IFDIR="/etc/net/ifaces"
SYSTEMD_IFDIR="/etc/systemd/network"

View File

@ -1,8 +1,9 @@
+nm: use/net/nm; @:
use/net: use/services
use/net: use/services use/pkgpriorities
@$(call add_feature)
@$(call add,THE_PACKAGES,$$(THE_NET_SUBSYS))
@$(call add,PINNED_PACKAGES,$$(THE_NET_SUBSYS))
@$(call set,THE_NET_SUBSYS,network-config-subsystem)
use/net/etcnet: use/net

View File

@ -1,5 +1,15 @@
use/oem: use/services use/branding
@$(call add_feature)
@$(call add,DEFAULT_SERVICES_ENABLE,messagebus alteratord setup)
@$(call add,DEFAULT_SERVICES_ENABLE,messagebus alteratord)
@$(call add,THE_PACKAGES,alterator-setup alterator-notes)
@$(call add,THE_PACKAGES,rootfs-installer-features)
@$(call add,THE_BRANDING,alterator notes)
@$(call try,OEM_TARGET,setup)
@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
@$(call xport,OEM_TARGET)
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
@$(call set,OEM_TARGET,setup-vnc)
@$(call set,NMCTL,no)
@$(call xport,NMCTL)

View File

@ -2,7 +2,7 @@
# this breaks the default configuration on intent
# so that alterator-setup can run predictably
TARGET=/lib/systemd/system/setup.target
TARGET=/lib/systemd/system/$GLOBAL_OEM_TARGET.target
[ ! -s "$TARGET" ] ||
ln -s "$TARGET" /etc/systemd/system/default.target

View File

@ -1,3 +1,8 @@
ifeq (,$(filter-out riscv64,$(ARCH)))
# not available on riscv64 at the moment
use/office use/office/LibreOffice/still use/office/LibreOffice/full: ; @:
else
use/office:
@$(call add_feature)
@$(call try,THE_OFFICE,abiword gnumeric)
@ -8,18 +13,33 @@ use/office/LibreOffice: use/office
@$(call set,THE_OFFICE,LibreOffice$$(LO_FLAVOUR))
# the complete lack of dependencies is intentional
use/office/LibreOffice/still:
use/office/LibreOffice/still: ; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call set,LO_FLAVOUR,-still)
endif
use/office/LibreOffice/lang: use/office/LibreOffice
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-kk)
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-ru)
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-uk)
use/office/LibreOffice/lang/extra: use/office/LibreOffice/lang
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-es)
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-pt-BR)
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5: \
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated: \
use/office/LibreOffice/%: use/office/LibreOffice
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)
use/office/LibreOffice/full: use/office/LibreOffice/still \
use/office/LibreOffice/gtk3 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated; @:
use/office/calligra: use/office
@$(call set,THE_OFFICE,calligra)
endif # !riscv64

View File

@ -3,9 +3,13 @@
# distributions
DISTRO_EXTS := .iso
use/pack:
use/pack::
@$(call add_feature)
ifeq (,$(filter-out e2k%,$(ARCH)))
use/pack:: use/e2k; @:
endif
# fallback type is isodata, might get set elsewhere to produce bootable iso
use/pack/iso: use/pack
@$(call try,IMAGE_PACKTYPE,isodata)

View File

@ -3,7 +3,9 @@
# common
use/power: sub/rootfs use/services
@$(call add_feature)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,COMMON_PACKAGES,installer-feature-powerbutton-stage3)
endif
# modern power management
use/power/acpi: use/power
@ -11,10 +13,12 @@ use/power/acpi: use/power
@$(call add,DEFAULT_SERVICES_ENABLE,acpid)
use/power/acpi/button: use/power/acpi
@$(call add,COMMON_PACKAGES,acpid-events-power)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,COMMON_PACKAGES,acpid-events-e2k)
@$(call add,DEFAULT_SERVICES_ENABLE,sysfs)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-power-stage2)
@$(call add,DEFAULT_SERVICES_ENABLE,acpid sysfs)
else
@$(call add,COMMON_PACKAGES,acpid-events-power)
endif
use/power/acpi/powersave: use/power/acpi

View File

@ -1,6 +1,6 @@
#!/bin/sh -efu
# provide kernel interface for ACPI power button
if [ -x /etc/init.d/acpid ]; then
if [ `arch` != e2k -a -x /etc/init.d/acpid ]; then
grep -qsx button /etc/modules || echo button >> /etc/modules
fi

View File

@ -2,7 +2,7 @@ use/server: sub/rootfs use/services
@$(call add_feature)
use/server/base: use/server use/firmware/server \
use/net-ssh use/syslinux/timeout/600 use/grub/timeout/600
use/net-ssh use/syslinux/timeout/600 use/grub/timeout/60
@$(call set,BOOTVGA,)
@$(call add,THE_LISTS,server-base)
@$(call add,THE_KMODULES,e1000e igb)
@ -32,7 +32,7 @@ use/server/ovz: use/server/ovz-base
use/server/virt: use/server use/kernel
@$(call add,BASE_PACKAGES,openssh)
@$(call set,STAGE1_KFLAVOUR,std-def)
@$(call set,KFLAVOURS,un-def std-def)
@$(call set,KFLAVOURS,std-def)
@$(call add,THE_KMODULES,kvm)
# NB: examine zabbix-preinstall package, initialization is NOT automatic!

View File

@ -46,8 +46,14 @@ use/slinux/services: use/slinux/services-enabled use/slinux/services-disabled
use/slinux/arm-base: use/x11/armsoc use/bootloader/uboot
ifeq (,$(filter-out riscv64,$(ARCH)))
use/slinux/vm-base: vm/systemd \
use/oem/vnc use/bootloader/uboot use/slinux/mixin-base
@$(call set,KFLAVOURS,un-def)
else
use/slinux/vm-base: vm/systemd \
use/oem use/slinux/mixin-base
endif
@$(call add,THE_LISTS,slinux/games-base)
@$(call add,THE_LISTS,slinux/graphics-base)
@$(call add,THE_LISTS,slinux/multimedia-base)
@ -60,7 +66,9 @@ use/slinux/vm-base: vm/systemd \
@$(call add,THE_PACKAGES,installer-feature-sudo-enable-by-default-stage3)
use/slinux/mixin-base: use/slinux use/x11/xorg use/x11/lightdm/gtk +pulse \
+nm use/x11/gtk/nm +systemd +systemd-optimal +wireless use/l10n/default/ru_RU \
+nm use/x11/gtk/nm +systemd +systemd-optimal +wireless \
use/l10n/default/ru_RU \
use/office/LibreOffice/full \
use/docs/manual use/docs/indexhtml \
use/xdg-user-dirs/deep use/slinux/services
@$(call set,DOCS,simply-linux)

View File

@ -1,8 +1,8 @@
kernel/drivers/usb/host
kernel/drivers/usb/storage
ehci-hcd.ko
ehci-pci
ehci-platform
ehci-pci.ko
ehci-platform.ko
ohci-hcd.ko
uas.ko
uhci-hcd.ko
@ -10,4 +10,4 @@ usb-storage.ko
usbcore.ko
xhci-hcd.ko
xhci-pci.ko
xhci-plat-hcd
xhci-plat-hcd.ko

View File

@ -1,4 +1,4 @@
label harddisk
menu label ^Boot from hard drive as usual
localboot 0x80
localboot -2

View File

@ -1,3 +1,5 @@
default linux
label linux
menu label ^Install @relname@
kernel alt0/vmlinuz

View File

@ -1,7 +1,7 @@
ifdef BUILDDIR
# in deciseconds
DEFAULT_TIMEOUT = 90
DEFAULT_TIMEOUT = 600
# prepare data for syslinux installation;
# see also stage1/scripts.d/01-syslinux

View File

@ -34,6 +34,16 @@ fi
grep -hv '^#' .in/[0-9][0-9]*.cfg > "$CFG"
# there should be DEFAULT directive there (at least for alterator-netinst)
if [ -n "$GLOBAL_SYSLINUX_DEFAULT" ]; then
if [ -n "$(grep -i "^label $GLOBAL_SYSLINUX_DEFAULT" "$CFG")" ]; then
DEFAULT="$GLOBAL_SYSLINUX_DEFAULT"
sed -i '/^default/d'
echo "default $DEFAULT" >> "$CFG"
else
echo "error: $GLOBAL_SYSLINUX_DEFAULT missing in $CFG" >&2
exit 1
fi
fi
if ! grep -i '^default' "$CFG"; then
DEFAULT="$(grep -i '^label ' "$CFG" | head -1 | cut -f2 -d' ')"
if [ -n "$DEFAULT" ]; then

View File

@ -2,12 +2,25 @@ ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
UBOOT_TTY := use/tty/AMA0
else
UBOOT_TTY := /use/tty/S0
UBOOT_TTY := use/tty/S0
endif
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
UBOOT_TTY := use/tty/S0
endif
ifneq (,$(filter-out i586 x86_64,$(ARCH)))
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)
@$(call try,TTY_DEV,tty1)
@$(call xport,TTY_DEV)
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
@$(call add,UBOOT_BOOTARGS,cma=192M)
endif
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif
@$(call xport,UBOOT_BOOTARGS)
else
use/uboot: ; @:
endif

View File

@ -1,10 +1,8 @@
#!/bin/sh
if [ -n "$GLOBAL_TTY_RATE" ] ;then
TTY="$GLOBAL_TTY_DEV","$GLOBAL_TTY_RATE"
else
TTY="$GLOBAL_TTY_DEV"
fi
TTY=
echo $GLOBAL_BASE_BOOTARGS | grep console= ||
TTY='console=tty1'
# installkernel relies on existing extlinux.conf
# with filled in `default' label
@ -13,11 +11,11 @@ cat > /boot/extlinux/extlinux.conf << EOF
menu title ALTLinux Boot Options
default linux
timeout 20
timeout 70
label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
fdtdir /boot/dtb
append root=LABEL=ROOT ro cma=192M console=$TTY
append root=LABEL=ROOT ro $GLOBAL_BASE_BOOTARGS $GLOBAL_UBOOT_BOOTARGS $TTY
EOF

View File

@ -33,7 +33,8 @@ use/vmguest/vmware:
@$(call add,THE_PACKAGES,open-vm-tools)
use/vmguest/vmware/x11: use/vmguest/vmware
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse open-vm-tools-desktop)
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,open-vm-tools-desktop)
else
@ -42,15 +43,22 @@ use/vmguest/bare: use/vmguest/kvm; @:
use/vmguest/base: use/vmguest/bare; @:
use/vmguest/complete: use/vmguest/base use/vmguest/kvm/x11; @:
use/vmguest/base: use/vmguest/kvm
endif
else
# kvm-unsupported guest arch
use/vmguest: ; @:
use/vmguest/bare: ; @:
use/vmguest/base: ; @:
use/vmguest/complete: ; @:
ifeq (,$(filter-out e2k%,$(ARCH)))
# no kvm before e2kv6 either
use/vmguest/kvm use/vmguest/kvm/x11: ; @:
endif
endif
+vmguest: use/vmguest/complete; @:

View File

@ -0,0 +1,4 @@
This feature allows to use X11 through VNC server. It adds x11vnc package and
sets default password to alt. Another thing is that this feature adds dummy
video adapter configuration to the /etc/X11/xorg.conf.d/. x11vnc becomes
default service.

View File

@ -0,0 +1,4 @@
use/x11-vnc:
@$(call add,THE_PACKAGES,x11vnc x11vnc-service xorg-drv-dummy)
@$(call add,DEFAULT_SERVICES_ENABLE,x11vnc)
@$(call add_feature)

View File

@ -0,0 +1,35 @@
#!/bin/sh
# setup X11 to use it with a VNC
CFG=/root/.vnc/
[ -d "$CFG" ] || mkdir -p "$CFG"
x11vnc -storepasswd alt "$CFG"/passwd
cat > /etc/X11/xorg.conf.d/51-dummy.conf << EOF
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
VideoRam 16384
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Virtual 1024 768
EndSubSection
EndSection
EOF

View File

@ -12,13 +12,13 @@ use/x11:
@$(call add,THE_KMODULES,$$(NVIDIA_KMODULES) $$(RADEON_KMODULES))
@$(call add,THE_PACKAGES,$$(NVIDIA_PACKAGES) $$(RADEON_PACKAGES))
use/x11/xorg:: use/x11 use/x11/armsoc; @:
# x86: free drivers for various hardware (might lack acceleration)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
use/x11/xorg: use/x11/intel use/x11/nouveau use/x11/radeon use/x11/amdgpu \
use/x11/xorg:: use/x11/intel use/x11/nouveau use/x11/radeon use/x11/amdgpu \
use/x11/armsoc
@$(call add,THE_LISTS,$(call tags,desktop xorg))
else
use/x11/xorg: use/x11; @:
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@ -36,6 +36,23 @@ else
use/x11/armsoc: use/x11; @:
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
# e2k: mostly radeon, 101 got mga2/vivante
use/x11/xorg:: use/x11/radeon use/x11/amdgpu use/x11/nouveau
ifeq (,$(filter-out e2kv4,$(ARCH)))
use/x11/mga2: use/x11
@$(call add,THE_PACKAGES,xorg-drv-mga2)
else
use/x11/mga2: use/x11; @:
endif
use/x11/smi: use/x11
@$(call add,THE_PACKAGES,xorg-drv-smi)
else
use/x11/smi: use/x11; @:
endif
# for those cases when no 3D means no use at all
# NB: blobs won't Just Work (TM) along with nouveau/radeon
# as free drivers get prioritized during autodetection
@ -77,9 +94,10 @@ use/x11/wacom: use/x11
@$(call add,THE_PACKAGES,xorg-drv-wacom)
## display managers
use/x11/dm: use/x11-autostart
use/x11/dm: use/x11-autostart use/pkgpriorities
@$(call try,THE_DISPLAY_MANAGER,xdm)
@$(call add,THE_PACKAGES,$$(THE_DISPLAY_MANAGER))
@$(call add,PINNED_PACKAGES,$$(THE_DISPLAY_MANAGER))
@$(call add,DEFAULT_SERVICES_ENABLE,$$(THE_DM_SERVICE))
use/x11/lightdm/gtk use/x11/lightdm/slick \

View File

@ -61,8 +61,10 @@ VE_TARGETS := $(call targets,ve)
VM_TARGETS := $(call targets,vm)
DISTROS := $(call addsuffices,$(DISTRO_EXTS),$(DISTRO_TARGETS))
VES := $(call addsuffices,$(VE_EXTS),$(VE_TARGETS))
VES_TAR := $(call addsuffices,.tar,$(VE_TARGETS))
VMS := $(call addsuffices,$(VM_EXTS),$(VM_TARGETS)) \
$(call addsuffices,$(VM_TAVOLGA_EXTS), $(filter vm/tavolga-%, $(VM_TARGETS)))
VMS_IMG := $(call addsuffices,.img,$(VM_TARGETS))
IMAGES := $(DISTROS) $(VES) $(VMS)
.PHONY: $(IMAGES) $(DISTRO_TARGETS) $(VE_TARGETS) $(VM_TARGETS)
@ -73,8 +75,8 @@ export LC_MESSAGES=C
### duplicate but still needed
everything:
@n=1; sum=$(words $(DISTROS)); \
for distro in $(DISTROS); do \
@n=1; sum=$(words $(DISTROS) $(VES_TAR) $(VMS_IMG)); \
for distro in $(DISTROS) $(VES_TAR) $(VMS_IMG); do \
echo "** building $$distro [$$n/$$sum]:"; \
$(MAKE) -f main.mk --no-print-directory $$distro; \
[ "$$n" -lt "$$sum" ] && echo; \

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Management interface
X-Alterator-PackageList=centaurus/10-alterator
X-Alterator-Required=yes
Name[ru_RU]=Интерфейс управления

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Server applications
X-Alterator-PackageList=centaurus/zero
X-Alterator-Required=no
Name[ru_RU]=Серверные приложения

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Printing system
X-Alterator-PackageList=centaurus/30-cups
X-Alterator-Required=no
Name[ru_RU]=Система печати

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=PVE virtualization server
X-Alterator-Conflicts=centaurus/v12n-server centaurus/libvirt centaurus/openstack-block centaurus/openstack-controller centaurus/cluster
X-Alterator-PackageList=centaurus/40-pve
X-Alterator-Required=no
Name[ru_RU]=Сервер виртуализации PVE

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=FreeIPA domain
X-Alterator-PackageList=centaurus/zero
X-Alterator-Conflicts=sambaDC
X-Alterator-Required=no
Name[ru_RU]=Домен FreeIPA
Categories=Networking

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Openstack
X-Alterator-PackageList=centaurus/zero
X-Alterator-Required=no

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Development tools
X-Alterator-PackageList=centaurus/70-dev
X-Alterator-Required=no
Name[ru_RU]=Средства разработки

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Graphical desktop
X-Alterator-PackageList=centaurus/zero
X-Alterator-Required=no
Name[ru_RU]=Графическая система

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Documentation
X-Alterator-PackageList=centaurus/90-docs
X-Alterator-Required=yes
Name[ru_RU]=Документация
Categories=KDE;KDE4;GNOME;XFCE

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Management interface
X-Alterator-PackageList=alterator
X-Alterator-Required=yes
Name[ru_RU]=Интерфейс управления

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Network Backup Client
X-Alterator-PackageList=centaurus/bacula-client-a
X-Alterator-Parent=centaurus/10-alterator
X-Alterator-Required=yes
Name[ru_RU]=Клиент сетевого резервного копирования
Categories=Server;Networking

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Network Backup Client
X-Alterator-PackageList=centaurus/bacula-client
X-Alterator-Parent=centaurus/20-server-apps
X-Alterator-Required=yes
Name[ru_RU]=Клиент сетевого резервного копирования
Categories=Server;Networking

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Backup Server
X-Alterator-PackageList=centaurus/backup-server
X-Alterator-Parent=centaurus/10-alterator
X-Alterator-Required=no
Name[ru_RU]=Сервер резервного копирования
Categories=Server;Networking

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Backup
X-Alterator-PackageList=centaurus/bacula-a
X-Alterator-Parent=centaurus/80-desktop
X-Alterator-Required=no
Name[ru_RU]=Резервное копирование
Categories=Server;Networking

View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Blogs Clients
X-Alterator-PackageList=centaurus/blogs
X-Alterator-Required=no
X-Alterator-Parent=centaurus/80-desktop
Name[ru_RU]=Ведение блогов
Categories=KDE;KDE4

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Buildsystem
X-Alterator-PackageList=centaurus/buildsystem
X-Alterator-Parent=centaurus/70-dev
X-Alterator-Required=no
Name[ru_RU]=Сборка пакетов

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Printing system
X-Alterator-PackageList=cups
X-Alterator-Required=no
Name[ru_RU]=Система печати

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=DHCP server
X-Alterator-PackageList=centaurus/dhcp-server-a
X-Alterator-Parent=centaurus/10-alterator
X-Alterator-Depends=dhcp-server
X-Alterator-Required=no
Name[ru_RU]=Сервер DHCP
Categories=Server;Networking

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=Diagnostic tools
X-Alterator-PackageList=centaurus/diag-tools
X-Alterator-Parent=centaurus/20-server-apps
X-Alterator-Required=no
Name[ru_RU]=Утилиты для диагностики
Categories=Server;Diagnostics
# NB: as the list may expand, skip adding Networking

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=DNS server
X-Alterator-PackageList=centaurus/dns-server-a
X-Alterator-Parent=centaurus/10-alterator
X-Alterator-Depends=dns-server
X-Alterator-Required=no
Name[ru_RU]=Сервер DNS
Categories=Server;Networking

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Type=Directory
Name=DNS Server
X-Alterator-PackageList=dns-server
X-Alterator-Required=no
X-Alterator-Parent=server-apps
Name[ru_RU]=Сервер DNS
Categories=Server;Networking

Some files were not shown because too many files have changed in this diff Show More