Commit Graph

1438 Commits

Author SHA1 Message Date
Ivan A. Melnikov
2bd9931a22 mipsel-bfk3: Don't add ext2 module to initrd explicitly
This is already done for VM_FSTYPE in a much better way.
2021-02-18 02:52:00 +07:00
Ivan A. Melnikov
9db2390d31 mipsel-bfk3: Switch to 5.4 kernel
There, DTB is named differently.
2021-02-18 02:51:43 +07:00
Ivan A. Melnikov
9620de4b70 mipsel-bfk3: Specify DTB name in config.mk
mipsel-bfk3 feature often serves as basis for special
build for various other BE-T1000-based devices. Having
DTB name in config.mk simplifies creating such derivatives.
2021-02-18 02:51:28 +07:00
Anton Midyukov
e1f2f41c2b slinux: Cleanup
lang=ru_RU not needed added into EFI_BOOTARGS, when use grub-efi.
grub-efi use by default.
2021-02-18 02:43:08 +07:00
Anton Midyukov
272f99160c slinux.mk, slinux: Drop use/slinux/arm-base, pruning 2021-02-18 02:41:47 +07:00
Anton Midyukov
9ff80345cf slinux: Simplify use/slinux/vm-base 2021-02-18 00:56:49 +07:00
Anton Midyukov
de9adb0594 build-distro, boot.mk: Set BOOT_TYPE, BOOTLOADER to efiboot for aarch64
mki-copy-grubaa64boot more not needed. In addition, it did not
support the config in boot/grub instead of EFI/BOOT.
Needed mkimage >= 0.2.38-alt1
2021-02-17 13:47:39 +07:00
Anton Midyukov
b9201c6a74 serer: Removed kernel modules that haven't been built for a long time 2021-02-15 19:14:23 +07:00
Anton Midyukov
63fc0919db kernel: Removed kernel modules that haven't been built for a long time 2021-02-15 19:14:23 +07:00
Anton Midyukov
d68e0d0768 sound: Removed kernel modules that haven't been built for a long time 2021-02-15 19:14:23 +07:00
Mikhail Efremov
029315e6f4 slinux: Temporary use un-def kernel
Current un-def kernel (5.10.x) should be std-def at the time
of SL-9.1 release.
2021-02-15 19:14:22 +07:00
Anton Midyukov
67c14e429b grub: Add copy grub theme and locale
Thanks underwit@
See-also: ALT bug 39632
2021-02-15 19:14:22 +07:00
Anton Midyukov
6fafc883a0 grub: fix comment in 01-grub 2021-02-15 19:14:22 +07:00
Anton Midyukov
dfa67141d8 grub: Use common grub.cfg for grub-pc and grub-efi 2021-02-15 19:14:19 +07:00
Anton Midyukov
aa12c024f9 grub: Use variable $linux_suffix
Needed for use one grub.cfg config for all grub platforms.
2021-02-15 17:07:04 +07:00
Anton Midyukov
83109b6bc4 syslinux: Add grub-pc compatibility
Directory syslinux can exist if using memtest feature.
2021-02-15 17:05:54 +07:00
Anton Midyukov
1e2a05d9bc grub, memtest: Add memtest for grub-pc 2021-02-14 23:22:56 +07:00
Anton Midyukov
7de3db560e grub: Add support grub-pc for ISO bootloading
It is required to set the BOOTLOADER and BOOT_TYPE variables in
grubpcboot.
2021-02-14 23:22:56 +07:00
Anton Midyukov
5e60c91a04 net-eth, mipsel-*: Add new target use/net-eth/dhcp/timeout/$TIMEOUT
Thanks for the idea Ivan A. Melnikov.
2021-02-14 23:22:56 +07:00
Anton Midyukov
06b67bd75a firmware: Add firmware-bcm4345 for aarch64, armh
Needed for bluetooth support for Raspberry Pi.
2021-02-14 23:22:56 +07:00
Anton Midyukov
961db57535 grub: fix config for grub_platform 2021-02-14 23:22:56 +07:00
Anton Midyukov
99db7a9e8c grub: replace kernel flavour menu before memtest 2021-02-14 23:22:56 +07:00
Anton Midyukov
439fe29841 build-vm, mipsel-{bfk3,mitx}: Execute fstab scripts before 17-kernel
This is necessary for the 'rootfs' initrd feature to work properly
2021-02-14 23:22:56 +07:00
Anton Midyukov
e79b1385d4 build-vm: Add initrd features: kbd rdshell rootfs
This is a standard set of initrd features.
2021-02-14 23:22:56 +07:00
Anton Midyukov
563d99e199 build-vm: 17-kernel: Add -efu options to shebang, add verbose for make-initrd 2021-02-14 23:22:56 +07:00
Anton Midyukov
d86bb07f4a kernel: Add initrd feature usb for more architectures
In make-initrd >= 2.5.0-alt1 feature usb requires kernel modules optional.
2021-02-14 23:22:56 +07:00
Anton Midyukov
58e83cea49 build-vm, kernel: Not add specified initrd features into initrd.mk
This features not needed for auto-detect.
We also add features not only to initrd.mk, but also specify them
explicitly in the command.
2021-02-01 18:04:40 +07:00
Anton Midyukov
5c1239c97a grub: Use META_VOL_ID for @distro@ instead RELNAME if available
In menu you need the name of the distributiv.
If not set, then we will be as before.
Also corrected the selection of phrases for translation.
Suggested-by: zerg@
See-also: ALT bug 39611, 39612.
2021-01-28 17:33:43 +07:00
2a875c7064 grub: Markup configuration files for translation 2021-01-26 21:29:19 +07:00
Anton Midyukov
fb1ad2cae0 kernel: Added initrd moule reset_raspberrypi for Raspberry Pi 4 8 GB support 2021-01-26 12:02:29 +07:00
Anton Midyukov
b910f28925 stage2: Added reset-raspberrypi.ko into 50-stage2-sbc-aarch64
Needed for Raspberry Pi 4B 8 GB.
2021-01-26 11:58:29 +07:00
Anton Midyukov
ae69a2d563 rescue: Added rescue_rw.cfg for grub-efi
No problem with EFI support.
2021-01-25 19:42:32 +07:00
Anton Midyukov
2088ffdae7 grub: Fix typo in generate.mk 2021-01-25 19:42:32 +07:00
Anton Midyukov
765796d35c oem: Not use git in 60-oem-install.mk
But with git might not work.
2021-01-25 19:42:32 +07:00
Anton Midyukov
283c03f0c5 stage2: Add more usb drivers into into 50-stage2-usb 2021-01-25 19:42:32 +07:00
Anton Midyukov
09717d13b0 efi: Not check CONFIG_EFI_VARS
CONFIG_EFI_VARS is deprecated, and removed for aarch64 (Linux >= 5.10.0).
2020-12-24 21:41:35 +07:00
Anton Midyukov
33523fb532 oem: Create empty /var/lib/install3/lists/.base
Empty lists/.base needed for alterator-pkg to calculate the space
required for installation when selecting groups.
See-also: https://lists.altlinux.org/pipermail/devel-distro/2020-December/002239.html
2020-12-23 01:48:59 +07:00
Dmitriy Terekhin
4aeed7ed2e stage2/stage1: fix module names to match kernel 2020-12-05 21:03:03 +07:00
Anton Midyukov
77e80ef011 oem: Add use/oem/install target
This target needed for alterator-setup (pkg step).
Also added preinstall and eth-net steps.
2020-12-05 00:25:53 +07:00
Anton Midyukov
07525d728d browser, live.mk: Drop use/browser/plugin/java, use/browser/plugin/flash
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
8889187eb6 browser, mixin.mk: Drop use/browser/seamonkey/i18n
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
e0aa88b7b1 grub: Add EFI_BOOTARGS into BOOT/EFI/grub.cfg
Pay attention to what you are adding to the variable. No need to
add language and live_rw there! Они нужны только для refind.
2020-12-05 00:25:53 +07:00
Michael Shigorin
40fb799e84 install2: fix typo in cleanup script
Oops, I sure meant a prefix and not a single-letter name.

