lkml.org 
[lkml]   [2021]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 'make O=' indigestion with module signing
Date
Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:

> So there's something weird going on with scripts/extract-cert when running
> as a userid other than the owner of the source tree.. I wonder if it's
> actually an OpenSSL issue...

I cloned next-20210311 as one user then built it as another user using:

LANG=C nice -19 make O=/data/git/next-20210311-build -j8 allmodconfig
LANG=C nice -19 make O=/data/git/next-20210311-build -j8

It built with no problems. The building user definitely can't create/modify
files in the source directory.

Interestingly, the following line in the output from mine:

EXTRACT_CERTS certs/signing_key.pem

doesn't show the full path as it does in yours:

EXTRACT_CERTS /usr/src/linux-next/"certs/signing_key.pem"

but I don't know why. There are some odd quotes in your line also which may
be related to the problem. The relevant config line looks the same:

CONFIG_MODULE_SIG_KEY="certs/signing_key.pem"

I'll have to try with the aarch64 build, see if it's something in that that's
the problem.

David

\
 
 \ /
  Last update: 2021-03-11 13:05    [W:0.349 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site