Testing USB4 and Mainline kernel
I am creating this help thread so @antheas can help me step through setting up EndavourOS w/ the mainline kernel. This is to test my USB4 Egpu and LeGo's sleep/wake failures.
wget https://git.kernel.org/torvalds/t/linux-6.12-rc4.tar.gz and extract it somewheremake -j 8?make localmodconfig then make random choicesmake pacman-pkg -j 16 then finally this which will spit the kernelsudo pacman -U linux-upstream and if you have dkms linux-headers-upstreammake pacman-pkg -j 16:bcwget https://git.kernel.org/torvalds/t/linux-6.12-rc4.tar.gzmake -j 8make localmodconfigmake pacman-pkg -j 16make pacman-pkg -j 16sudo pacman -U[kprinssu@kishor-legion linux-6.12-rc4]$ make pacman-pkg -j 16
UPD include/config/kernel.release
BUILDDIR="/home/kprinssu/Desktop/linux-6.12-rc4/pacman" \
CARCH="x86_64" \
KBUILD_MAKEFLAGS="rR -j16 --jobserver-auth=fifo:/tmp/GMfifo3270 --no-print-directory" \
KBUILD_REVISION="1" \
makepkg
==> Making package: linux-upstream 6.12.0_rc4-1 (Mon 21 Oct 2024 11:44:14 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
-> bc
==> ERROR: Could not resolve all dependencies.
make[2]: *** [scripts/Makefile.package:150: pacman-pkg] Error 8
make[1]: *** [/home/kprinssu/Desktop/linux-6.12-rc4/Makefile:1557: pacman-pkg] Error 2
make: *** [Makefile:224: __sub-make] Error 2bc