Commit Graph

1621 Commits

Author SHA1 Message Date
Anton Midyukov
a390c4b831 cleanup: rename same name scripts 90-cleanup-pkgs 2022-02-16 11:12:21 +07:00
Anton Midyukov
593269af8c cleanup: add CLEANUP_LIVE_PACKAGES 2022-02-16 11:12:21 +07:00
Anton Midyukov
f09ef54e65 cleanup: add verbose mode for cleanup-pkgs scripts 2022-02-16 11:12:21 +07:00
Anton Midyukov
0e7eb96761 cleanup/install2: do not export GLOABAL_CLEANUP_PACKAGES from script 2022-02-16 11:12:21 +07:00
Anton Midyukov
ef7a6561db cleanup: do not create postinstall script, if nothing to delete 2022-02-16 11:12:21 +07:00
Anton Midyukov
c6b6304c96 plymouth: require branding-@BRANDING@-graphics
Needed for make-initrd >= 2.25.0
See also: e9199e0f0d
2022-02-15 22:31:14 +07:00
Anton Midyukov
42b5fce789 initrd-bootchain: split added modules by line in initrd.mk 2022-02-13 21:16:01 +07:00
Anton Midyukov
95879da29b initrd-bootchain: simplify the procedure for adding modules to initrd 2022-02-13 21:16:01 +07:00
Anton Midyukov
ebe22ccddd init: clear machine id
systemd create new uniq machine-id on first boot.
so that during mass deployment of containers, virtual machines or
live there are no identical machine-ids on computers in the same network.
Reported by obirvalger@
2022-02-13 21:16:01 +07:00
Anton Midyukov
58c4156b2f vmguest: fix stage1/modules.d/50-vmguest
The list must not contain empty lines.
Otherwise, all modules are added to the initrd.
Fix commit 3e7b5828e6
2022-02-13 21:16:01 +07:00
Anton Midyukov
c1e9fc6e78 drm: exclude ancient from full drm
ancient - drm modules for very old graphics cards.
Only needed for some retro builds.
2022-02-13 21:16:01 +07:00
Anton Midyukov
71cc96685b live, repo: not enable online repo on e2k 2022-02-05 22:21:02 +07:00
Anton Midyukov
8928fedc8b repo: setup mirror in install script 99-online-repo.sh 2022-02-05 22:21:02 +07:00
Anton Midyukov
43ff7f1781 e2k: fix bootloading iso from CD/DVD 2022-02-05 22:21:02 +07:00
Anton Midyukov
0e26261799 live: set default LIVE_REPO=http/alt instead http/yandex
Required by shaba@:
https://bugzilla.altlinux.org/show_bug.cgi?id=41588#c1
2022-02-02 16:36:07 +07:00
Anton Midyukov
9b7ecd96c5 live: add additional checks in the script for enabling online repos
Made by analogy with features.in/repo/image-scripts.d/90-enable-repo.
2022-02-02 16:36:07 +07:00
Anton Midyukov
3dfe3f9328 repo: rename variable ROOTFS_MAIN to REPO_MAIN
This variable blocks the enable of online repositories and activates
the enable of RPMS.main repository in iso or rootfs.
The old name was misleading.
2022-02-02 16:36:07 +07:00
Anton Midyukov
3a3ebe0b73 repo: add the ability to select a repository mirror (default http/alt)
Default changed from yandex to alt due to:
https://bugzilla.altlinux.org/show_bug.cgi?id=41588#c1
2022-02-02 16:36:07 +07:00
Anton Midyukov
37f9996b65 tty: add installer-feature-serial-stage3 for live also 2022-02-02 16:36:07 +07:00
Anton Midyukov
ed97f9c28e arm-rpi4: copy actualy dtb's for default kernel to /boot/efi 2022-02-02 16:36:07 +07:00
Anton Midyukov
5518192d19 init: not copy os-release in live, rescue (more not needed)
The problem was earlier bacause of that the with /etc/os-release
package was installed too early.
See also commit 8551e71028
2022-01-20 12:20:34 +07:00
Anton Midyukov
88a1e03f3e init: do not add systemd-utils-standalone to use/init/sysv
systemd-utils-standalone no available for p9.
apt-conf-ignore-systemd guarantees the installation of
systemd-utils-standalone.
2022-01-20 09:31:03 +07:00
Anton Midyukov
9abc5dc5dd grub: Add ability to override terminal from external grub.cfg on ESP
This will allow for ISO, writed on flash, disable gfxterm and
enable serial console, if necessary. For EFI only.

Example:
GRUB_TERMINAL='console serial'
GRUB_SERIAL_COMMAND='serial --unit=0 --speed=115200'
2022-01-20 09:31:03 +07:00
Anton Midyukov
ba00aa4d94 dev, regular.mk: separate subtargets for sysv/systemd from use/dev/builder/live
For systemd not needed livecd-qemu-arch. systemd-binfmt.service makes
all the work.
2022-01-20 09:31:03 +07:00
Anton Midyukov
44c60e5ca7 rename empty .gitignore to .empty
When building the rpm package .gitignore is deleted. These files
are necessary in order for saved profiles when building the image
from git repository and from installed rpm package have been
identical.
2022-01-19 20:28:51 +07:00
Anton Midyukov
33a647475d dev: add apt.conf's and source.list's for supported BRANCHES and ARCHES
Also:
- added ~/.mkimage/profiles.mk for use this apt.conf's from
  mkimage-profiles with variable BRANCH.
