Commit Graph

1029 Commits

Author SHA1 Message Date
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