Hotfix for flutter-sdk when built with archiver turned on 56/27856/1 13.92.0 needlefish/13.92.0 needlefish_13.92.0
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 1 Aug 2022 20:08:46 +0000 (22:08 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 1 Aug 2022 20:08:55 +0000 (22:08 +0200)
We need to allow network also for do_ar_original.
https://github.com/meta-flutter/meta-flutter/blob/kirkstone/conf/include/flutter-version.inc#L12
does a network query.
Ideally this should be cached (e.g. what happens during a slow build and multiple queries could have

Bug-AGL: SPEC-4511
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia6ab9cdcc1e25f90680e0be373e8e014ca5df6fc

meta-agl-flutter/recipes-graphics/flutter-sdk/flutter-sdk_git.bbappend [new file with mode: 0644]

diff --git a/meta-agl-flutter/recipes-graphics/flutter-sdk/flutter-sdk_git.bbappend b/meta-agl-flutter/recipes-graphics/flutter-sdk/flutter-sdk_git.bbappend
new file mode 100644 (file)
index 0000000..ce3574d
--- /dev/null
@@ -0,0 +1,5 @@
+
+# fix for the archiver:
+# the function get_flutter_sdk_version does access the network
+# when it is expanded later in the archiver, we need to allow the network
+do_ar_original[network] = "1"