[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <11047.1389876193@warthog.procyon.org.uk>
Date: Thu, 16 Jan 2014 12:43:13 +0000
From: David Howells <dhowells@...hat.com>
To: "Lee, Chun-Yi" <joeyli.kernel@...il.com>
Cc: dhowells@...hat.com, rusty@...tcorp.com.au,
linux-kernel@...r.kernel.org, Chun-Yi Lee <jlee@...e.com>,
Josh Boyer <jwboyer@...hat.com>,
Randy Dunlap <rdunlap@...otime.net>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Michal Marek <mmarek@...e.com>
Subject: Re: [RESEND PATCH v3] MODSIGN: Fix including certificate twice when the signing_key.x509 already exists
Lee, Chun-Yi <joeyli.kernel@...il.com> wrote:
> +ifneq ($(realpath .), $(realpath $(srctree)))
> +X509_CERTIFICATES-y += $(wildcard $(srctree)/*.x509)
> +endif
This ought to be unnecessary, given the $(sort ...) here:
> X509_CERTIFICATES-raw := $(sort $(foreach CERT,$(X509_CERTIFICATES-y), \
> $(or $(realpath $(CERT)),$(CERT))))
as that is supposed to remove duplicates.
However, I will admit there's a snag with my idea: $(realpath ...) doesn't
work if the argument path does not exist (hence the $(or ...)).
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists