From fe9f2fa4c061966e0034f58ef1a0d56bfe20a9c8 Mon Sep 17 00:00:00 2001
From: Philippe Coval <philippe.coval.ext@huawei.com>
Date: Mon, 20 Jun 2022 14:34:20 +0200
Subject: [PATCH] r-g/f-a: Allow networking for flutter-linux-plugins

Observed issue is:

    ...
    failed with exit code 128, output:
    Downloading assets/Audio.mp3 (122 KB)
    Error downloading object: assets/Audio.mp3 (c0d5157):
    Smudge error: Error downloading assets/Audio.mp3
    (c0d515701793564cd80649c10d5f3b85c24ceb5471a29e8a898b9716921f95c5):
    batch response: Post "https://github.com/meta-flutter/linux_plugins.git/info/lfs/objects/batch":
    dial tcp: lookup github.com: Temporary failure in name resolution
    ...

Relate-to: https://gitlab.eclipse.org/pcoval/meta-oniro-blueprint-flutter/-/issues/3
Relate-to: https://booting.oniroproject.org/rzr/meta-oniro-blueprint-flutter/-/issues/3
Signed-off-by: Philippe Coval <philippe.coval.ext@huawei.com>
---
 .../flutter-apps/flutter-linux-plugins-%.bbappend           | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 recipes-graphics/flutter-apps/flutter-linux-plugins-%.bbappend

diff --git a/recipes-graphics/flutter-apps/flutter-linux-plugins-%.bbappend b/recipes-graphics/flutter-apps/flutter-linux-plugins-%.bbappend
new file mode 100644
index 0000000..7a161ca
--- /dev/null
+++ b/recipes-graphics/flutter-apps/flutter-linux-plugins-%.bbappend
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: Huawei Inc.
+
+do_compile[network] = "1"
+do_unpack[network] = "1"
+do_install[network] = "1"
-- 
GitLab