Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2014-05-19 15:05:46 +0200
committerPetter Reinholdtsen <pere@hungry.com>2014-05-19 15:05:46 +0200
commit4eeed6512372ccce3ea3622f479333747f09b52b (patch)
tree795df0f5e486493781b9e42a2a650bcc50cae0ec /bin
parent84ff452abf66eb7f31097418240e21e10d8b977c (diff)
Make sure freedombox.log is owned by the user running the build.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mk_freedombox_image3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mk_freedombox_image b/bin/mk_freedombox_image
index d2c2bab..0f9457b 100755
--- a/bin/mk_freedombox_image
+++ b/bin/mk_freedombox_image
@@ -87,6 +87,9 @@ for p in $base_pkgs $extra_pkgs; do
pkgopts="$pkgopts --package $p"
done
+# Make sure file is owned by current user, not root
+touch $(dirname $IMAGE)/freedombox.log
+
# Run vmdebootstrap script to create image
sudo -H \
SUITE="$SUITE" \