Skip to content

Commit b6f5901

Browse files
committed
chromium: Remove gitfiles present in chromium tarball
These serve no purpose in a tarball and confuse devtool, removing them allows `devtool modify` to work. Signed-off-by: Calvin Owens <calvin@wbinvd.org>
1 parent 450f8ee commit b6f5901

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

meta-chromium/recipes-browser/chromium/chromium.inc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,3 +452,15 @@ LIC_FILES_CHKSUM = "\
452452
file://${S}/url/third_party/mozilla/LICENSE.txt;md5=437ced1e9b232651b0912a9594da43b2 \
453453
file://${S}/v8/LICENSE;md5=f38a2942edcfe4abb45e9a83a1ad2f82 \
454454
"
455+
456+
unlink_gitfiles() {
457+
rm -f ${S}/.git-blame-ignore-revs
458+
rm -f ${S}/.gitallowed
459+
rm -f ${S}/.gitattributes
460+
rm -f ${S}/.gitignore
461+
rm -f ${S}/.gitmodules
462+
}
463+
464+
do_unpack:append() {
465+
bb.build.exec_func('unlink_gitfiles', d)
466+
}

0 commit comments

Comments
 (0)