76 Commits

Author SHA1 Message Date
Anton Midyukov
f2cfdc1190 alt-server: Workaround for the problem:
The following packages have unmet dependencies:
    installer-feature-nfs-client-stage3: Depends: installer-common-stage3
E: Broken packages
2024-09-02 18:27:12 +03:00
Dmitriy Terekhin
cbe432c626 alt-server: Remove menuentry "LiveCD" from GRUB menu
and also restore function "savedefault" and menuentry
"UEFI Settings" that were deleted at the same time.
2024-09-02 18:27:02 +03:00
Dmitriy Terekhin
047b144a08 alt-server: Add installation in OEM mode (live-install)
See: https://www.altlinux.org/Installer/OEM
Suggested-by: Anton Midyukov <antohami@altlinux.org>
2024-09-02 18:26:45 +03:00
Dmitriy Terekhin
75e09c0014 alt-server: Use live as installer and rescue
INSTALL2_PACKAGES to LIVE_PACKAGES
INSTALL2_BRANDING to STAGE2_BRANDING

Suggested-by: Anton Midyukov <antohami@altlinux.org>
2024-09-02 18:26:37 +03:00
Dmitriy Terekhin
d35e1de648 mixin-alt-server: Run systemd-resolved along with systemd-networkd 2024-08-08 21:06:51 +03:00
Dmitriy Terekhin
9566631702 mixin-alt-server.mk: version 11.0ALPHA2
in ISO meta info and in grub menu of installer
2024-08-08 21:06:43 +03:00
Dmitriy Terekhin
88ee6b41ac alt-server: Add installation in OEM mode (install2)
See: https://www.altlinux.org/Installer/OEM
Suggested-by: Anton Midyukov <antohami@altlinux.org>
2024-08-08 21:06:25 +03:00
Dmitriy Terekhin
1e13df846a alt-server: Use p11
Revert "Use apt-conf-sisyphus"

This reverts commit fa892f1efb45dc0074f0a2d628960fa4c7b9909f.
2024-07-10 12:30:52 +03:00
Dmitriy Terekhin
a1de91390f alt-server: Add a Docker (group and profile)
Requested by black@
2024-07-10 12:30:52 +03:00
Dmitriy Terekhin
efac714c08 alt-server: Add support for loongarch64 2024-07-10 12:30:52 +03:00
Dmitriy Terekhin
486b599f2b Use apt-conf-sisyphus
This is only necessary when testing on Sisyphus
After switching to p11, you need to revert this commit
2024-07-10 12:30:52 +03:00
Dmitriy Terekhin
a6965c4f05 alt-server: Customize installation of group policies
Remove "Group policy managing tool" group
Add group "Group policies", which includes groups
"Administration tools", "Client", "Group policy templates"

Made at the request of Anton Abramov <abramovav@basealt.ru>
2024-02-13 00:13:18 +07:00
Dmitriy Terekhin
34e18698fc alt-server: Use un-def kernel by default
Made at the request of Evgeny Sinelnikov <sin@altlinux.org>
2024-02-13 00:12:36 +07:00
Dmitriy Terekhin
ff21bbf55f alt-server: Add un-def kernel
The un-def kernel should be added to the image
at Evgeny Sinelnikov's <sin@altlinux.org> request.
Together with the un-def kernel, its modules, documentation,
and the installer-feature-cleanup-kernel-stage3 package
were added to keep only one kernel selected by the user
during installation in the installed system.
2024-02-13 00:12:09 +07:00
Dmitriy Terekhin
a3e73c4b0d alt-server: Do not enable nslcd and nscd services by default
Made at the request of Evgeny Sinelnikov <sin@altlinux.org>
2023-12-01 16:52:06 +07:00
Dmitriy Terekhin
8d87865c66 alt-server: Move default services control from installer-distro-centaurus
This patch was co-authored by Anton Midyukov.
2023-12-01 16:51:54 +07:00
Dmitriy Terekhin
b044e5ae5e alt-server: Mask suspend and hibernate by default
Suggested-by: Leonid Krivoshein <klark@altlinux.org>
See: https://bugzilla.altlinux.org/47595
2023-12-01 16:51:12 +07:00
Dmitriy Terekhin
f7dbfe99d2 alt-server: Leave only Russian and English in installer
Support for other languages is worse.
Language selection in GRUB is disabled.
Russian is selected by default.
See cоmmit a7ba5cbd3960a

This fix breaks the image build.
2023-10-11 21:38:36 +07:00
Dmitriy Terekhin
82ba08f117 alt-server: Add gostcrypto: apt-conf openssh openvpn
Suggested-by: Anton Midyukov <antohami@altlinux.org>
2023-09-19 22:34:35 +07:00
Dmitriy Terekhin
7b58917785 mixin-alt-server.mk: version 10.2
in ISO meta info and in grub menu of installer
2023-09-19 22:34:20 +07:00
Dmitriy Terekhin
0ecc0b3bec alt-server: Replace openntpd with chrony
openntpd behaves inferior to both ntpd and chrony
regarding sync time when current time delta is large
(or huge, like in 1970-01-01 case).

