Skip to content

Commit 6f83432

Browse files
committed
correct patch
1 parent 3a61baf commit 6f83432

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

patches/disable-ipa-signing.patch

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,17 @@ index 9b63c8e8..687d6b51 100644
6464
# libyuv, used by the Android adaptation layer and the virtual pipeline handler.
6565
# Fallback to a subproject if libyuv isn't found, as it's typically not provided
6666
diff --git a/src/libcamera/ipa_manager.cpp b/src/libcamera/ipa_manager.cpp
67-
index 35171d09..a0ff2636 100644
67+
index 35171d09..e883a200 100644
6868
--- a/src/libcamera/ipa_manager.cpp
6969
+++ b/src/libcamera/ipa_manager.cpp
70-
@@ -106,6 +106,9 @@ LOG_DEFINE_CATEGORY(IPAManager)
71-
*/
72-
IPAManager::IPAManager(const GlobalConfiguration &configuration)
70+
@@ -288,6 +288,10 @@ IPAModule *IPAManager::module(PipelineHandler *pipe, uint32_t minVersion,
71+
72+
bool IPAManager::isSignatureValid([[maybe_unused]] IPAModule *ipa) const
7373
{
7474
+ /* Flatpak: Always return true to run IPA in-process (fork not available) */
7575
+ if (getenv("FLATPAK_ID"))
7676
+ return true;
77+
+
7778
#if HAVE_IPA_PUBKEY
78-
if (!pubKey_.isValid())
79-
LOG(IPAManager, Warning) << "Public key not valid";
79+
if (forceIsolation_) {
80+
LOG(IPAManager, Debug)

0 commit comments

Comments
 (0)