Commit Graph

1189 Commits

Author SHA1 Message Date
Anton Midyukov
2398b75a10 kernel: initrd-setup refactoring
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5 build-vm, kernel, uboot: setup /etc/fstab for build-vm
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087 build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806

Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Anton Midyukov
fc67e5a8c2 build-vm, tar2fs: get ARCH from command line argument
tar2fs does not run in hasher and without qemu. This causes build
problems for an architecture other than the host.
2020-04-07 22:35:52 +07:00
068badeff7 firmware: intel-ucode allow for X86 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
9804e0b216 hdt: for i586 and x86_64 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
774489dd6d efi: use/efi/grub for EFI_ARHES only 2020-04-03 22:56:58 +07:00
Anton Midyukov
65a7c43a08 grub: added fwsetup_efi.cfg
Added for EFI only (see stage1/scripts.d/01-grub).
2020-04-03 22:56:58 +07:00
Anton Midyukov
00283166b7 syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c syslinux: do not use syslinux to generate config on unsupported arches
These are partial commits reverts:
01ee407543
e42bcdcb30
5cfc7ede81
2020-04-03 22:56:58 +07:00
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
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
Anton Midyukov
0039b215ae efi: major refactoring, fix portability 2019-06-10 19:47:00 +03:00
Anton Midyukov
aea4ceaa18 bootloader: add GRUB_ARCHES variable
$GRUB_ARCHES is the list of GRUB 2 supported architectures
2019-06-04 18:50:38 +03:00
Anton Midyukov
760c09c393 bootloader: major refactoring
Add target use/bootloader/uboot. Das U-Boot -- the Universal Boot
Loader, used on single board PCs (also in qemu).

Use bootloader lists to provide better portability and to avoid
overcomplicating bootloader switch.

Added restriction for alterator-$$(BASE_BOOTLOADER)) only for
ISO images. Since the new uboot bootloader is not supported in
Alterator and is not used when building ISO images.
2019-06-04 18:48:23 +03:00
Anton Midyukov
b1c1dd488f uboot: initial feature 2019-06-04 18:25:36 +03:00
Anton Midyukov
572aa46ddb bootloader: os-prober appears to be generally available 2019-06-04 18:06:25 +03:00
Anton Midyukov
dfbfcf56a4 vmguest: add qemu-guest-agent support for aarch64 and armh 2019-06-04 17:37:52 +03:00
Andrey Cherepanov
c4e0681943 x11-autologin: use separate lightdm config for autologin
Set autologin parameters for lightdm in
/etc/lightdm/lightdm.conf.d/autoinstall.conf
2019-06-03 23:11:17 +03:00
Michael Shigorin
38e149a7fc x11-autologin: harden the previous commit
It could result in a broken config given broken chroot state;
it's of no practical difference as both cases just won't work
but we can at least provide meaningful diagnostics (and a bit
of perfectionism, heh).

Fixes: 2527fe94da2e810cf5d52cf548f84456fd5a6b4d
2019-06-03 23:11:11 +03:00
Andrey Cherepanov
5b7c189385 x11-autologin: detect default lightdm session 2019-06-03 23:10:35 +03:00
Anton Midyukov
5a79db50e1 office: initial feature
This feature ensures the availability and specification of the choice of
office package by analogy with the choice of browser. Additional options
may be set by explicit or indirect request.
2019-05-29 20:25:05 +03:00
Anton Midyukov
9c9af4d811 x11: use/x11/armsoc for aarch64 and armh only 2019-05-29 20:24:31 +03:00
Anton Midyukov
51280120ed kernel: use different default flavour for riscv64 2019-05-29 20:24:26 +03:00
Anton Midyukov
db600e7020 x11, regular.mk: enable gdm and lightdm services instead of prefdm
gdm3 and lightdm have their own startup services,
and can no longer be started via prefdm.
Other display managers still run through prefdm.

