Commit Graph

1068 Commits

Author SHA1 Message Date
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
Gleb Fotengauer-Malinovskiy
f02d3f7d0f vmguest: add kvm/x11 for all arches supported by qemu 2019-08-19 23:29:38 +03:00
Gleb Fotengauer-Malinovskiy
f981ae0c07 syslinux: drop BOOT_TYPE definition (it is already defined by build-distro) 2019-08-19 23:29:09 +03:00
Gleb Fotengauer-Malinovskiy
353a354800 Untie plymouth feature from gfxboot 2019-08-19 23:28:59 +03:00
Gleb Fotengauer-Malinovskiy
e1ce4bd5a6 90-enable-repo: uncomment all matching lines; drop always-broken arch logic 2019-08-19 23:28:43 +03:00
Gleb Fotengauer-Malinovskiy
f7b0b6fc92 deflogin: add use/deflogin/altroot target
...to create users root:alt and alt:root as per BaseALT's rebranding.
2019-08-19 23:28:29 +03:00
Ivan A. Melnikov
2e70a8f895 build-vm: Don't copy in .host/qemu* if tar2fs won't be called
(gkebfm@ thinks it was a terrible idea in the first place
and mike@ agrees; this is a rework TODO item)
2019-08-19 23:25:50 +03:00
Anton Midyukov
1ef77caf70 build-vm, pack: implement tar, tar.gz, tar.xz support for vm/* target
build-vm ceases to be a target for building only virtual machine images.
Now it can be used to build tarballs designed for installation on real
machines.

This commit is the result of transferring the required functionality from
build-mr (mipsel rootfs) by Ivan Melnikov <iv@altlinux.org>.

NB: mike@ strongly objected to this dilution but gave up eventually;
    the whole kernel/build-vm/tar2fs/pack mess should be split into
    distinct layers busy with their own responsibilities:

    1) a tarball with kernel is done without tar2fs at all
       (and no build-vm bits should be needed either, maybe
       it's worth splitting and renaming as "vm" meaning
       disk image for some armh board is grossly misleading);

    2) a tarball with kernel can be further (multi-)packed
       as, well, (compressed) tarball and a disk image
       (only the latter one should employ build-vm/tar2fs);

    3) compression should be done in pack feature style,
       preferably described once and not duplicated all over
       the profile for every single new kind of its output.

    In the mean time, running into this and moving no further
    starts to hurt more than it could help.
2019-08-19 23:24:26 +03:00
Anton Midyukov
8e1dd12f8e kernel, tar2fs: do not create /boot/.origver 2019-08-19 23:18:31 +03:00
Gleb Fotengauer-Malinovskiy
938820acd9 build-vm: Add support of ppc64le vm images 2019-08-19 23:18:12 +03:00
Anton Midyukov
05d628313d build-vm: if make-initrd failed then exit 2019-08-19 23:17:43 +03:00
Anton Midyukov
27674e297b build-vm, kernel, tar2fs: make-initrd happens now in build-vm
NB: 07-kernel change breaks multi-kernel setup!

Breaks: 650e92bf7f
2019-08-19 23:16:06 +03:00
Michael Shigorin
ddbecc5e76 x11: portability fix
xorg-drv-wizardpen is only built for x86 targets,
doesn't look like it's worth worrying about though.
2019-07-23 17:09:18 +03:00
Anton Midyukov
2215949cea init: drop use/init/sysv/consolekit
ConsoleKit2 removed from Sisyphus
See-also: https://bugzilla.altlinux.org/37040
2019-07-22 19:38:33 +03:00
Anton Midyukov
22e5da6139 x11: add amdgpu into use/x11/xorg for X86
It's required for modern AMD videocards to work.
2019-07-22 19:36:52 +03:00
Anton Midyukov
5c909acd7a efi: fix portability on aarch64 2019-07-22 19:31:49 +03:00
Michael Shigorin
093c8c4864 Revert "x11: add amdgpu and vulkan support into base target"
This reverts commit 115a1901cd:
the change has not been tested properly unfortunately,
and it broke today's regular-rc builds fortunately;
there are no vulkan-{intel,radeon} packages in sisyphus
(only amdgpu), and these are present in lakostis@' repo:
http://www.unsafe.ru/lakostis/RPMS/ALTLinux/glvnd/repo/x86_64/RPMS.hasher/

Just drop the whole thing until it gets sorted out.
2019-07-09 08:32:05 +03:00
Michael Shigorin
23481978fa x11: eliminate amdgpu/radeon switch
The whole RADEON_PACKAGES affair was introduced to deal
with fglrx/radeon incompatibility; it got basically
deprecated following fglrx removal from sisyphus,
and lakostis@ should have done "add" logic instead
of reusing the "set" one inappropriately.

Fixes: 85c52d71c6
See-also: https://lists.altlinux.org/pipermail/devel/2019-July/208126.html
2019-07-08 21:55:31 +03:00
Anton Midyukov
115a1901cd x11: add amdgpu and vulkan support into base target
...at least on x86 for now.

Split use/x11/vulkan properly while at that.
2019-07-08 21:54:37 +03:00
Anton Midyukov
fddbb12ab4 memtest: x86-only 2019-07-08 21:19:14 +03:00
Anton Midyukov
d2937227ce syslinux: X86 only 2019-07-08 21:09:39 +03:00
Anton Midyukov
d4abcecbcf efi: portability fix on aarch64
Signed UEFI loader not required for aarch64.

NB: i586 images don't need UEFI SB either
and 32-bit shim is used for x86_64 images
along with proper 64-bit one.
2019-07-08 21:00:42 +03:00
Anton Midyukov
11b5865dc1 Revert "90-enable-repo: use ftp.altlinux.org as default mirror"
This reverts commit 1b457a5d85.
It wasn't prudent to switch everyone to master FTP server;
Yandex mirror still has an order of magnitude more bandwidth.
2019-07-08 20:53:09 +03:00
Anton Midyukov
528d55e41e tty: add ttyAMA0 and ttySI0 support
ttyAMA0 needed for qemu on aarch64 and armh.
ttySI0 needed for HiFive Unleashed (riscv64).
2019-07-08 20:51:01 +03:00
Anton Midyukov
de8a578f87 live: switch to yandex mirror
...and drop duplication tossed in by i-f-online-repo.

See-also: https://bugzilla.altlinux.org/36952
2019-07-08 20:50:21 +03:00
Mikhail Gordeev
1540ada091 repo: use %_arch macros to get host arch
%_host_cpu was a wrong choice in the first place,
and the particular case of %_arch == ppc64le
with %_host_cpu == powerpc64le became the culprit.
2019-07-08 20:50:12 +03:00
Michael Shigorin
b8c42c6c2f x11: don't chkconfig dm on explicitly
The problem is that `chkconfig dm on' will enable
display manager service on *all* runlevels feasible
without paying any attention to its customary subset
of those; the solution seems just to avoid that.

Note that there's at least one more similar case
with networking services vs runlevels 2 and 3;
it's to be handled either in a similar manner,
or somewhat more generically.

Reported-by: Konstantin Savun and Speccyfighter
Suggested-by: Anton Midyukov <antohami@altlinux.org>
See-also: https://bugzilla.altlinux.org/36967
See-also: https://forum.altlinux.org/index.php?topic=36177.msg340553#msg340553
See-also: https://www.opennet.ru/openforum/vsluhforumID3/117762.html#81
2019-07-03 20:19:59 +03:00
Michael Shigorin
1a7f74677b vmguest: factor out use/vmguest/vmware
It's actually sisyphus jeos image that needed this:
open-vm-tools got installed and then removed just
before the final reboot (unlike p8 jeos); not clear
what exactly caused this as subsequent installation
only pulled in libdnet and libicu56, neither of which
were excplicitly removed during cleanup.

Let's make the image a bit leaner until someone asks
for VMware support there.
2019-07-03 09:19:06 +03:00
Anton Midyukov
77b0549dad x11: drop kde5-i18n-ru, kf5-i18n-ru
These packages have long been empty and are being removed from Sisyphus.
2019-06-18 14:58:08 +03:00
Michael Shigorin
b80c1aa87a p[89].mk, regular.mk, server, groups: drop openstack
We've decided that there's not much sense to continue building
server-openstack flavour of starterkits since it does take quite
an effort to even test properly, and there was rather no feedback
on those (maybe silent users will at least ping back this time).

Those interested are invited to follow server-v development
and contact Alexey Shabalin <shaba@altlinux.org> for cooperation.

PS: the actual pkglists are here, it's only the bunch of groups
tailored for standalone server-openstack with its group selection
menu layout that are being removed regarding the shared bits.
2019-06-17 22:21:48 +03:00
4f2cc925ca move lxd list to container dir 2019-06-17 22:01:55 +03:00
ed6579738c firmware-linux includes firmware-ql2* now
Removed from sisyphus, actually:
http://git.altlinux.org/tasks/archive/done/_197/202601/
2019-06-17 21:56:49 +03:00