924778eb07
The ipa-sign-install.sh script, run when installing libcamera, signs all IPA modules present in the module directory. This would result in third-party modules being signed if any are present in the directory. Fix it by explicitly passing the list of IPA modules to the ipa-sign-install.sh script. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Tomasz Figa <tfiga@chromium.org> Reviewed-by: Tomasz Figa <tfiga@chromium.org>
23 lines
511 B
Bash
Executable File
23 lines
511 B
Bash
Executable File
#!/bin/sh
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2020, Google Inc.
|
|
#
|
|
# Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
|
#
|
|
# ipa-sign-install.sh - Regenerate IPA module signatures when installing
|
|
|
|
key=$1
|
|
shift
|
|
modules=$*
|
|
|
|
ipa_sign=$(dirname "$0")/ipa-sign.sh
|
|
|
|
echo "Regenerating IPA modules signatures"
|
|
|
|
for module in ${modules} ; do
|
|
module="${MESON_INSTALL_DESTDIR_PREFIX}/${module}"
|
|
if [ -f "${module}" ] ; then
|
|
"${ipa_sign}" "${key}" "${module}" "${module}.sign"
|
|
fi
|
|
done
|