summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-08-28 16:11:51 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-05-19 03:43:20 +0200
commit8e4d49340bd235a7db8fde1d24dd1d63ddc4d571 (patch)
treed4479b8e96fa82f00b68adbd3fb815b1d5bfb04f
parent0272fd6b53bf5f1025e259b6749b5ba168cce48f (diff)
use the new file based approach for the mar creation
Change-Id: Ie025709b76960b1dd850fbb2d1f114f7a413611a
-rwxr-xr-xbin/update/make_full_update.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/update/make_full_update.sh b/bin/update/make_full_update.sh
index 37cd22e76292..138f7472b073 100755
--- a/bin/update/make_full_update.sh
+++ b/bin/update/make_full_update.sh
@@ -97,6 +97,7 @@ for ((i=0; $i<$num_files; i=$i+1)); do
copy_perm "$targetdir/$f" "$workdir/$f"
targetfiles="$targetfiles \"$f\""
+ echo $f >> $workdir/files.txt
done
# Append remove instructions for any dead files.
@@ -107,7 +108,7 @@ append_remove_instructions "$targetdir" "$updatemanifestv2" "$updatemanifestv3"
$BZIP2 -z9 "$updatemanifestv2" && mv -f "$updatemanifestv2.bz2" "$updatemanifestv2"
$BZIP2 -z9 "$updatemanifestv3" && mv -f "$updatemanifestv3.bz2" "$updatemanifestv3"
-eval "$MAR -C \"$workdir\" -c output.mar $targetfiles"
+eval "$MAR -C \"$workdir\" -c output.mar -f $workdir/files.txt"
mv -f "$workdir/output.mar" "$archive"
# cleanup