Cloud+Sound·2023년 7월 4일
0
post-thumbnail


두가지 오류가 발생해서 아래와 같이 해결한 끝에 무사히 커널 업그레이드 성공!

  1. 리눅스에서 커널 업데이트를 하려고 make 명령어를 실행하는데 오류가 발생

certs/x509_certificate_list에서 필요한 debian/canonical-certs.pem 타겟을 만들 규칙이 없습니다.

make: *** [Makefile:1756: certs]

CONFIG_SYSTEM_TRUSTED_KEYS=""

scripts/config --set-str SYSTEM_TRUSTED_KEYS ""

위의 두 명령어를 통해 SYSTEM_TRUSTED_KEYS를 삭제하고 다시 make 명령어를 실행한다.

컴파일이 무사히 작동하였다.

*make 명령어 이후, make modules_install, make install 순으로 컴파일 해주면 커널 업데이트 완료

참조: https://rudyprogramming.tistory.com/42

  1. https://stackoverflow.com/questions/61657707/btf-tmp-vmlinux-btf-pahole-pahole-is-not-available
profile
EnjoyYourJourneyToCloud

0개의 댓글