[coreboot-gerrit] Change in coreboot[master]: util/hugo: mark source mounts read-only

Patrick Georgi (Code Review) gerrit at coreboot.org
Fri May 26 18:36:22 CEST 2017


Patrick Georgi has submitted this change and it was merged. ( https://review.coreboot.org/19929 )

Change subject: util/hugo: mark source mounts read-only
......................................................................


util/hugo: mark source mounts read-only

hugo has no need to write there, it should only write to the
output directory.

Change-Id: Ie320f5017feccfa2e9ecba3c802e040487b44d67
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Reviewed-on: https://review.coreboot.org/19929
Tested-by: build bot (Jenkins) <no-reply at coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi at google.com>
---
M util/hugo/Makefile
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  build bot (Jenkins): Verified
  Patrick Georgi: Looks good to me, approved



diff --git a/util/hugo/Makefile b/util/hugo/Makefile
index d49c57d..9a95536 100644
--- a/util/hugo/Makefile
+++ b/util/hugo/Makefile
@@ -10,4 +10,4 @@
 	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

-- 
To view, visit https://review.coreboot.org/19929
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie320f5017feccfa2e9ecba3c802e040487b44d67
Gerrit-PatchSet: 2
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi at google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply at coreboot.org>



More information about the coreboot-gerrit mailing list