linux-acs-override
linux-acs-override copied to clipboard
Newer kernels break `dpkg-buildpackage`
If you are running a newer kernel than the one you are trying to patch, you will get:
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Please use make oldconfig
This fixed it:
# Navigate to the linux source directory (mine is at the root dir)
cd /linux
# start the editable menuconfig UI
make menuconfig
# Navigate to:
# Cryptographic API
# > Certificates for signature checking
# > X.509 certificates to be preloaded into the system blacklist keyring
# Change the 'debian/certs/debian-uefi-certs.pem' string to ''
# Save your .config and exit the menuconfig UI
Credit: https://stackoverflow.com/questions/67530734/no-rule-to-make-target-when-compiling-linux-kernel-when-needed-by-certs-x509-cer
I used make oldconfig to replace the ones in sh,and Change the 'debian/certs/debian-uefi-certs.pem' string to '' ,but still reporting an error
I used make oldconfig to replace the ones in sh,and Change the 'debian/certs/debian-uefi-certs.pem' string to '' ,but still reporting an error
If you'd like, I forked the repo, applied a fix and built the kernels: https://github.com/groundsada/linux-acs-override