Reported-by: Sergey V Turchin <zerg@altlinux.org>
Fixes: 4130212a23
2020-12-05 00:25:53 +07:00
Anton Midyukov
f1de2584c2 armh-skit: auto-resize root patition enable 2020-12-05 00:25:53 +07:00
Anton Midyukov
082b221076 armh-skit: Not add u-boot bootloaders 2020-12-05 00:25:53 +07:00
Anton Midyukov
dd0a009edd armh-mcom02: Fix auto-resize root patition 2020-12-05 00:25:53 +07:00
Anton Midyukov
b7efa177bd arm-rpi4, auto-resize: replace 91-edit-fstab-growfs into new feature 2020-12-05 00:25:53 +07:00
Anton Midyukov
e3c2d95a3d arm-rpi4: Drop 97-gen-uboot-env
Not needed more.
2020-12-05 00:25:53 +07:00
Anton Midyukov
d970362b50 arm-rpi4: Disable #dtoverlay=vc4-fkms-v3d for RPi3 on aarch64
framebuffer not working with dtoverlay=vc4-fkms-v3d on RPi3 aarch64.
2020-12-05 00:25:53 +07:00
Anton Midyukov
0eb63906ee arm-rpi4: Clean use/arm-rpi4/x11
The Raspberry Pi 4 has hardware acceleration, there is no need to
use special programs.
bluetooth is needed only on a desktop.
2020-12-05 00:25:21 +07:00
Anton Midyukov
4def3ed445 regular.mk, x11: Initial regular-deepin.iso
Suggested by lvol@
2020-11-27 03:02:23 +07:00
Anton Midyukov
1782ffdcdc arm-rpi4, build-vm, tar2fs: Add new argument VM_BOOTTYPE for tar2fs
While this argument can only have one "EFI" value.
Thus, the problem of building an image for Raspberry Pi on armh,
where there is no grub-efi, was solved.
2020-11-26 19:52:29 +07:00
Anton Midyukov
583074da71 plymouth: Add splash to BASE_BOOTARGS
This needed for live.
2020-11-25 17:19:14 +07:00
Anton Midyukov
a5acd603e5 bootloader: Cleanup splash in 50-bootargs
The 'splash' boot argument must be cleared so that it is not enabled
for rootfs and livecd that do not have plymouth installed.
2020-11-24 21:13:54 +07:00
Anton Midyukov
fac99cdb7d repo: Add apt-get update into 01-genbasedir-rootfs 2020-11-23 15:21:11 +07:00
Anton Midyukov
62e5c55ada deflogin: Disable debug mode for rootfs/image-scripts.d/50-users
Forgot to disable up after finishing debugging.
2020-11-23 15:18:13 +07:00
Anton Midyukov
b17ce57724 stage2: Not added nvidia kernel modules into propagator 2020-11-23 15:15:49 +07:00
Anton Midyukov
63d8e6e377 armh-mcom02: Do not set BOOTLOADER variable
use/bootloader/uboot needed uboot packages.
2020-11-16 09:41:31 +07:00
Anton Midyukov
c4989f8577 repo: Don't include online repositories if a variable ROOTFS_MAIN is set 2020-11-13 00:57:20 +07:00
Anton Midyukov
5848ae70df grub: Drop multiple kernel support 2020-11-12 21:41:32 +07:00
Anton Midyukov
de881fb4b6 syslinux: Export SYSLINUX_DEFAULT, update README 2020-11-06 22:44:33 +07:00
Anton Midyukov
de21f3309d browser, live, mixin.mk, arm-rpi4: Drop old targets use/firefox/{i18n,h264} 2020-11-06 19:20:01 +07:00
Anton Midyukov
724b0cbaa0 oem: Added ability to set alterator-setup steps 2020-11-06 19:20:01 +07:00
Anton Midyukov
bf9b26afc4 armh-skit: Initial feature 2020-11-06 19:20:01 +07:00
Anton Midyukov
ebd5ccc941 oem: Cleannup trash message 2020-11-06 19:20:01 +07:00
Anton Midyukov
65676556ba arm-rpi4: Enable dtb overlay fkms for Raspberry Pi 3 2020-11-06 19:20:01 +07:00
Anton Midyukov
bdef2e48b0 wireless: Update kernel modules for wi-fi 2020-11-06 19:20:01 +07:00
Anton Midyukov
9995046215 kernel: Add module for Realtek R8125 into use/kernel/net 2020-11-06 19:20:01 +07:00
Anton Midyukov
d1c947de31 repo: use/repo/main for vm targets
use/repo/main for vm targets will now create and enable the main
repository in /ALTLinux on rootfs.
2020-11-06 19:20:01 +07:00
Anton Midyukov
9795eaf827 deflogin: Update README 2020-11-06 19:20:01 +07:00
Anton Midyukov
da9180838f drm, plymouth, stage2, x11: initial feature drm
The drm feature solves the problem of creating a common entry
point for adding kernel drm modules for different package lists.
The need for allocation into a separate feature arose from one
parties to the need to make a switch between free and proprietary
NVIDIA driver, on the other, because of the need to add only drm
modules kernels for purposes such as use/stage2/kms and use/plymouth.