Reported-by: Michael Shigorin <mike@altlinux.org>
Suggested-by: Anton Midyukov <antohami@altlinux.org>
2023-08-25 20:57:03 +07:00
Dmitriy Terekhin
8ff7990786 mixin-alt-server.mk: If systemd-networkd is installed, enable it
Made at the request of Evgeny Sinelnikov <sin@altlinux.org>
This patch was co-authored by Anton Midyukov.
2023-03-13 21:44:53 +07:00
Dmitriy Terekhin
3ce96ef71f alt-server: Remove ALT Domain Server (ldap+kerberos) 2023-02-22 22:08:38 +07:00
Dmitriy Terekhin
8b77903189 alt-server: Add use/firmware/laptop
For some firmware (e.g. firmware-alsa-sof).
2022-12-30 22:31:39 +07:00
Dmitriy Terekhin
61f9316e65 mixin-alt-server.mk: jitsi-meet for x86_64 only
Some of the native libraries used by jitsi-meet
(eg libjnisctp.so libjitsisrtp.so) are only compiled
for the x86_64 architecture.
As a consequence, jitsi-meet cannot run properly
on architectures other than x86_64.

See-also: https://bugzilla.altlinux.org/44327
See-also: https://bugzilla.altlinux.org/44494
See-also: https://bugzilla.altlinux.org/44496
2022-12-02 12:22:53 +07:00
Michael Shigorin
a54bd84571 mixin-alt-server.mk: drop the "System" checkbox
...for good; it was deeply unneeded in the first place,
and a two-checkbox combo that would fall apart on non-
{X86,aarch64} resulting in an empty toplevel "System"
one sitting on the top of the installer's list is
a shame to be honest.

Let's put lsb-core into the base install as reasonably
proposed by antohami@ in the related bug as its deps
are pretty reasonable to me too.

See-also: http://bugzilla.altlinux.org/show_bug.cgi?id=42268#c4
See-also: http://lists.altlinux.org/pipermail/devel-distro/2022-October/002895.html
2022-11-16 22:52:55 +07:00
Dmitriy Terekhin
f96f4e0400 alt-server: Add support for weak video cards
You can turn off compositing and graphic effects for mate
Added at the request of Anton Midyukov <antohami@altlinux.org>
2022-10-04 22:30:52 +07:00
Dmitriy Terekhin
548b06fec9 alt-server: Remove mediawiki
MediaWiki is not php8 compatible and requires outdated php7
2022-10-04 22:30:52 +07:00
Dmitriy Terekhin
47a4e6242f Revert "mixin-alt-server.mk: keep smb.conf default"
This reverts commit 1e7c6ed47f05ff932ceb5600449dc3847164d1ef.

Due to the removal of installer-feature-network-shares-stage3
the following setting is missing:
control rpcbind server
as a result of this, installation via NFS does not work.
2022-10-04 22:30:52 +07:00
Dmitriy Terekhin
73a742900e mixin-alt-server.mk: Add centaurus/token to MAIN_GROUPS 2022-10-04 22:30:52 +07:00
Dmitriy Terekhin
9bff0f8da6 mixin-alt-server.mk: Remove the zfs module
The zfs module was removed from the distribution image
at the request of Denis Medvedev <nbr@altlinux.org>.
2022-10-04 22:30:52 +07:00
Anton Midyukov
d6c30f950d mixin-alt-server.mk: Add all kernel modules through MAIN_KMODULES instead list
Now don't have to worry about listing the supported architecture.
2022-07-25 18:13:23 +07:00
Dmitriy Terekhin
bff75969c4 Revert "alt-server: install kernels std-def and un-def"
This reverts commit 5d03f0037c3cecfe09fc8157b3f76749b1006e57.

The un-def kernel should be removed
at Evgeny Sinelnikov's <sin@altlinux.org> request
2022-07-15 23:56:25 +07:00
Dmitriy Terekhin
a986aa02a8 Revert "alt-server: remove unused kernels"
This reverts commit ee9778ee8837abc3c5d8cfba29f9d9b3ca9edf66.

The un-def kernel should be removed
at Evgeny Sinelnikov's <sin@altlinux.org> request
Only one kernel will remain, there is no need to remove the rest
2022-07-15 23:56:16 +07:00
Dmitriy Terekhin
df6a0829a5 alt-server: remove un-def kernel modules
The un-def kernel should be removed
at Evgeny Sinelnikov's <sin@altlinux.org> request
2022-07-15 23:54:31 +07:00
Dmitriy Terekhin
44442554a2 Revert "alt-server: add password to encrypted rootfs"
This reverts commit 97826c7c34ed3e7131996ae8eca3c5ac23b325f5.

