본문 바로가기

개발일기/Trouble Shooting

Linux Kernel NPM compile error

* problem

- 커널 컴파일을 하던 중 다음과 같던 에러가 떴다. 커널 소스는 Nimble 소스코드로 5.6_rc6 버전이다.

- make[1]: *** No rule to make target 'debian/canonical-certs.pem', needed by 'certs/x509_certificate_list'.

  Stop. make: *** [Makefile:1809: certs] Error 2

 

* Solution

- CONFIG_SYSTEM_TRUSTED_KEYS="debian/canonical-certs.pem" 이렇게 되어있는 것을 CONFIG_SYSTEM_TRUSTED_KEYS = "" 이렇게 바꿔줘야하는데 방법은 아래와 같다.

- scripts/config --disable SYSTEM_TRUSTED_KEYS 또는,

- scripts/config --set-str SYSTEM_TRUSTED_KEYS ""