benbaker76 / linux-acs-override

31 stars 6 forks source link

构建错误 #7

Open Zhaodaidai opened 7 months ago

Zhaodaidai commented 7 months ago

image

make[6]: [Makefile:2032:.] 错误 2 make[5]: [Makefile:359:build_one_by_one] 错误 2 make[4]: [debian/rules:10:build-arch] 错误 2 dpkg-buildpackage: 错误: debian/rules binary subprocess returned exit status 2 make[3]: [scripts/Makefile.package:139:bindeb-pkg] 错误 2 make[2]: [Makefile:1659:bindeb-pkg] 错误 2 make[1]: [/opt/git/linux-6.5/Makefile:359:__build_one_by_one] 错误 2 make: *** [Makefile:234:sub-make] 错误 2

I have installed dwarves and also deleted 'debian/certs/debian-uefi-certs.pem' but this error persists Tried kernel builds for 6.3 and 6.5 both failed

groundsada commented 7 months ago

If you'd like, I forked the repo, applied a fix and built the kernels: https://github.com/groundsada/linux-acs-override

benbaker76 commented 7 months ago

If you'd like, I forked the repo, applied a fix and built the kernels: https://github.com/groundsada/linux-acs-override

Feel free to make a pull request

fanguohao commented 7 months ago

I think I solved this problem, and built 6.5-acs-patched kernel completed on ubuntu 22.04 lts. I have update the script on my repository here: https://github.com/fanguohao/ubuntu-acs-override-patch. Here is the main soluton:

  1. dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 scripts/config --disable SYSTEM_TRUSTED_KEYS

    https://www.mail-archive.com/kernelnewbies@kernelnewbies.org/msg21536.html

  2. SSL error:FFFFFFFF80000002:system library::No such file or directory: ../crypto/bio/bss_file.c:67 chang kernel configuration (.config) as follows:

CONFIG_MODULE_COMPRESS_NONE=y and comment this line # CONFIG_MODULE_COMPRESS_ZSTD is not set

https://askubuntu.com/questions/1495051/ssl-error-building-signed-kernel

benbaker76 commented 3 months ago

This should be fixed in the latest commit