From a89d65eec1948cbcbf9936939906fae9cdabf1e7 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 18 Dec 2021 19:10:37 +0100 Subject: chromium-extension: Avoid another usage of the store-mapped /tmp. * gnu/build/chromium-extension.scm (make-crx): Use a Chromium profile relative to the build directory instead of /tmp. While here, remove obsolete comment. --- gnu/build/chromium-extension.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/build/chromium-extension.scm b/gnu/build/chromium-extension.scm index 656034b80f..8ca5251957 100644 --- a/gnu/build/chromium-extension.scm +++ b/gnu/build/chromium-extension.scm @@ -83,10 +83,8 @@ in PACKAGE-OUTPUT of PACKAGE. The extension will be signed with SIGNING-KEY." (system (string-append xvfb " :1 &")) (setenv "DISPLAY" ":1") (sleep 2) ;give Xorg some time to initialize... - ;; Chromium stores the current time in the .crx Zip archive. - ;; Use a fixed timestamp for deterministic behavior. (invoke chromium - "--user-data-dir=/tmp/signing-profile" + "--user-data-dir=chromium-profile" (string-append "--pack-extension=" packdir) (string-append "--pack-extension-key=" #$signing-key)) (copy-file (string-append packdir ".crx") #$output)))) -- cgit 1.4.1