4833 Commits

Author SHA1 Message Date
Mikhail Efremov
b16f1147a0 workstation: Disable systemd-userdbd service by default
It causes some problems with domen users.
Suggested by cas@.
2021-12-10 20:50:34 +07:00
Mikhail Efremov
6ac29ab651 workstation: Use workstation/libreoffice list on live
We are have our own list for LivreOffice, use it.
Beside, there is no java in the desktop+office list.
2021-12-10 20:50:34 +07:00
Mikhail Efremov
f2d7b2880e slinux: Use backgrounds for SL-10 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
67c7ae5366 education: use std-def kernel flavour 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
34770851fe education: control fusermount wheelonly 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
bee1bc890b education/misc: add flatpak 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
ef397d1ea4 education: add installer features for lightdm and quota 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
c378be5c01 education/misc: add hw-probe 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
fea3d9658b education/misc: add gutenprint-cups-ppds, remove deprecated hplip-PPDs 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
6f7de5aea0 education/misc: add sane-airscan 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
5f1f9d5e83 education: add mousepad to installed system and live 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
c4f9a3ae03 education: do not install settings-alsa-sof-force
Do not install by default, put on disk.
2021-12-10 20:50:34 +07:00
Andrey Cherepanov
1b91eb2eab education: remove "beta" suffix from version 2021-12-10 20:50:34 +07:00
Andrey Cherepanov
95e755ccb1 education: disable host2cat to avoid dnsmasq crash 2021-12-10 20:50:34 +07:00
Anton Midyukov
9fa3dbd8f0 net: fix setup NetworkManager controlled with etcnet (fix typo in 50-net-nm) 2021-12-10 20:50:34 +07:00
Anton Midyukov
c8322e069d image.in, sub.in: fix cleanup .gitignore from stage1, stage2 2021-12-10 20:50:33 +07:00
Anton Midyukov
f783d28dd9 Revert "Do not rsync .gitignore to build directories"
This reverts commit 366cb49dbe7b66befcdbe08e51d584531db8583e.
.gitignore is needed for packaging empty catalogs to the profile archive.
2021-12-10 20:50:33 +07:00
fc533420d8 storage/zfs, virt/extra.pkgs: disable zfs for ppc64le
zfs module can not build for ppc64le sinse kernel 5.10.
2021-12-10 20:50:33 +07:00
Anton Midyukov
e066586cba arm-rpi4: copy actualy dtb for last kernel 2021-12-10 20:50:33 +07:00
Anton Midyukov
f35d6500a2 grub: use a more reliable way to identify theme in stage1/scripts.d/01-grub
Use a more reliable way to identify the theme grub.
2021-12-10 20:50:33 +07:00
Anton Midyukov
635c5263f3 regular.mk: do not use main repo and livecd-online-repo for builder
1. Package repository on a disk with Live is not necessary.
2. Online repositories need to be connected always, and not when
there is a network. The network can be configured after bootloading.
2021-12-10 20:50:09 +07:00
Konstantin A. Lepikhov
aa77013d70 use/gitlab-runner: update README
- added notes about mkimage network options.
2021-12-10 20:40:01 +07:00
Konstantin A. Lepikhov
4bcf7a17a4 features: add gitlab-runner
- Add gitlab-runner feature.
2021-12-10 20:40:01 +07:00
Konstantin A. Lepikhov
a0068021aa use/net-eth: add dhcp ipv4 only support for networkd 2021-12-10 20:40:01 +07:00
Anton Midyukov
7d631a48cd build-vm: add 20-grub-terminal script for setup terminal_output
By default, GRUB_TERMINAL_OUTPUT='gfxterm' is configured.
This creates problems for virtual machines and single-board computers,
since they need output to console.
2021-12-10 20:40:01 +07:00
Anton Midyukov
99bb98536f dev: Show as an example grub.iso instead of syslinux.iso
grub.iso is available for more platforms.
2021-12-10 20:40:01 +07:00
Anton Midyukov
4f387eed34 regular-vm.mk: add base+network to jeos
etcnet will be useful in any case, even if we switch to NetworkManager.
2021-12-10 20:39:42 +07:00
Anton Midyukov
aba1b884c7 regular.mk, regular-vm.mk: add NetworkManager to regular-builder
NetworkManager support automatic connection of connection and also
wireless connections. Configuring wired connections will be through
2021-12-10 20:38:35 +07:00
Anton Midyukov
c5594ab6bb regular-vm.mk: add systemd-settings-disable-kill-user-processes to jeos-systemd 2021-12-05 18:27:21 +07:00
Anton Midyukov
89d0358454 init: add apt-conf-ignore-systemd for sysvinit
This will solve the problems with the update (p9 -> p10).
2021-12-04 22:12:09 +07:00
Anton Midyukov
0403d2ca7a initrd-bootchain: set BOOTCHAIN_LOGFILE to /var/log/chaind.log
Rename to default.
2021-12-04 22:12:09 +07:00
Anton Midyukov
c2ea126c62 oem: Set piority for rootfs-installer-features package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
16189bc988 live: Set piority for livecd-installer-features package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
e2d2c75015 install2: Set piority for installer-distro-common-stage2 package
/usr/sbin/install2-init-functions is provided by several packages.
Because of this, extra packages are installed. It is necessary to
simplify the task for the packages manager.
2021-12-04 22:12:09 +07:00
Anton Midyukov
304c4b0359 init: Set priority for systemd-utils-standalone package (use/init/sysv) 2021-12-04 22:12:09 +07:00
Anton Midyukov
7d1c61748f firmware: drop orphaned kernel-modules-acpi_call (use/firmware/laptop)
Not available for all kernels in p10, sisyphus.
Available for std-def only i p9.
2021-12-04 22:12:09 +07:00
Anton Midyukov
48796e2fa0 pkg.in/lists/Makefile: not check availability *CLEANUP*_PACKAGES 2021-12-04 22:12:09 +07:00
Anton Midyukov
e5c6a9b5aa cleanup, install2: drop old cleanup packages 2021-12-04 22:12:09 +07:00
Michael Shigorin
ca6ec25e32 bin/archdep-filter: a debugging note
...just to have it handy when it's in need next time.
2021-12-04 22:12:09 +07:00
Michael Shigorin
b963e9bf47 bin/archdep-filter: cosmetic cleanups
"-a arch" is not requisite either; and having bunches
of empty lines in the resulting pkglists that are user
visible at least within the conventional installer's
alterator-pkg (groups selection) module wouldn't be nice.

