Skip to content

Commit a350761

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 f7b6d40 commit a350761

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
@@ -604,3 +604,15 @@ LIC_FILES_CHKSUM = "\
604604
file://${S}/url/third_party/mozilla/LICENSE.txt;md5=437ced1e9b232651b0912a9594da43b2 \
605605
file://${S}/v8/LICENSE;md5=3f722db07a0a940a6c859c5c9c2c78fd \
606606
"
607+
608+
unlink_gitfiles() {
609+
rm -f ${S}/.git-blame-ignore-revs
610+
rm -f ${S}/.gitallowed
611+
rm -f ${S}/.gitattributes
612+
rm -f ${S}/.gitignore
613+
rm -f ${S}/.gitmodules
614+
}
615+
616+
do_unpack:append() {
617+
bb.build.exec_func('unlink_gitfiles', d)
618+
}

0 commit comments

Comments
 (0)