Also no more switch needed for RADEON, as only the free video driver
remains.
2020-11-06 19:20:01 +07:00
Anton Midyukov
3f2e559b77 fonts: Fix typo (logical error) 2020-10-26 16:54:21 +07:00
Anton Midyukov
b9b345554e armh-mcom02: Added resize root partition at first start 2020-10-26 16:54:21 +07:00
Anton Midyukov
cb31cc4ebd vmguest: Fix and simplified for all architectures 2020-10-26 16:54:21 +07:00
Anton V. Boyarshinov
26a8aad09f Baikal-M specific modules into stage1 2020-10-26 16:54:21 +07:00
Anton V. Boyarshinov
3d4ba22330 Rename all RPMs to canonical names before genbasedir 2020-10-26 16:54:20 +07:00
Anton Midyukov
f33644ed3b kernel: Set default kernel to std-def for armh 2020-10-26 16:54:20 +07:00
Anton Midyukov
c00f508b84 deflogin: Added SPECIAL_USER
Variable SPECIAL_USER must have the following format:
user:group:uid:gid:homedir:shell
Example:
@$(call set,SPEC_USER,user:user:500:500:/home/user:/bin/bash)
2020-10-26 16:53:29 +07:00
Ivan A. Melnikov
981971c240 mipsel-bfk3: Fix 40-fstab script
This bug was introduced in c310a1e999 and was
breaking bfk3 builds ever since.
2020-10-19 23:54:15 +07:00
Anton Midyukov
b91fe5a29f oem: Added use/oem/no-cleanup
This target disable cleanup install packages after finishing
alterator-setup.
2020-10-02 12:38:47 +07:00
Anton Midyukov
5c3b9db5b2 fonts: use/fonts/install2 must be set INSTALL2_FONTS but not SYSTEM_FONTS
So we added a separate target use/fonts/system.
Needed for kworkstation.
2020-09-29 22:21:46 +07:00
Anton Midyukov
c087398aee fonts: Fix adding FONTS
use/fonts must be called every time you add something to the FONTS
variable.
2020-09-29 14:32:12 +07:00
Michael Shigorin
a10787e74c e2k: ru_RU by default
Not that it's exported anyways!
2020-09-26 17:39:33 +03:00
Michael Shigorin
0dc00a7622 e2k: add mirror-e2k-alt
This one is going to need adaptation for each private repo
but eventually should be gone in favour of sisyphus-mirror.
2020-09-26 17:39:32 +03:00
Michael Shigorin
f0c4971ed3 e2k: force stage1 kms setup
This one should ensure we can actually see propagator
(given dri/kms kernel drivers built as modules).
2020-09-26 17:39:26 +03:00
Michael Shigorin
5e0e2e4e3d e2k: add url to write script
...so that further reading is at least referred to
(the script gets into current ISO images).
2020-09-26 17:39:23 +03:00
Anton Midyukov
49e306b6af rescue: Not select pakage list with tag "x11" 2020-09-22 10:29:47 +07:00
Anton Midyukov
0b049d3a93 slinux: Add use/live/no-cleanup
See-also: 018ea50518
2020-09-21 22:33:13 +07:00
Anton Midyukov
018ea50518 cleanup, live: Added target use/live/no-cleanup (docs, rpmdb)
It is customary to set a variable without the GLOBAL_ prefix. It
is added to the name when exporting.

