Skip to content

URI: change "name" format (#252)

Joel Winarske requested to merge github/fork/camaronut/kirkstone-urifix into kirkstone

Created by: camaronut

Using name=src/flutter wound up causing some amount of trouble when Running a Yocto build with a PREMIRROR. The original failure:

ERROR: flutter-engine-runtimerelease-git-r0 do_fetch: No checksum specified for '/hd/utils_test/release-tmp/re po_base/downloads/https__github.com_flutter_engine.git-8f2221fbef28b478debb78dd233f5250b220ca99.tar.bz2', plea se add at least one to the recipe: SRC_URI[src/flutter.sha256sum] = "d16173dd94e967f44aed198d283d8212640d892cf86631a9318b72e61f793c4d" ERROR: flutter-engine-runtimerelease-git-r0 do_fetch: Bitbake Fetcher Error: NoChecksumError('Missing SRC_URI checksum', 'https://artifactory.foo.com/Yocto/dunfell/https__github.com_flutter_engine.git-8f2221fbef28b478debb78dd233f5250b220ca99.tar.bz2;name=src/flutter')

But using the above suggestion of setting "SRC_URI[src/flutter.sha256sum]" in a .bbappend results with this error:

ERROR: ParseError at /hd/dunfell/sources/meta-foo/recipes-graphics/flutter-engine/flutter-engine_git.bbappend:10: unparsed line: 'SRC_URI[src/flutter.sha256sum] = "d16173dd94e967f44aed198d283d8212640d892cf86631a9318b72e61f793c4d"'

So we change gn.py to prepend "src/" to the name for writing the gclient solution, and change the gn URI in flutter-engine to not include "src/".

Cherry-pick: b22e5be8

Merge request reports

Loading