Commit Graph

3156 Commits

Author SHA1 Message Date
Anton Midyukov
dff07b4149 lists/uboot: use @ARM filter
...introduced with the previous commit.
2019-11-01 13:50:00 +03:00
Anton Midyukov
d65ae1021b archdep-filter: add @ARM filter for aarch64, arm*
There are use cases when having this common knob would be desirable.
2019-11-01 13:48:54 +03:00
Anton Midyukov
f6c6c8c101 bootloader: skip missing grub/lilo 2019-11-01 13:47:00 +03:00
Michael Shigorin
0e9bb9a650 bin/check-pkg-list: imported from m-p-d
I've long wanted to have this nice helper around in m-p too
but might have set the bar too high.

The "prorper integration" idea was to have the script check
just those pkglists which are relevant for a given image IIRC.

Let's toss it in to begin.
2019-10-31 13:15:39 +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
Michael Shigorin
91a285a04d doc/archdep.txt: adjust accordingly
Those willing to reuse archdep-filter elsewhere
will likely have to figure it out from Makefiles
anyway, so probably not worth overdocumenting...
2019-10-23 15:33:44 +03:00
Michael Shigorin
e0def77ca8 pkg.in/*/Makefile: refactor using archdep-filter
Duplicating the architecture tag handling logic was afwul
indeed; one-liner (well, two lines for readability) is not
that bad at least, factoring it out wouldn't gain a lot.

Fixes: 7573547328
2019-10-23 15:11:59 +03:00
Michael Shigorin
fab15ba7a8 bin/archdep-filter: factored out
This code started breeding within pkg.in/*/Makefile,
and it was lacking both E2K (as a generic alias,
not just "e2k or e2kv4") _and_ the ability to negate
selection, as in "everywhere but not on any e2k").

Let's fix all of that at once, and parallelize sed
execution as well; my tests with 1000-line file
containing "a b c d@!E2K e@e2k f g@!X86 h i@IA32"
lines show roughly 3x higher CPU load and lower
execution time (~0.3 sec vs ~0.9 sec on 801-PC).

And turn that code snippet into a proper filter
with inline edit capability (I've dropped the exit
trap as failing to mv signals a disaster anyway).
2019-10-23 14:40:36 +03:00
Evgeny Sinelnikov
df88da98fd install2: fix use/install2/autoinstall 2019-10-21 23:11:56 +03:00
Michael Shigorin
23cddfff03 gear-store-tags 2019-10-21 21:21:14 +03:00
Michael Shigorin
2788574bda 1.3.14-alt1
- make bails out on single image build error, see also make -k (iv@)
- mipsel support (iv@, antohami@)
- regular-vm.mk, refactoring, cleanups (antohami@)
2019-10-21 21:18:59 +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
be87ba5e7f base+efi: add firmware update utils
Suggested-by: Anton Farygin <rider@altlinux.org>
2019-10-16 14:23:34 +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
e3b4c35782 p9.mk: add mipsel support 2019-09-30 21:04:06 +03:00
Anton Midyukov
12e253d8dc p9.mk: add ELVIS mcom-02 support 2019-09-30 21:03:54 +03:00
Anton Midyukov
2e84dec042 p9.mk: add aarch64-tegra support 2019-09-30 21:03:30 +03:00
Anton Midyukov
22287121aa p9.mk: add vm/alt-p9-{builder,cinnamon,kde5} 2019-09-30 21:02:49 +03:00
Anton Midyukov
54174efa59 regular-vm.mk: add packages for reduced resources 2019-09-30 20:44:22 +03:00
Anton Midyukov
13c0d90d29 regular-vm.mk: initial regular vm builds 2019-09-30 20:43:22 +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
2ac26880f1 tar2fs: avoid duplicate fstab entry
This commit fixes duplication of root device entry in /etc/fstab
and changes LABEL=ROOT entry with the proper one if found.

Apparently this didn't hurt qemu images much though...
2019-09-23 19:51:57 +03:00
Ivan A. Melnikov
caee317e3e Ensure non-zero exit code on make failure
Before this change, we could have 0 exit code from the main
make process even when some targets failed to build on some
architectures:

$ make ARCH=mipsel [...] vm/tavolga-regular-mate-ex.recovery.tar
** ARCH: mipsel
10:15:06 cleaning up
10:15:06 initializing BUILDDIR: build/
10:15:06 preparing distro config: build/distcfg.mk
make[1]: *** No rule to make target 'use/systemd-coredump', needed by 'profile/.extra'.  Stop.
[nightly-mipsel@loongson5 mkimage-profiles]$ echo $?
0

Use `make -k' to get the old behaviour.
2019-09-23 19:41:46 +03:00
Michael Shigorin
49c2650b86 gear-store-tags 2019-09-16 21:32:42 +03:00
Michael Shigorin
3181731aa1 1.3.13-alt1
- recovery.tar support (iv@)
- mixin/mixin deps, aarch64 EFI, mcom02 & jetson nano support,
  multikernel & portability fixes, refactoring & cleanups (antohami@)
- document STAGE1_MODLISTS (me)
2019-09-16 21:31:04 +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
401442edd6 mixin.mk, regular.mk: add +nm-gtk to gtk-based regular builds
...to extend the supported protocols list as suggested.

See-also: b869d365f195a7070f1f6c425795b4c058b18c6c
2019-09-16 21:21:50 +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
292f7dcec9 desktop+nm: add l2tp support to NetworkManager
Suggested-by: Isaac Newton
See-also: http://sdelanounas.ru/blogs/123886/?pid=1156605#comments
2019-09-16 21:21:44 +03:00
Michael Shigorin
f87cd0d3c3 stage1: document STAGE1_MODLISTS
This was highly inobvious, and should have been documented
within the very same commit adding the variable!

See-also: https://bugzilla.altlinux.org/30239
See-also: https://bugzilla.altlinux.org/32171
2019-09-16 21:21:42 +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
d35c9d49f5 regular.mk: update distro/regulare-engineering 2019-09-16 21:21:36 +03:00
Anton Midyukov
e000e73621 desktop+engineering: drop list
Use engineering lists instead.
2019-09-16 21:21:33 +03:00