See-also: https://bugzilla.altlinux.org/36769
2019-05-29 19:24:40 +03:00
Andrey Cherepanov
64088a8047 install2: add useful tools for disk management and network 2019-05-29 19:23:44 +03:00
Andrey Cherepanov
347d9c94a4 install2: add use/install2/autoinstall
...included by default in use/install2
2019-05-29 19:23:28 +03:00
Mikhail Efremov
c602ba7904 slinux: Drop installer-distro-desktop 2019-05-29 19:19:32 +03:00
Mikhail Efremov
864962919c slinux: Use kernel std-def 2019-05-29 19:19:25 +03:00
Mikhail Efremov
35fac18278 slinux: Possibly fix for EMMC disks
https://bugzilla.altlinux.org/show_bug.cgi?id=32171
2019-05-29 19:18:56 +03:00
Mikhail Efremov
138680f93b slinux: Use custom luks step on live 2019-05-29 19:18:43 +03:00
Mikhail Efremov
d7150fc3e1 slinux: Add use/fonts/install2
Workaround for a-b-qt5: it don't use fonts-ttf-google-droid-sans
for some reason. It just pulls fonts-ttf-google-croscore-arimo.
2019-05-29 19:18:38 +03:00
Mikhail Efremov
d301822ac7 slinux: Enable xdg-user-dirs
It was disabled on live
2019-05-29 19:18:27 +03:00
Mikhail Efremov
9e80b74b44 slinux: Use live with sessions 2019-05-29 19:18:26 +03:00
Mikhail Efremov
8ae212d92d slinux: Use GLOBAL_LIVE_NO_CLEANUPDB 2019-05-29 19:17:57 +03:00
Mikhail Efremov
1f1d839142 slinux: Disable dnsmasq on live
Due to race with livecd-timezone.
2019-05-29 19:17:51 +03:00
Mikhail Efremov
cb8d64615c slinux: Explicitly enable livecd-* services on live 2019-05-29 19:17:47 +03:00
Mikhail Efremov
1b5a3add46 slinux: Use +efi and use/efi/refind 2019-05-29 19:17:40 +03:00
Mikhail Efremov
e351e1eeff slinux: Use xorg-drv-libinput
Replace xorg-drv-synaptics with xorg-drv-libinput.
2019-05-29 19:17:33 +03:00
Mikhail Efremov
d23aba896f slinux: Install *-base lists conditionally
Add *-base lists on live only.
On the full distro they will be added by the corresponding groups.
Otherwise these packages will be _always_ installed.
2019-05-29 19:17:18 +03:00
Mikhail Efremov
5cbd7aea70 slinux: Use misc-full list 2019-05-29 19:17:15 +03:00
Mikhail Efremov
ca3d103aa0 slinux: Disable tracker on live
Based on init5-disable-tracker from m-p-d.
2019-05-29 19:17:09 +03:00
Mikhail Efremov
52e824abf0 slinux: Use un-def kernel 2019-05-29 19:17:08 +03:00
Mikhail Efremov
bf29d04ca6 slinux: Use vmguest feature
For install on various virtual machines.
2019-05-29 19:16:59 +03:00
Mikhail Efremov
1494f7528d slinux: Set META_APP_ID variable 2019-05-29 19:16:48 +03:00
Mikhail Efremov
e4c841ed20 slinux live: Update services list 2019-05-29 19:16:43 +03:00
Mikhail Efremov
a3855183b1 slinux: Setup correct META_* variables
At least META_VOL_ID must be Simply*, otherwise  bootloader can't
find the install image.
2019-05-29 19:16:42 +03:00
Mikhail Efremov
7903df3c41 slinux: Drop fglrx
It don't work with current xorg.
2019-05-29 19:16:20 +03:00
Mikhail Efremov
485abfbdfa slinux: Initial port Simply Linux distro from m-p-d 2019-05-29 19:16:06 +03:00
Anton Midyukov
aee8c1721b kernel: use different default flavour for aarch64, armh 2019-05-06 16:34:10 +03:00
Michael Shigorin
ffa7919f60 kernel: use different default flavour for e2k
This might evolve into some form of per-arch logic,
or otherwise x86 might get moved into a feature of
its own instead of being the presumed one.

The first step is done.
2019-04-29 13:48:45 +03:00
Anton Midyukov
d4170557c2 Revert "net: 50-net-nm band-aid"
This reverts commit 226a2395e5.

