From patchwork Sun Aug 7 02:14:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 16999 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id F2A77BE173 for ; Sun, 7 Aug 2022 02:15:09 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7E7156332F; Sun, 7 Aug 2022 04:15:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1659838509; bh=J1Nu6wYo9mW9A9gT4PKiF93bUbRKLqJlJKNzkExSJyA=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=RPtduUVB/8u3ep245vM5+fog0jqVnmVSGdJ0drpyqZntZJNVy0VRguUYizhTZwLqu z9L0EX5sOLhm67FBRFkpt8hZ/pZvL2AjtoJ000W7w0llHXw8zx92L407fxOUciYK/6 IAdWPprsTIyP0+szEAgMbuF97HAhgLOb2ero72F1RNMR0JItukz2yIl6inlYBPlnfH CUOewxQt++Y8gZ3vyIRRP2cahi/11zimkI1FXJk9fR7DGcGuwsI1sEsD8OXtDA3NKT xVRmqgiZXVD/ZLE+aClXm5RH5TlbVymB5A7Vp2FklN+3sSAFbCLSc8q64PUGDOI0n0 y4ZjNf3VkRmiQ== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 592C761FAA for ; Sun, 7 Aug 2022 04:15:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="IDLvJpOd"; dkim-atps=neutral Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E3DFA56D for ; Sun, 7 Aug 2022 04:15:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1659838507; bh=J1Nu6wYo9mW9A9gT4PKiF93bUbRKLqJlJKNzkExSJyA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IDLvJpOdCWyeM5q8vKY+MtBso7KYD7FhlIHal8AhSOtHu7QA9A9XQykNC2mSFp4xY 2m1P0Rg6gDn8gaaIWcDgZ8roWMjCqmqsGHxtqBaiU6ZcbCvNhHZRGpuPn5YfU7a92c x8VYmUmcHB0sKOdDaUOxgRA/tPhhpFmyz3+qin8U= To: libcamera-devel@lists.libcamera.org Date: Sun, 7 Aug 2022 05:14:52 +0300 Message-Id: <20220807021456.9578-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220807021456.9578-1-laurent.pinchart@ideasonboard.com> References: <20220807021456.9578-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/5] Revert "libcamera: Make IPA module signing mandatory for the meantime" X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Laurent Pinchart via libcamera-devel From: Laurent Pinchart Reply-To: Laurent Pinchart Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Commit b382f67c833d ("libcamera: Make IPA module signing mandatory for the meantime") made openssl and gnutls dependencies mandatory to work around the lack of proper IPA module isolation support, which broke operation without module signatures. Now that this has been fixed, we can make the dependencies optional again. This reverts commit b382f67c833de08717cfec19273b95f5819cab27. Signed-off-by: Laurent Pinchart --- README.rst | 2 +- src/libcamera/meson.build | 2 +- src/meson.build | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 77374c6a72b1..ffecd5bc6552 100644 --- a/README.rst +++ b/README.rst @@ -60,7 +60,7 @@ Meson Build system: [required] for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2 -for IPA module signing: [required] +for IPA module signing: [optional] libgnutls28-dev openssl for improved debugging: [optional] diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index b57bee7ef6ca..ff0e31ebcb63 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -65,7 +65,7 @@ subdir('pipeline') subdir('proxy') libdl = cc.find_library('dl') -libgnutls = cc.find_library('gnutls', required : true) +libgnutls = cc.find_library('gnutls', required : false) libudev = dependency('libudev', required : false) libyaml = dependency('yaml-0.1', required : false) diff --git a/src/meson.build b/src/meson.build index 34663a6f134d..65276fc74606 100644 --- a/src/meson.build +++ b/src/meson.build @@ -14,7 +14,7 @@ summary({ }, section : 'Paths') # Module Signing -openssl = find_program('openssl', required : true) +openssl = find_program('openssl', required : false) if openssl.found() ipa_priv_key = custom_target('ipa-priv-key', output : ['ipa-priv-key.pem'],