From c5529765fcdf41837c9fa5d8e8ddf99ec3d5c2ab Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 1 Sep 2016 15:17:24 +0200 Subject: Remove git directories and force links in coreboot Signed-off-by: Paul Kocialkowski --- resources/scripts/helpers/build/module/coreboot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources/scripts/helpers/build/module') diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot index f6e23cae..948e2eab 100755 --- a/resources/scripts/helpers/build/module/coreboot +++ b/resources/scripts/helpers/build/module/coreboot @@ -46,7 +46,7 @@ for payload in $HOMEDIR/coreboot/*; do # create symlink to crossgcc ( - ln -s $HOMEDIR/crossgcc/util/crossgcc/ ${board}/util/crossgcc + ln -fs $HOMEDIR/crossgcc/util/crossgcc/ ${board}/util/crossgcc ) done @@ -135,10 +135,12 @@ for i in $HOMEDIR/coreboot/*; do fi ( cd "${revision}/" + rm -rf .git git init git add -A . git commit -m "coreboot revision ${revision##*/}" cd "3rdparty/vboot/" + rm -rf .git git init git add -A . git commit -m "coreboot revision ${revision##*/}" -- cgit v1.2.3-70-g09d2