Users are getting upset about NetworkManager being unable to
configure "System EthX" connections that are meant to set up
with "acc" (which isn't obvious at all).

See-also: https://forum.altlinux.org/index.php?topic=42519.0
2019-04-29 13:48:40 +03:00
Anton Midyukov
89a51b7baf browser, mixin.mk: drop use/browser/firefox/classic
firefox-classic_theme_restorer is not there anymore
(following pre-quantum fx29+ australis it countered):
http://git.altlinux.org/tasks/archive/done/_222/227910/logs/events.1.2.log
2019-04-29 13:48:36 +03:00
Anton Midyukov
b75b2cc330 init: workaround for elogind to run
Let's provide some shim until directory migration is over.
2019-04-16 17:24:18 +03:00
Anton Midyukov
08d93ed851 init: elogind support
elogind is the systemd project's "logind" extracted out to be
a standalone service.  It integrates with PAM to know the set
of users that are logged in to a system and whether they are
logged in graphically, on the console, or remotely.
2019-04-15 14:50:38 +03:00
Anton Midyukov
5fb451ec9b wireless: add rtl8821ce 2019-04-08 19:42:24 +03:00
Mikhail Gordeev
57ea839f8a browser: make use/browser/firefox/esr a pure selector
...through ensuring that the intentinal lack of dependencies
is actually *complete* and not still pulling the default elinks
in if nothing else was specified (this was still too much for
virtualization base images aiming to make use of mixin/p8).
2019-04-02 20:22:18 +03:00
Anton Midyukov
147964b05f install2: added installer-feature-create-ghost-directories
Workaround ALT bug 35350 for install2.
2019-03-11 16:34:48 +03:00
Anton Midyukov
11442dd9e4 Drop php5
php5 has been completely removed from Sisyphus following its EOL:
http://git.altlinux.org/tasks/archive/done/_214/219816/
2019-03-11 15:47:42 +03:00
Anton Midyukov
b8931f3132 Drop TDE support
It's missing in Sisyphus altogether:
http://git.altlinux.org/tasks/archive/done/_184/188854/
2019-03-11 15:45:00 +03:00
Anton Midyukov
c5aa77220c Drop kde4 support
Sisyphus doesn't contain suitable KDE4 package set by now.
2019-03-11 15:37:05 +03:00
Anton Midyukov
7ef157e2b1 use/ntp/chrony: initial target
chrony synchronizes time when connecting to a network using
NetworkManager. This feature is great for computers without
hardware clock, for example Raspberry Pi.
2019-03-11 15:36:03 +03:00
Michael Shigorin
960ccea04e install2: figure out whose vm-profile.scm is
This file is contained in multiple sources,
let's document the particular one in build.log.
2019-03-08 17:56:22 +03:00
Michael Shigorin
0a004a8e88 power: add e2k support
Needs an extra package and a service at the moment.
2019-03-08 17:27:45 +03:00
Michael Shigorin
2f389cfce1 build-distro: added META_DISK_INFO support
This one can be used to override the default content
of .disk/info file (used by propagator but can find
some other uses within installer as well); the reason
being that ISO9660's Volume ID is up to 32 characters
and a file lacks that particular limitation.
2019-03-08 17:27:07 +03:00
Ivan A. Melnikov
dab41865b2 build-vm: proper cleanup for *.img
We should delete the tarball whenever it's not the target.
2019-03-04 20:24:21 +03:00
Anton Midyukov
8e4a18e428 use/x11/lxqt: exclude desktop+lxqt+extra
desktop+lxqt+extra contains some qtdesktop bits that do not
relate directly to lxqt. Therefore, it makes it difficult
to use use/x11/lxqt for the more basic builds based on lxqt.
2019-03-04 20:17:52 +03:00
Anton Midyukov
bf9772dff5 use/x11/lxqt: added +pulse
lxqt-regular needs pulseaudio
2019-03-04 20:07:51 +03:00
Anton Midyukov
1963de1e90 use/browser: update targets
- added netsurf - lightweight html4 browser
- added otter-browser - opera12-like browser
- drop qupzilla, konqueror: removed from Sisyphus
- palemoon not work on non-x86 systems
2019-03-04 20:07:28 +03:00
Ivan A. Melnikov
a71435adb2 fonts: add use/fonts/ttf/xo target
A small set of font packages inspired by MyOffice dependencies.
2019-03-04 19:56:43 +03:00
Dmitriy Terekhin
be75d3c3d2 need /.host/qemu* in the chroot if qemu is used
The original commit broke system tar2fs use by accidentally
moving TOPDIR definition into a separate shell execution;
thanks iv@ for spotting and fixing it promptly.

Co-authored-by: Ivan A. Melnikov" <iv@altlinux.org>
2019-03-04 19:56:03 +03:00
803bdabbd2 wireless: add rtl8723de 2019-03-04 19:51:36 +03:00
Anton Midyukov
a9094c1f15 Revert "init: drop vconsole-setup-kludge"
This reverts commit 408cc17429.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=28805#c45
2019-03-04 19:10:29 +03:00
Anton Midyukov
838d9f4171 plymouth: added make-initrd-plymouth explicitly
make-initrd-plymouth missing in squashfs results in
plymouth bootsplash not available at boot.

See-also: https://bugzilla.altlinux.org/35941
2019-01-22 18:34:02 +03:00
Anton Midyukov
6bb1d1cd93 use/init/ConsoleKit: switch to Consolekit2-service
A separate ConsoleKit2-service package should help here...

See-also: https://bugzilla.altlinux.org/35915
2019-01-21 18:20:41 +03:00
Michael Shigorin
0184a3b7fc net: +nm shouldn't provoke races
Brief version: otherwise DNS resolving might fail to perform
until dnsmasq service restart or system reboot (ouch!).

The problem:

1) NetworkManager requires dnsmasq;
2) dnsmasq can win a race against dhcpcd on ethernet.

