Commit Graph

3020 Commits

Author SHA1 Message Date
Gleb Fotengauer-Malinovskiy
61b48bcc4b build-distro: use ieee1275boot BOOT_TYPE for ppc64le 2019-08-19 23:31:07 +03:00
Gleb Fotengauer-Malinovskiy
f47d1c09ba Use ieee1275boot as bootloader on ppc64le
ieee1275boot bootloader support was added in mkimage 0.2.27.
2019-08-19 23:31:01 +03:00
Gleb Fotengauer-Malinovskiy
d4cbbcba76 tar2fs: Add support of ppc64le vm images 2019-08-19 23:31:00 +03:00
Gleb Fotengauer-Malinovskiy
15845d51e5 Stop treating all ppc* architectures as ppc 2019-08-19 23:30:38 +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
Anton Midyukov
813274a0cf lib/vm.mk: use/bootloader/* 2019-08-19 23:27:06 +03:00
Anton Midyukov
0e5e1215f9 tar2fs: switch case for $BOOTLOADER
This allows one not to hope that only the packages of the desired
loader will be installed.
2019-08-19 23:26:54 +03:00
Anton Midyukov
07559bc94a tar2fs: clean fstab
Should be done this way in the first place it seems.
2019-08-19 23:26:22 +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
Anton Midyukov
1895147905 desktop+cinnamon+extra: drop gimp
See-also: https://www.cinia.ru/altlinux-p9-i-ego-cinnamon
2019-08-19 17:13:10 +03:00
Anton Midyukov
941af7bd03 xorg+vaapi: drop libva-driver-vdpau
...it's no more in Sisyphus too:
See-also: http://git.altlinux.org/tasks/archive/done/_230/236244/logs/events.2.1.log
2019-08-19 17:12:51 +03:00
Anton Midyukov
b939011129 xorg+vaapi: fix portability on non-x86 2019-08-19 17:12:29 +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
da9bd7a764 mixin.mk: add adobe and mozilla fonts in mixin/regular-desktop
These fonts are provided by use/live/x11 target, but they are
also needed by all desktop regulars, not just live builds.

This might be further refactored/generalized it seems...
2019-07-22 19:40:28 +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
41f0bcf76d p8.mk: drop config
Use `p8' mkimage-profiles branch if you still need it:
http://git.altlinux.org/gears/m/mkimage-profiles.git?p=mkimage-profiles.git;a=shortlog;h=refs/heads/p8
2019-07-22 19:34:31 +03:00
Anton Midyukov
5c909acd7a efi: fix portability on aarch64 2019-07-22 19:31:49 +03:00
Michael Shigorin
70f15f7e02 gear-store-tags 2019-07-09 09:38:55 +03:00
Michael Shigorin
d8e050dc59 1.3.11.1-alt1
- x11: reverted vulkan changes (need more testing)
2019-07-09 09:38:12 +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
5c220aa88c gear-store-tags 2019-07-08 22:18:23 +03:00
Michael Shigorin
e5ee381a2f 1.3.11-alt1
- pkg.in/profiles subdirs support (shaba@)
- repo fixup regarding target arch (obirvalger@)
- switch back to yandex mirror by default,
  portability fixes, refactoring, cleanups (antohami@)
- x11 amdgpu/radeon and dm fixups, vmguest refactoring (me)
2019-07-08 22:17:19 +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
50a9dbf268 mixin.mk, regular.mk: factor out cinnamon, kde5
...into mixins to make the distro configuration
more reusable and portable across target arches.
Think grafting instead of just growing from seed.

See-also: ba437ba828
2019-07-08 21:37:34 +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
a1e9e8f39f rescue+misc: portability fix on aarch64 2019-07-08 21:03:18 +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
d77259a552 lists/grub: fix portability
GRUB is available on several target platforms for us,
but the particular package needed will vary.
2019-07-08 20:55:05 +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
55adcbb68d regular.mk: avoid open-vm-tools in jeos
As noted in the previous commit,
it's just not making it now.
2019-07-03 09:19:14 +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
3897e5505d mixin.mk: add l2tp and TUI support in NetworkManager for sysv-xfce
Suggested by Speccyfighter:
https://forum.altlinux.org/index.php?topic=36177.msg340161#msg340161
2019-06-24 20:36:46 +03:00