I made by analogy use/cleanup/live-no-cleanup-docs.

Since both targets have long names and are needed together,
i made use/live/no-cleanup.

Use target use/live/no-cleanup should be used instead of:

@$(call set, GLOBAL_LIVE_NO_CLEANUPDB, yes)
2020-09-21 22:30:46 +07:00
Anton Midyukov
4520594a21 stage2: Added fuse.ko into 50-stage2-fs for ntfs support 2020-09-21 14:53:27 +07:00
Anton Midyukov
ea9994e6c1 fonts: Added variable FONTS
This will override the already defined fonts.
2020-09-21 14:44:33 +07:00
Anton Midyukov
a8b25b792e fonts: Added the ability to override SYSTEM_FONTS in use/fonts/install2 2020-09-21 14:44:33 +07:00
Anton Midyukov
f51305ce07 install2: Added INSTALL2_CLEANUP_DRI
Cleanup dri is still needed for servers.
Reported-by: shaba@
Also-see: 576a58d1c6
2020-09-18 12:45:09 +07:00
Anton Midyukov
5182e86c4f efi: Fix space in THE_PACKAGES on aarch64
A space in the THE_PACKAGES list makes it impossible to install
the system.
2020-09-18 12:45:09 +07:00
Anton V. Boyarshinov
436452967c features.in/metadata/lib/50-metadata.mk: space-prefixed strings handling fixed 2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
2d516c9c44 mipsel-bfk3: Drop 98-sm750-set-mode.rules
This rule file is packaged in fbset-modes-sm750-bfk3 since 2.0.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
b67d1782c0 mipsel-{bfk3,mitx}: Use alt-config-be-t
This package includes some common configuration
we use for BE-T1000 based boards.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
3d2efecf91 mipsel-mitx: Set default cpufreq gouverner to performance
cpufreq-simple sets it to ondemand by default, which does
not behave well on some Tavolga kernels.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
0d4aa49cfa mipsel-mitx: Use mitx-xpa kernel 2020-09-18 12:45:09 +07:00
Mikhail Gordeev
a25b75e578 kernel: add virtio-gpu module for vms 2020-09-18 12:45:09 +07:00
576a58d1c6 install2: Don't cleanup xorg-dri-*
2d acceleration won't work without xorg-dri-*.

This commit is chrrey-pick 649eb04c9ee7d23f53e713ecbe95c7bb96c26439.
2020-09-09 02:54:42 +07:00
Michael Shigorin
ce7b912782 browser: archdep tweaks
chromium is pretty popular to say the least,
and falkon should be used in lxqt starterkit;
both are unavailable on e2k as of today.
2020-09-07 20:26:00 +03:00
Michael Shigorin
2d8c5dbcc2 e2k: support flash boot targets other than install
Yet another silly distraction...
2020-09-07 20:25:57 +03:00
Michael Shigorin
04a6489df0 kernel: introduce use/kernel/latest
Kernel flavours differ on secondary arches (and there's a bunch
of platform-specific kernels for ARM systems), so let's provide
some more flexible scheme than hardwiring un-def into images.

This might be further enhanced to e.g. set KFLAVOURS to
$$(KFLAVOURS_LATEST)) with it being preset to un-def
where available so rpi images could set it to rpi-un,
and still get reasonable starterkits for free.

The corresponding commit in RELENG-e2k-p9-starterkits
private branch just tore un-def apart => unmergeable.
2020-09-07 20:25:38 +03:00
Michael Shigorin
af95749d67 cleanup: avoid crippling non-x86 badly
This is a controversial feature right from the start,
but keeping jeos alive on non-x86 (that is, catching
every case when a removed removed package would bring
something critical along with it) is somewhat harder
so just skip this part there for now.
2020-09-07 20:25:35 +03:00
Michael Shigorin
e02a1d25a2 live: use/live/suspend where it works
Not a given on any architecture...
2020-09-07 20:25:30 +03:00
Michael Shigorin
15df1fb1cd e2k: drop mga2 support for now
It's not ready yet with upgrade locked by ftbfs (msct#5248 et al).
2020-09-07 20:25:23 +03:00
Michael Shigorin
a2abaaf7ea e2k: fix 50-e2k-utc script
/.host/script.sh: line 4: .: install2-init-functions: file not found
mki-image-scripts: $BUILDDIR/image-scripts.d/50-e2k-utc: unable to run script.
2020-09-07 20:24:57 +03:00
Michael Shigorin
a2770630a0 e2k: add /write.sh into ISO images
There's some peculiarity in writing ISO images for e2k
onto USB Flash media: we need to arrange a partition
and ext2 filesystem with its label passed to propagator;
the former part is what's expected, and the latter one
is what this script does.

Thanks to aerodisk.ru guys for catching a brown paper bag
class typo making format() try to affect the image and not
the drive, by the way.
2020-09-07 20:24:48 +03:00
Michael Shigorin
8b410d6a03 e2k: disable pwmd service
This one is to be enabled by a server sysadmin at the moment,
so rather disable it explicitly.
2020-09-07 20:22:12 +03:00
Michael Shigorin
dc2002242b live, rescue: fixup 60-apt
There are two different versions of the script with the same
name for different subprofiles, sharing some of the same bugs
over the years, *sigh*.

Shoving those into stage2 would yield online repositories enabled
there too which *might* be wanted but will likely need installer
support (at least some better error handling, the current culprit
with unavailable repositories being apt-pkg's size estimation).

Fixes: d2f892abda
Fixes: 0f4ee98fa4
2020-09-07 20:22:09 +03:00
679fe820d0 wireless: Add rtl8812au driver 2020-09-04 18:09:30 +07:00
Anton Midyukov
6c268b9094 armh-mcom02: Fix for missing alsa-set-initial-options 2020-09-02 22:04:31 +07: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
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
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
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
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
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
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
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
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
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
25e82a2ca2 vmguest: cosmetic fix
(still preferring 80-char wide xterm for proofreading)
2020-08-31 14:23:44 +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
a6b46b2125 x11: Added DISPLAY_MANAGER into package priorities 2020-08-27 23:42:07 +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
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
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
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
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