Commit Graph

1437 Commits

Author SHA1 Message Date
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
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
fbf6286389 arm-rpi4: Added new subtargets kernel and full 2020-08-05 16:59:54 +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
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
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
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
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
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
Anton Midyukov
7244d20f0e slinux: Added support build vm image for riscv64 2020-07-03 12:16:35 +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
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
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
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
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
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
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
4cf9c554ca define vmguest/base for non-intel platforms 2020-05-22 20:06:52 +03:00
Mikhail Efremov
7c3459c62f slinux: Add docs and indexhtml to vm-base 2020-05-22 13:34:37 +07:00
Anton Midyukov
1ada94366a mediacheck: allowed for distro targets only 2020-05-22 13:34:37 +07:00
Anton Midyukov
7a6c9a8a13 net: 50-net-nm band-aid again
When renaming HOSTNAME in the alterator, switches managing interface to etcnet.
This creates problems for users.
This partial reverts commit d4170557c2.
2020-05-22 13:34:37 +07:00
Anton Midyukov
eb16754afb kernel: initrd module sdhci-pltfm for all arches 2020-05-22 13:34:37 +07:00
Anton Midyukov
d54b4fd1e8 stage2: add sdhci-pltfm.ko into 50-stage2-mmc 2020-05-22 13:34:37 +07:00
Anton Midyukov
2c761b78d7 kernel, stage2: add bcm2835-dma in initrd for Raspberry Pi 3 (kernel >= 5.6) 2020-05-22 13:34:37 +07:00
Anton Midyukov
b142de6eb3 uboot: not required BOOTLOADER=uboot for 00-uboot-prepare 2020-05-22 13:34:37 +07:00
Anton Midyukov
0f28ee414f build-vm, tar2fs: added VM_PARTTABLE
For Raspberry Pi needed to build grub-efi + MBR images.
2020-05-22 13:34:37 +07:00
Anton Midyukov
c70f18fcba install2, live, live.mk: drop use/syslinux/localboot.cfg
On hybrid images recorded on a USB flash drive, rather than a
compact disk, this menu item loads the USB flash drive itself.
2020-05-22 13:34:37 +07:00
Anton Midyukov
fe2b712557 build-vm: Added INITRDFEATURES to /etc/initrd.mk 2020-05-22 13:34:37 +07:00
Anton Midyukov
3154b04b3e slinux: Set GRUBTHEME
At Simply Linux name of the catalog with the theme is not parsed from
the branding name.
2020-05-22 13:34:37 +07:00
Anton Midyukov
eed69db1ab grub: Added ability to set grub theme name
Simply Linux has a specific directory name with a theme.
2020-05-22 13:34:37 +07:00
Anton Midyukov
b6fed78a52 slinux: use/efi/grub 2020-05-22 13:34:37 +07:00
Anton Midyukov
7c9184499a slinux: Added use/stage2/sbc
For single-board computer support.
2020-05-22 13:34:37 +07:00
Anton Midyukov
1185a11821 education.mk, mixin-basealt.mk, live, slinux: Use stage2 features instead STAGE1_MODLISTS 2020-05-22 13:34:37 +07:00
2a7021e146 server: add use/grub feature as use/syslinux 2020-05-22 13:34:37 +07:00
ce4fb154a4 kernel: Added use/kernel/drm 2020-05-22 13:34:37 +07:00
1d5b7b1938 server: Add un-def as optional kernel for use/server/virt 2020-05-22 13:34:37 +07:00
8acd1a1294 server, server-v.mk: Added use/server/virt and migrate server-v to use it 2020-05-22 13:34:36 +07:00
0a66396735 install2: do not cleanup ipv6 kernel module from install2 2020-05-22 13:34:36 +07:00
116bd3b9b0 install2: do not cleanup btrfs kernel module from install2 2020-05-22 13:34:36 +07:00
897dd46294 server: Disable use/power/acpi/button by default
use/power/acpi/button not needed for systemd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
43b88933df slinux: Drop tracker
There is no GUI for tracker any more and Xfce doesn't support it.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3ea7f54c7d slinux, slinux.mk: Add vm/slinux on x86
Can be useful for OEM.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
109ffec8a1 slinux: Rename 90-cleanup-pkgs -> 90-sl-cleanup-pkgs
warning: file clash: live/image-scripts.d/90-cleanup-pkgs~
2020-05-22 13:34:36 +07:00
Mikhail Efremov
7b30b6324d slinux: Use rootfs-installer-features for vm/ targets 2020-05-22 13:34:36 +07:00
Mikhail Efremov
8e6b4d0f61 slinux, slinux/multimedia-base: Use celluloid as media player on non-x86
Seems it works better there.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3dc8d1c61a slinux: Fix adding browser list
This list must be added for all SL variants.
Thanks jqt4@ for spotting.
This fixes commit 91715712cea6485e5395712d34441ae5a89fdbb3.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
458d2c4558 slinux: Use firefox on ARM and e2k
Seems firefox is faster as reported by jqt4@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
6803bbbbe1 slinux: Don't pull installer-distro-s-l-stage3 to live
Apparently we don't wan't installer-features pulled by it.
All required installer-features pulled by
installer-feature-simply-livecd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
cffdf0e363 slinux: Disable bell on created rootfs
So it will be disabled by default in live and vm/* images.
This make installer-feature-bell-off unneeded on SL-live.
See https://bugzilla.altlinux.org/show_bug.cgi?id=33653.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
c18155e614 slinux: Remove sytemd-{networkd,tymesyncd} from rootfs
Dunno why these packages pulled to rootfs.
They are shouldn't.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
edd2392cbb slinux/live: Enable livecd-* services only
All other services should be added to SYSTEMD_SERVICES_* and
handled by rootfs image script.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
2c93da94fb slinux: Use SYSTEMD_SERVICES_* variables
List services in the profile itself, files systemd-* in the
installer-distro-simply-linux shuold be dropped: we are want
the same list for installer, livecd and rootfs.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
183d85fa9f features/services: Add SYSTEMD_SERVICES_{ENABLE,DISABLE}
Support systemd-spicific services, e.g. *.socket amd .service units.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
57a29b38dc slinux: Set Russian as default in EFI mode 2020-05-22 13:34:36 +07:00
Mikhail Efremov
fd102a272f slinux: Add use/efi/memtest86 and use/efi/shell
Also add use/bootloader/grub and mixin/desktop-installer.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
70bfc2d064 slinux, education.mk: Rename group Communications -> Internet/Networking
As more appropriate name for this group.
Also rename comm-base -> net-base.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
85b85beb43 slinux: Fixed start installer aarch64 iso
Added use/vmguest/kvm/x11 use/stage2/kms.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5f31779964 slinux: Use systemd-optimal 2020-05-22 13:34:36 +07:00
Mikhail Efremov
109271931b slinux: Add all base lists to vm/* 2020-05-22 13:34:35 +07:00
Mikhail Efremov
6df21fd8c1 slinux: Move common part for vm/* to separate target 2020-05-22 13:34:35 +07:00
Mikhail Efremov
573a29872c slinux, slinux.mk, slinux/misc-base: Add vm/slinux* targets
Build rootfs images for ARM.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
4900dab9c4 slinux.mk, slinux: Update iso metainfo
See thread
https://lists.altlinux.org/pipermail/devel-distro/2019-July/001669.html
for details.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
3524d73b8c desktop.mk, live.mk, live: Get rid of acpi
Apparently we don't want it with systemd-logind.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
eeea63f92f slinux, education.mk: Rename network-base -> comm-base
This list for Communications, not network in general.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
948be19c53 slinux: Add chrony
Use chrony as NTP client.
2020-05-22 13:34:35 +07:00
Anton Midyukov
45c6adbf61 build-vm: fixed make-initrd for e2k 2020-05-22 13:34:35 +07:00
Anton Midyukov
0950ba8012 grub: added gfxmode support 2020-05-22 13:34:35 +07:00