From 1b728a2eb0a577e61c5fcb831ee2389333021960 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 26 May 2017 17:43:58 +0200 Subject: [PATCH] UPSTREAM: util/hugo: mark source mounts read-only hugo has no need to write there, it should only write to the output directory. BUG=none BRANCH=none TEST=none Change-Id: Icac77298ae86d06bdeb350706e207c3e6c4d664f Signed-off-by: Patrick Georgi Original-Commit-Id: dc5eea1cfa05d3916eae1bc64006f5d8ff204978 Original-Change-Id: Ie320f5017feccfa2e9ecba3c802e040487b44d67 Original-Signed-off-by: Patrick Georgi Original-Reviewed-on: https://review.coreboot.org/19929 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Patrick Georgi Reviewed-on: https://chromium-review.googlesource.com/517926 Commit-Ready: Patrick Georgi Tested-by: Patrick Georgi Reviewed-by: Patrick Georgi --- util/hugo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hugo/Makefile b/util/hugo/Makefile index d49c57d7e9..9a95536367 100644 --- a/util/hugo/Makefile +++ b/util/hugo/Makefile @@ -10,4 +10,4 @@ themes/hugo-material-docs: git clone https://github.com/digitalcraftsman/hugo-material-docs.git themes/hugo-material-docs public: themes/hugo-material-docs - docker run --rm -it -v $$PWD:/src -v $$PWD/../../Documentation:/src/content -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir + docker run --rm -it -v $$PWD:/src:ro -v $$PWD/../../Documentation:/src/content:ro -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir