Can anyone actually build this thing?
set -e; mkdir -p init/; trap "rm -f init/.tmp_utsversion-tmp.h" EXIT; { utsver=$(echo '#'"" (smp-flag-y) PREEMPT_DYNAMIC "Mon, 29 May 2023 08:09:31 +0000" | cut -b -64); echo '#'define UTS_VERSION \""${utsver}"\"; } > init/.tmp_utsversion-tmp.h; if [ ! -r init/utsversion-tmp.h ] || ! cmp -s init/utsversion-tmp.h init/.tmp_utsversion-tmp.h; then : ' UPD init/utsversion-tmp.h'; mv -f init/.tmp_utsversion-tmp.h init/utsversion-tmp.h; fi
/bin/sh: command substitution: line 2: syntax error near unexpected token `('
make[2]: *** [init/Makefile:44: init/utsversion-tmp.h] Error 2
make[1]: *** [scripts/Makefile.build:494: init] Error 2
make: *** [Makefile:2023: .] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
Thaodan commented on 2022-06-12 05:09 (UTC) (edited on 2022-07-09 14:40 (UTC) by Thaodan)
Intro
Hey, I added more prebuilds and extended the optimized builds for the remaining new mcpu mtunes.
Removed Silvermont and Ivybridge from optimzed builds from build_pkgs, add:
generic (renamed from linux-pf)
generic-v2
generic-v3
generiv-v4
rocketlake
alderlake
zen2
zen3
External Modules
External modules have been fixed for optimized builds. This have been done by moving variant specific headers and scripts to the -headers-variant package.
When you update you have to choose the headers-variant package belonging to the variant of your kernel build variant you have chosen.
External modules have to build now for each variant so I prefer to refer to DKMS instead, regular packages can still be used however I won't provide them prebuild.
Please read #5 if you want to know more.
OLD OUT DATE
I'm currently looking how to fix loading of external packaged modules. The reason is that System.map is different per optimized build because bpf support, either I avoid bpf, remove that limitation or outphase the packaged modules and prefer dkms instead.
^ @lbatalha
Thaodan commented on 2018-08-05 16:08 (UTC) (edited on 2022-09-06 21:38 (UTC) by Thaodan)
upstream git repo:* (https://gitlab.com/Thaodan/linux-pf)
repo in /etc/pacman.conf:
import the key
fingerprint: