Anton Midyukov
070bc04017
stage2: Added use/stage2/sbc
...
This list kernel modules for loading on single board computers.
2020-05-01 23:49:56 +07:00
Anton Midyukov
192dca1302
stage2: update 50-stage2-usb
...
Add more usb kernel modules
2020-05-01 23:49:56 +07:00
Mikhail Efremov
c84aa6be32
services: Fix generation of on/off services lists
...
If we already have systemd-{enabled,disabled} lists, then
don't overwrite them, just add lists to them.
Services presented in the lists should be filtered out
from services-{on,off} lists already.
This fixes commit 2b50111650
"services: Don't touch services already listed in the config".
2020-05-01 23:49:56 +07:00
Mikhail Efremov
c1250f8bb8
domain-client: Drop krb5-ticket-watcher
...
Suggested by cas@.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
0f35cc865c
install2: Drop installer-feature-journald-tty
...
Use systemd-settings-enable-log-to-tty12 (included by +systemd-optimal)
instead.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
badfca54c4
efi, base+efi: Don't add efivars to /etc/modules
...
Module efivars will be loaded by udev now.
2020-05-01 23:49:56 +07:00
Anton Midyukov
80c348ae20
init: +systemd-optimal do not call +systemd
2020-05-01 23:49:56 +07:00
Anton Midyukov
6ccfa1546e
armh-mcom02: Fixed /etc/alsa-set-initial-options
...
Kernel module snd-seq-midi is not compiled for mcom02.
2020-05-01 23:49:56 +07:00
Anton Midyukov
1436fa5ff7
cleanup: added qt5-base-common into use/cleanup/x11-alterator
2020-05-01 23:49:56 +07:00
Anton Midyukov
342254e8cc
server: enable libvirtd service by default
...
Users expect that if virtualization is selected during installation
of the distribution, the libvirtd service will be enabled.
2020-04-07 22:35:52 +07:00
Anton Midyukov
2398b75a10
kernel: initrd-setup refactoring
...
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5
build-vm, kernel, uboot: setup /etc/fstab for build-vm
...
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087
build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
...
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806
Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Anton Midyukov
fc67e5a8c2
build-vm, tar2fs: get ARCH from command line argument
...
tar2fs does not run in hasher and without qemu. This causes build
problems for an architecture other than the host.
2020-04-07 22:35:52 +07:00
068badeff7
firmware: intel-ucode allow for X86 only
2020-04-03 22:56:58 +07:00
Anton Midyukov
9804e0b216
hdt: for i586 and x86_64 only
2020-04-03 22:56:58 +07:00
Anton Midyukov
774489dd6d
efi: use/efi/grub for EFI_ARHES only
2020-04-03 22:56:58 +07:00
Anton Midyukov
65a7c43a08
grub: added fwsetup_efi.cfg
...
Added for EFI only (see stage1/scripts.d/01-grub).
2020-04-03 22:56:58 +07:00
Anton Midyukov
00283166b7
syslinux: fixed for using BOOTLOADER not equal syslinux
...
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c
syslinux: do not use syslinux to generate config on unsupported arches
...
These are partial commits reverts:
01ee407543
e42bcdcb30
5cfc7ede81
2020-04-03 22:56:58 +07:00
Anton Midyukov
7ae39113b0
efi: use/efi/grub by default for all arches
2020-04-03 22:56:58 +07:00
Anton Midyukov
0c4f35fc5d
efi: do not call use/efi/refind from use/efi/memtest86
...
This is necessary to prevent unintentional assignment of rEFInd
as EFI_BOOTLOADER.
I also want to hope that memtest86.efi can be made to work from
grub-efi in the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
20554501e5
install2, live: add grub.cfg support
2020-04-03 22:56:58 +07:00
Anton Midyukov
5b52057937
grub: add 84rescue_remote.cfg
2020-04-03 22:56:58 +07:00
Anton Midyukov
b6010f5bd4
grub: available for i586, x86_64, aarch64, ppc64le
2020-04-03 22:56:58 +07:00
Anton Midyukov
567c374e40
grub: not show "ALT" before @relname@ in 20install2.cfg
...
The word "ALT" already contained in @relname@.
Added when call use/grub.
2020-04-03 22:56:58 +07:00
Anton Midyukov
efe311555a
grub: change @linux_suffix@
2020-04-03 22:56:58 +07:00
Anton Midyukov
ed99b96c45
grub: fixed PATH to memtest86.efi in 90memtest-efi.cfg
2020-04-03 22:56:58 +07:00
Anton Midyukov
85a17f8cb5
grub: add suffix _efi for EFI configs
2020-04-03 22:56:58 +07:00
Anton Midyukov
86f52450a1
grub: generate grub.cfg for grub-efi and ieee1275boot
...
These changes allow you to create two independent config at the same
time or separately. It will be possible to add support for grub-pc in
the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
80e8362443
grub: fixed search default in stage1/scripts.d/01-grub
...
The definition of the default menu item has been fixed.
Grub.cfg does not use label, uses --id.
It is assumed that --id is given last.
2020-04-03 22:56:58 +07:00
Anton Midyukov
b9e5244e86
grub: fix typo
2020-04-03 22:56:58 +07:00
Anton Midyukov
f446036f68
grub: fixed build on i586
...
Not needed Stage1 package. They are added to mkimage.
2020-04-03 22:56:58 +07:00
Anton Midyukov
df1d1f8a6c
grub, syslynux: rename scripts
...
The scripts were named the same for syslinux and grub. Because of this,
scripts for syslinux were overwritten by grub scripts.
2020-04-03 22:16:55 +07:00
300ee8a83f
add grub feature
2020-01-20 22:46:08 +07:00
Anton Midyukov
e6bb78a569
branding: ImageMagick-tools for x86_64 only (refind needed)
...
See-also: commit e4bb17279d
2020-01-20 22:46:08 +07:00
Anton Midyukov
ffed0b927f
cleanup: fix jeos for grub saving
2020-01-20 22:46:08 +07:00
Anton Midyukov
40bbaff960
init: create symlinks /var/run -> /run, /var/lock -> /run/lock
...
After switching to these symlinks, you no longer need to create
the missing directories.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=35350
2020-01-20 22:46:08 +07:00
Anton Midyukov
17671b1d50
init: drop rootfs/image-scripts.d/40-sysvinit
...
Not needed for polkit-sysvinit >= 0.4
2020-01-20 22:46:08 +07:00
Michael Shigorin
a524a6800a
kernel: disable make-initrd debug script
...
This one has filled up the entire 8 Mb tmpfs
while running inside installer stage1 on a
124-drive system (configured as JBOD).
Reported-by: http://norsi-trans.ru
2020-01-17 17:03:24 +03:00
Anton Midyukov
0b02591530
vmguest: add kernel-modules-virtualbox-addition-guest
2020-01-13 12:12:34 +03:00
Anton Midyukov
efa57b9121
live, init: move 65-os-release from live to init
...
Install /etc/*-release files if needed.
Reported-by: Ivan A. Melnikov <iv@altlinux.org>
2020-01-13 12:09:51 +03:00
Mikhail Gordeev
fa19e83e90
Add BASE_BOOTARGS -- variable containing arguments to bootloader
...
The case at hand was the need to pass serial console parameters,
see the next commit.
2020-01-13 12:09:30 +03:00
Ivan A. Melnikov
429f1d182c
mipsel-mitx: add root and boot partitions to /etc/fstab
2020-01-13 12:09:28 +03:00
Ivan A. Melnikov
471233df8a
init: fix portability 90-systemd on mipsel
...
autofs4.ko is not available on Tavolga, and might be unavailable
elsewhere as well (or vice versa, might become available).
2019-11-28 19:14:07 +03:00
Anton Midyukov
221e0e6cf4
init: set package priority syslogd for sysvinit
...
This is necessary to prevent installing the systemd package on systems
with sysvinit.
2019-11-28 19:02:08 +03:00
Anton Midyukov
29ad240c2d
pkgpriorities: also needed for rootfs
...
This should have better been done through some shared code
but it's not that obvious...
2019-11-28 19:01:50 +03:00
Anton Midyukov
958a77ce72
deflogin: drop use/deflogin/sysv/nm
...
Not needed with polkit-sysvinit >= 0.4.0
See-also: http://git.altlinux.org/tasks/archive/done/_235/240919
Reverts: 4cec22b957
Reverts: 734b04f16f
2019-11-18 18:41:31 +03:00
Anton Midyukov
e9a3382b24
Revert "init: workaround for elogind to run"
...
This reverts commit b75b2cc330
.
See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html
2019-11-18 18:40:14 +03:00
Anton Midyukov
d0898f4748
init, mixin.mk, regular.mk, regular-vm.mk: drop elogind, polkit-gnome for sysv
...
Use polkit-sysvinit as a workaround.
See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html
Reverts: 08d93ed851
(and several slightly more involved places)
2019-11-18 18:39:32 +03:00
Dmitriy Terekhin
85f857dfc9
aarch64-dbm: initial feature for support DBM board (Baikal M1)
2019-11-08 16:07:54 +03:00
Anton Midyukov
d571fb794b
kernel: add initrd module ahci_platform for aarch64, armh
...
ahci_platform needed for Baikal M.
Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2019-11-08 16:07:52 +03:00
Anton Midyukov
f6c6c8c101
bootloader: skip missing grub/lilo
2019-11-01 13:47:00 +03:00
Michael Shigorin
a7f49316a4
server: add kvm kernel module
...
Just reasonable given the server/kvm pkglist.
Suggested-by: Andrew Kornilov <hiddenman@altlinux.org>
See-also: http://altlinux.org/Терминальный_сервер_NoMachine_в_KVM
2019-10-27 02:03:05 +03:00
Evgeny Sinelnikov
df88da98fd
install2: fix use/install2/autoinstall
2019-10-21 23:11:56 +03:00
Anton Midyukov
0505688e93
init: drop bash-completion-elogind
...
Conflicts with systemd-utils.
See-also: http://bugzilla.altlinux.org/37352
2019-10-21 20:55:04 +03:00
Anton Midyukov
efefa7b2f6
init: drop bash-completion-systemd
...
See-also:
http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=commitdiff;h=30c28ce9e6d8d006c81b6bbecaf6423a08d8f3f5
2019-10-16 14:23:39 +03:00
Anton Midyukov
c8aa4ea0aa
browser, regular.mk: drop palemoon
...
...it's no more in Sisyphus too:
See-also: http://git.altlinux.org/tasks/archive/done/_232/238525
2019-10-03 19:56:58 +03:00
aae4330953
disable virtual keyboard for VNC install mode
2019-09-30 21:41:24 +03:00
Anton Midyukov
32e79be977
syslinux: add pxelinux.0
...
...so that bits required for PXE boot are handy in the image.
Suggested-by: glebfm@altlinux.org , klark@altlinux.org
2019-09-30 21:40:51 +03:00
Anton Midyukov
853c5e275d
aarch64-tegra, armh-mcom02: use/bootloader/u-boot
...
It's required to set BASE_BOOTLOADER variable,
otherwise grub will get in *too*.
2019-09-30 21:29:12 +03:00
Anton Midyukov
8d4c094093
build-vm: drop 04-inittab
...
Not used by systemd and looks obsolete generally
as sysvinit-based disk images aren't really targeting
low-resource systems these days _by default_ but rather
_can_ target those as well; feel free to reconstruct
these "RAM saving" bits as a part of e.g. lowmem patch.
2019-09-30 21:19:22 +03:00
Ivan A. Melnikov
2245193cbc
use/net: Cleanup domain from resolv.conf
2019-09-30 21:06:37 +03:00
Ivan A. Melnikov
21c44d52ec
use/net-eth: increase DHCP timeout
...
bfk3 needs more than 10 seconds to bring the interface up
and get the lease.
TODO: make this configurable.
2019-09-30 21:06:11 +03:00
Anton Midyukov
1709087121
mipsel-bfk3: add use/tty/S0
2019-09-30 19:46:54 +03:00
Anton Midyukov
f9d5a19ffc
mipsel-bfk3: add use/mipsel-bfk3/x11
2019-09-30 19:45:16 +03:00
Ivan A. Melnikov
9570ea5590
mipsel-{bfk3,mitx}: Mark sm705 as master-of-seat on tavolga and bfk3
...
sm750 is seen as framebuffer-only device, so it's not marked with
master-of-seat tag with current udev (which does this mostly to
dri cards). But without master-of-seat device logind does not
report that the seat "CanGraphical", and thus sddm does not
work for it; there might be other problems, too.
This change adds udev rule that marks sm705's fb device as
master-of-seat.
2019-09-30 19:44:54 +03:00
Ivan A. Melnikov
bf37144d05
mipsel-bfk3: Use udev to set sm750 video mode
2019-09-30 19:43:49 +03:00
Ivan A. Melnikov
3956f98bb0
mipsel-bfk3: Initial take on bfk3 support
...
We only plan to distribute XZ-compressed rootfs tarballs.
(mike@: merging cleaned-up version)
2019-09-30 19:42:10 +03:00
Anton Midyukov
894b898e28
mipsel-mitx: use/tty/S0
2019-09-30 19:39:54 +03:00
Anton Midyukov
4c93a717fb
mipsel-mitx: separate use/mipsel-mitx/x11
2019-09-30 19:39:47 +03:00
Ivan A. Melnikov
419cb2ac00
mipsel-mitx: Set console to tty1 in bootconf
...
Tavolga seldom has a serial port connected, so it makes
more sense to write kernel and systemd's messages
to tty1.
2019-09-30 19:38:45 +03:00
Ivan A. Melnikov
7a731dc3ad
mipsel-mitx: set root to /dev/sda6 in bootconf
...
We don't know the root UUID at this point; recovery.rc
will deal with it later, but we'd like to have
even the tarball in a somwhat working state.
2019-09-30 19:38:38 +03:00
Ivan A. Melnikov
4f37e43204
mipsel-mitx: initial feature for tavolga support
...
...with xorg-drv-btsm750 and packaged xorg.conf.
2019-09-30 19:38:34 +03:00
Anton Midyukov
a947f13211
kernel: use different kernel flavour on armh only
...
aarch64 repo has got std-def/un-def flavours by now.
2019-09-23 20:01:14 +03:00
Anton Midyukov
b4f00f4df1
x11: do not disable acpid for enlightenment
...
This fixes warning at enlightenment startup.
2019-09-16 21:21:51 +03:00
Anton Midyukov
2ff268ec3a
x11: add +nm-gtk for use/x11/gtk/nm
...
...to make it easier for all builds including nm-applet
to add this target.
2019-09-16 21:21:48 +03:00
Anton Midyukov
0fe6b1ee7d
build-vm: 07-kernel: all initrd modules are optional
...
The problem at hand is that different kernels can have
varying module sets, and it makes sense to put four of
those at once sometimes; so avoid silly build breakage.
2019-09-16 21:21:39 +03:00
Anton Midyukov
921762e022
armh-mcom02: add target with proprietary videodriver mali
2019-09-16 21:21:27 +03:00
Anton Midyukov
b150f9097b
armh-mcom02: use xorg-drv-fbturbo
...
xorg-drv-fbturbo is recommended by ELVIS and supports working
with the proprietary mali driver.
2019-09-16 21:21:24 +03:00
Anton Midyukov
e09d7bef57
armh-mcom02: initial features for ELVIS Salute board
2019-09-16 21:21:18 +03:00
Ivan Melnikov
dc598719d0
build-vm, main.mk, pack: add recovery.tar
...
recovery.tar needed for tavolga (mipsel).
This commit is the result of transferring the required functionality
from build-mr (mipsel rootfs).
This change uses external tool to build Tavolga-compatible
recovery.tar. This simplifies the logic and avoids having
recovery workdir in the profile.
After this change, m-p will require tavolga-image-tools >= 3.0.
2019-09-16 21:21:15 +03:00
Anton Midyukov
ee710017a2
Revert "install2: added installer-feature-create-ghost-directories"
...
This reverts commit 147964b05f
.
installer-feature-create-ghost-directories not needed more.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=37171
2019-09-09 19:31:52 +03:00
Anton Midyukov
6c01aa52ac
init: add use/init/systemd/settings/*
...
Not all systemd-based images need these settings,
so don't change +systemd alias.
See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html
2019-09-09 19:30:24 +03:00
Anton Midyukov
7f8411fb4c
aarch64-tegra: initial feature for Jetson Nano
2019-09-09 19:29:48 +03:00
Anton Midyukov
e42bcdcb30
90-build-distro.mk, boot.mk, syslinux: add ARM64 EFI support for distro targets
2019-08-30 19:23:28 +03:00
Anton Midyukov
01ee407543
syslinux: copy config for grub2 on aarch64
2019-08-30 19:23:27 +03:00
Anton Midyukov
ddab9ec084
uboot: handle multiple kernels either
...
See commit 207cec89c4515fefa2b711acd06c645ed3bd0ee8.
2019-08-30 19:23:17 +03:00
Anton Midyukov
a8b1f11f2e
build-vm: handle multiple kernels either again
...
KFLAVOURS can describe more than one kernel, get iterator back.
Fixes: 27674e297b
2019-08-30 19:23:16 +03:00
Michael Shigorin
79a1c46d85
syslinux: tweak vncconnect item description
...
I've just borrowed glebfm@'s one introduced by commit
ec23a8ec7b
before; this
still might be improved it seems.
Suggested-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2019-08-19 23:37:45 +03:00
Gleb Fotengauer-Malinovskiy
ec23a8ec7b
Add installer VNC configs with different labels for images with grub bootloader
2019-08-19 23:33:55 +03:00
Gleb Fotengauer-Malinovskiy
6812e1fe57
install2: fix definition of default password in vnc listen config
2019-08-19 23:33:48 +03:00
Gleb Fotengauer-Malinovskiy
255a0f87d5
bootloader: provide lilo and grub support only on corresponding arches
2019-08-19 23:33:37 +03:00
Gleb Fotengauer-Malinovskiy
9a581248af
install2: +install: enable use/install2/full for all arches
2019-08-19 23:33:18 +03:00
Gleb Fotengauer-Malinovskiy
440ee3bbee
install2: enable kvm on all arches supported by qemu
2019-08-19 23:33:09 +03:00
Gleb Fotengauer-Malinovskiy
44343a8e13
rescue: on ppc64le install grub-ieee1275
2019-08-19 23:32:30 +03:00
Gleb Fotengauer-Malinovskiy
5cfc7ede81
ppc64le: use syslinux feature only to generate config
2019-08-19 23:32:07 +03:00
Gleb Fotengauer-Malinovskiy
61b48bcc4b
build-distro: use ieee1275boot BOOT_TYPE for ppc64le
2019-08-19 23:31:07 +03:00
Gleb Fotengauer-Malinovskiy
35db75378e
branding: pull gfxboot and plymouth in only on x86
...
Plymouth is (much more) portable, but our branding packages contain
bootsplash designs only on x86 nowdays.
2019-08-19 23:30:25 +03:00
Gleb Fotengauer-Malinovskiy
5f8c1c0d01
vmguest: always provide vmguest/base and vmguest/complete features
2019-08-19 23:30:05 +03:00