The result:

1) /etc/resolv.conf looks fine;
2) dnsmasq is running;
3) resolving beyond /etc/hosts fails.

Suggested-by: Mikhail Efremov <sem@altlinux.org>
2019-01-17 20:56:05 +03:00
Anton Midyukov
408cc17429 init: drop vconsole-setup-kludge
https://bugzilla.altlinux.org/28805 was fixed long ago.
2019-01-14 19:08:41 +03:00
Anton Midyukov
c8a8abe74c x11: ensure gnome3 has gdm
It's up for the packages since gnome-shell can't work
with anything but gdm -- still just in case...
2019-01-14 18:56:38 +03:00
Michael Shigorin
e89cd72778 x11: cleanup use/x11/kde4/nm
The overcomplicated scheme tacked the difference between
p7/t7 and sisyphus-armh of those days that's not there
anymore; all of those repos carry kde4-plasma-nm and not
plasma-applet-networkmanager.
2019-01-14 18:49:41 +03:00
Michael Shigorin
67effcd5a8 x11, lists: drop e17
It's been replaced by e18 and eventually the rolling
enlightenment package long ago, in fact missing by p8;
moksha might be a worthy replacement but now just drop
the good ol' stable bits in the profile either.
2019-01-14 18:49:37 +03:00
Michael Shigorin
74e340d95f x11: remarks fixup
xf86-video-intel is not excellent anymore, in fact it's been
problematic enough for debian to offer modesetting instead;
a shame but still a fact.
2019-01-14 18:49:28 +03:00
Anton Midyukov
510e2933f7 x11: refactor display manager targets
use/x11/dm allows to switch between display managers
and cleans up the common bits of configuration too.
2019-01-14 18:49:20 +03:00
Michael Shigorin
e18765b4a2 x11: drop fglrx support
It's missing in sisyphus (and the last maintainer
was desperate with efforts required to keep it going),
just drop the cruft; if it ever returns, we'll revert this.
2019-01-14 18:43:19 +03:00
Michael Shigorin
61ac519312 x11: drop tde/kdm support
These have been broken by p8 already, and missing in sisyphus;
kde4 is broken in sisyphus but that's still not irreversible
(unlike our old and unmaintained TDE build, sigh).
2019-01-14 18:01:56 +03:00
Anton Midyukov
1b457a5d85 90-enable-repo: use ftp.altlinux.org as default mirror
Yandex mirror can lag behind at times:
http://mirmon.altlinux.org/sisyphus.html#ru

...and we've got 1GbE there now, not that bad
compared to 100Mbps back then...

NB: yandex traffic might be billed as "local"
    in many regions, this should be revisited.
2019-01-14 17:31:20 +03:00
Anton Midyukov
ac489474a3 build-{ve,vm}: there can be no syslogd
...if it's a systemd-based image; no real error then.
2019-01-14 17:00:37 +03:00
Ivan A. Melnikov
98a9c1f303 Use correct path for system tar2fs
tar2fs comes from m-p, not from mkimage. Also, we should
use $TOPDIR from shell, not $(TOPDIR) from make, when
calling it.

Note: this is a security fix for environments relying
on packaged mkimage-profiles with sudo enabled for the
builder user.

Fixes: f293239d5b
2018-12-25 15:42:56 +03:00
Michael Shigorin
744950aff2 e2k: rework use/x11/101* targets
This is meant to provide failsafe configuration by default,
at least until mga2 works reliably for me.
2018-12-24 20:28:49 +03:00
Michael Shigorin
8f1e411f2b e2k: add fstrim support
None of Elbrus systems I had a chance to use as root
had any problems regarding TRIM feature of SSDs these
used to carry/support; let's start with e2k and maybe
carry over to x86 later.
2018-12-24 20:25:57 +03:00
Denis Pynkin
20b0b23fa2 regular.mk, lxc, lxd: updated regular-server-lxd
Use lxd-bridge for networking.
2018-12-24 19:54:15 +03:00
Denis Pynkin
32e2ca5510 init: added multi-user boot target for systemd 2018-12-24 19:47:35 +03:00