mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-27 19:41:50 +02:00
hurd-boot: Use 'setxattr' instead of invoking settrans.
Note: Using `getxattr' on the Hurd instead of running showtrans does not work (yet?). * gnu/build/hurd-boot.scm (setup-translator): Use 'setxattr' instead of invoking settrans. * gnu/system.scm (hurd-multiboot-modules): Add --x-xattr-translator-records to enable xattr-embedding of translators.
This commit is contained in:
committed by
Jan Nieuwenhuizen
parent
951847ee37
commit
f25e8f76fe
@@ -144,7 +144,7 @@ set."
|
||||
(chmod port mode)))))
|
||||
(catch 'system-error
|
||||
(lambda _
|
||||
(apply invoke "settrans" "--create" file-name command))
|
||||
(setxattr file-name "gnu.translator" (string-join command "\0" 'suffix)))
|
||||
(lambda (key . args)
|
||||
(let ((errno (system-error-errno (cons key args))))
|
||||
(format (current-error-port) "~a: ~a\n"
|
||||
|
||||
Reference in New Issue
Block a user