guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: chromium-extension: Avoid another usage of the store-mapped /tmp.


From: guix-commits
Subject: 01/08: chromium-extension: Avoid another usage of the store-mapped /tmp.
Date: Wed, 22 Dec 2021 21:15:17 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit a89d65eec1948cbcbf9936939906fae9cdabf1e7
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Dec 18 19:10:37 2021 +0100

    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(-)

diff --git a/gnu/build/chromium-extension.scm b/gnu/build/chromium-extension.scm
index 656034b..8ca5251 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]