In the make-initrd-2.27.1-alt1 version, it was possible to take
the name of the encrypted partition from /etc/crypttab.
As a result, it is no longer necessary to manually enter a password
for systemd-cryptsetup.

On the other hand, using the installer-feature-password-systemd-cryptsetup-stage3
package in the installer has the disadvantage that the user is required to re-enter
the encrypted partition password during the postinstall step.
Dropping installer-feature-password-systemd-cryptsetup-stage3 would fix this
at the cost of having to enter the password in the initrd.

See also:
https://bugzilla.altlinux.org/42987
https://bugzilla.altlinux.org/43056
https://bugzilla.altlinux.org/43080
2022-07-15 23:54:21 +07:00
Dmitriy Terekhin
051d04d65b mixin-alt-server.mk: enable formatting to NTFS
The ntfs-3g package contains the mkfs.ntfs file
needed to format an NTFS partition.
See also https://bugzilla.altlinux.org/42347
2022-07-15 23:54:12 +07:00
Dmitriy Terekhin
1e7c6ed47f mixin-alt-server.mk: keep smb.conf default
The installer-feature-network-shares-stage3 package replaces the /etc/samba/smb.conf file
The generated file contains the setting:

passdb backend = ldapsam:ldap://127.0.0.1/

But the slapd service on the node is disabled.
As a result, an error occurs:

fetch_ldap_pw: neither ldap secret retrieved!
pdb_init_ldapsam_common: Failed to retrieve LDAP password from secrets.tdb
pdb backend ldapsam:ldap://127.0.0.1/ did not correctly init (error was NT_STATUS_NO_MEMORY)
2022-07-11 14:49:27 +07:00
Dmitriy Terekhin
f030a105e9 alt-server: now use own volumes-profile 2022-07-11 14:49:27 +07:00
Dmitriy Terekhin
97826c7c34 alt-server: add password to encrypted rootfs
If the root FS is encrypted, you have to enter the password 3 times: in GRUB, initrd, systemd-cryptsetup.
To work around the problem, write the password to a file on the encrypted FS and add it to the initrd.
https://bugzilla.altlinux.org/42987
https://bugzilla.altlinux.org/43056
2022-07-11 14:49:27 +07:00
Dmitriy Terekhin
873a7d4ce5 alt-server: add kernel-modules packages in the image
Аdd maximum kernel-modules packages for the kernels installed in the image.
When installing the system, some kernel modules with device drivers
will not be installed.
When the system administrator later installs additional modules with drivers,
they must be available in the local image repository,
because the network repository may already have a new kernel and new modules.

Added at the request of Evgeny Sinelnikov <sin@altlinux.org>
2022-06-24 23:20:19 +07:00
Dmitriy Terekhin
78e320c3f0 mixin-alt-server.mk: version 10.1 in ISO meta info
and in grub menu of installer
2022-06-03 21:48:11 +07:00
Dmitriy Terekhin
ee9778ee88 alt-server: remove unused kernels
To select a kernel, you need to press F5 and select
the kernel with which to boot and install.
2022-06-03 21:48:11 +07:00
Anton Midyukov
a7ba5cbd39 alt-server: make the 1st installer screen in Russian
The choice of language for the installer in the GRUB menu
does not affect the language of the menu itself, which is strange.
Now Russian is selected without user prompt.
2022-06-03 21:48:10 +07:00
Anton Midyukov
62eb27d332 alt-server: use grub-pc for ISO boot from Legacy mode 2022-06-03 21:48:10 +07:00
Anton Midyukov
88a92aaa9b mixin-alt-server.mk, centaurus/xorg: add drm to BASE_KMODULES
drm kernel modules is needed not only for desktop, but also for
framebuffer in IPMI.
2022-06-03 21:48:10 +07:00
Dmitriy Terekhin
b801bd0bce mixin-alt-server.mk: add centaurus/lsb-core to MAIN_GROUPS
To fix bug https://bugzilla.altlinux.org/42268
2022-06-03 21:48:10 +07:00
Dmitriy Terekhin
d73b83efcc mixin-alt-server.mk: add menu item "00-system" 2022-06-03 21:48:10 +07:00
Dmitriy Terekhin
ea92d14525 alt-server: add menu item "net.if.mgt."
Network interface management system:
- NetworkManager daemon by default
- Systemd network configuration daemon
2022-06-03 21:48:10 +07:00
Dmitriy Terekhin
5d03f0037c alt-server: install kernels std-def and un-def
Default kernel is std-def.
The std-def kernel is more robust and supports older hardware.
The un-def kernel meets the "newer than 5.13" requirement
and supports newer hardware.
2022-06-03 21:48:10 +07:00