- use local cache packages in ~/apt/ for to reduce the time of
  repeated builds.
- use mirror yandex, because faster
- repo ports is not signed.
2022-01-19 20:28:51 +07:00
Anton Midyukov
9182ee3ef9 dev: fix owner:group for /home/altlinux/* 2022-01-19 20:28:51 +07:00
Anton Midyukov
231488e338 stage2: add Baikal M support to 50-stage2-usb list 2022-01-19 20:28:51 +07:00
Anton Midyukov
370be09a86 x11-autostart: installer-feature-runlevel5-stage3 for distro targets only
For rootfs a similar script is launched when building image.
2021-12-30 22:34:42 +07:00
Anton Midyukov
3e7b5828e6 vmguest: update vmguest modules list for support Hyper-v gen2 2021-12-29 23:06:19 +07:00
Anton Midyukov
16cf9510b5 kernel, server: drop kernel-modules-igb, kernel-modules-e1000e
kernel-modules-igb not available for branch >= p7
kernel module e1000e in p10 is packed according to the blacklist
scheme, this blacklist is applied to all the kernels and the
internal e1000e from un-def-5.15 does not work as a result.
Reported by boyarsh@
2021-12-29 23:04:30 +07:00
Anton Midyukov
7844b5bc5c apt-conf: replace IMAGE_INIT_LIST to PINNED_PACKAGES
No need to add packages to IMAGE_INIT_LIST. Use pkgpriorities.
See also commit 8551e71028
2021-12-28 16:16:19 +07:00
Anton Midyukov
b40feee1c8 slinux: replace sylpheed to claws-mail on riscv64 2021-12-28 16:14:40 +07:00
Anton Midyukov
15d649e14f slinux: add xfce-reduced-resource to use/slinux/vm-base for riscv64 2021-12-28 16:10:03 +07:00
Anton Midyukov
3336b6e07d vmguest: add qemu support for riscv64, without qemu-agent 2021-12-28 16:07:43 +07:00
Mikhail Efremov
9a413450f8 slinux: Use chromium and vlc on aarch64
As reported by jqt4@ they are better on aarch64 nowaday.
2021-12-28 01:40:48 +07:00
Mikhail Efremov
7fe69b729e slinux: Use celluloid on aarch64 again
In preparation to change celluloid -> vlc for all aarch64,
so we are not need to do this for tegra only.
This reverts commit b73541124b.
2021-12-28 01:40:29 +07:00
Anton Midyukov
c8aff970e0 slinux: use/browser/epiphany for riscv64 2021-12-24 17:03:51 +07:00
Anton Midyukov
eed443efcf browser: use epiphany instead midori for riscv64 2021-12-24 17:02:33 +07:00
Anton Midyukov
ee5f21f04c slinux: fix order targets use/slinux/vm-base::
Under the reverse order, nor use/oem and nor use/oem/vnc is
executed. As a result, alterator-setup is not added.
2021-12-24 13:02:25 +07:00
Anton Midyukov
8ca3fa9b16 slinux: add abiword, gumeric for riscv64 2021-12-24 00:35:45 +07:00
Anton Midyukov
6abea584bc volumes: make a feature available only for distro targets 2021-12-24 00:28:12 +07:00
Anton Midyukov
a64ceaaa82 kernel: add tegra-drm.ko to initrd (armh, aarch64) 2021-12-20 23:19:55 +07:00
Anton Midyukov
323fe9fd0c kernel: add framebuffer support in initrd for Sunxi, Rockchip SBC 2021-12-20 23:19:02 +07:00
Anton Midyukov
e009976d9e kernel: add fbdev kernel modules to initrd 2021-12-20 23:11:42 +07:00
Anton Midyukov
3449a8ec2e arm-rpi4: do not break build if there is no dtb for RPi4 2021-12-20 20:55:33 +07:00
Anton Midyukov
ddd1e7abf8 x11: do not use RADEON_PACKAGES variable in use/x11/radeon target
There are no proprietar videodrivers for Radeon in the repository.
The variable is needed to switch between proprietary and its free
video drivers. No longer needed.
2021-12-19 21:33:45 +07:00
Anton Midyukov
4dc95bde8c x11: update use/x11/xorg
use/x11/xorg is also used to build VM images that are intended for
virtual machines and SBC. For VM targets do not need support for
discrete video cards, as a rule.
2021-12-19 20:46:18 +07:00
86d304e103 install2, vmguest: add xorg-dri-vmwgfx to vmware drivers 2021-12-19 17:27:41 +07:00
Anton Midyukov
a6bc0e63c0 oem: fix BASE_BRANDING to THE_BRANDING
BASE_BRANDING variable does not use.
Fix for commit: a2ca36201f
2021-12-16 16:45:07 +07:00