I chose to sacrifice empty-line separators for clarity;
the really good cleanup would save *single* empty lines
between chunks of non-empty ones (not at the pkglist's
start or end); feel free to implement that as well.
2021-12-04 22:12:09 +07:00
Michael Shigorin
1b5b309bf8 bin/archdep-filter: implement multi-!matching too
This has been clearly lacking while making the previous commit
but the implementation isn't that clear so let it be a separate
step.

The problem requiring the change in subsequent processors
is that these relied upon "@arch" as a flag to be inspected,
and "pkg@!arch1,arch2" on arch2 needs to take out *all* of that
fragment *including* arch1 mention as well.

Part of the cause is difference in handling: "positive" multi-match
would explode its "client" line into multiple lines to filter down
the pipeline, while "negative" multi-match *has* to keep that line
on a similarly single line (otherwise we'd end up with N-1 of those
slipping past the filter for particular architecture thus defeating
the whole purpose of "negative" matching semantics):

$ echo 'pkg@!E2K,mipsel,riscv64' |
  sed -r  ':loop; s/^((([^@]+@!)[^,]+)+),([a-zA-Z0-9_]+)/\1@!\4/; t loop'
pkg@!E2K@!mipsel@!riscv64

I've tried my best to test this specific change but it still might
introduce a regression in some corner case; feel free to report;
looks like there's a space for improvement in m-p's automated
tests department as well.

So now we can do:

  pkg@!ARCHES1,ARCHES2,arch3,arch4

and have pkg excluded on arches mentioned; the previous approach
could only offer explicit whitelists (not that it was entirely
wrong but then again, we have both ExclusiveArch and ExcludeArch
rpmtags in our spec files).
2021-12-04 22:11:50 +07:00
Michael Shigorin
2bc28a9cae bin/archdep-filter: implement multi-matching
This has been inspired by a few commits that cared
for package availability reasons on a particular
architecture; the problem at hand is that pkglists
might need to include groups of packages that are
(un)available on groups of arches, and tackling that
with plain pkg@arch just results in combinatorial
explosion of that matrix.

Arches are handled one-by-one with a few hardcoded
macro substitutions.

Exploding a "pkg@arch1,arch2" string into a set of:

pkg@arch1
pkg@arch2

with subsequent archdep pruning would do the trick;
so here's another sed oneliner that does just that:

$ echo 'pkg@X86,ARM,ppc64le' |
  sed -r ':loop; s/^((([^@]+@)[^,]+)+),([^,]+)/\1\n\3\4/; t loop'
pkg@X86
pkg@ARM
pkg@ppc64le

See-also: 9601a9e7ce92c7a521fd154f59d8e17524f12a95
See-also: 5581dc91ec6f3330c338995d1cdfbca285298011
See-also: http://stackoverflow.com/a/55781741/561921
2021-11-23 23:49:48 +07:00
Anton Midyukov
9d699dce84 rescue+extra: exclude infiniband-diags for riscv64
needed update rdma-core.
2021-11-23 23:49:32 +07:00
Anton Midyukov
c691652811 uboot: use/tty/S0 for riscv64
ttyS0 is needed qemu. ttySIF0 needs to be set separately.
2021-11-23 23:49:20 +07:00
Anton Midyukov
fadd4ac0ec pkg.in/lists/Makefile: refactoring save_packages_to_lists target 2021-11-23 23:48:59 +07:00
Michael Shigorin
d367f042ea education.mk: soft-revert java11 commit
It was encumbered, it's only java11 part that should be
archdep as e2k-alt-linux lacks that one so far.

See-also: 8f0f5f7d3c6765c97bd7c57819de67cbbfc0d6d6
2021-11-23 09:27:25 +07:00
Anton Midyukov
6c0e779e0b regular-vm.mk: add use/auto-resize to vm/arch-dep 2021-11-23 01:23:40 +07:00
Anton Midyukov
696e60fedc desktop+lxqt: exclude featherpad, qmmp1 for riscv64 2021-11-22 23:17:22 +07:00
Anton Midyukov
1c50ff1ffa build.mk, params.txt: add parameter USE_QEMU
The parameter determines use of QEMU or not, if the target architecture
does not correspond to the host architecture.
By default, the parameter is on (Value 1).
For architectures that do not support QEMU (e2k), the option is turned off.
2021-11-22 22:30:57 +07:00
Anton Midyukov
9eec670524 oem: not use/net-eth/dhcp
The network can be controlled via NetworkManager without ETCnet
configs. DHCP support needs to be added to other targets.
2021-11-22 22:30:28 +07:00