GNU bug report logs -
#53912
[PATCH 0/5] WIP Add WSL support.
Previous Next
Reported by: Alex Griffin <a <at> ajgrf.com>
Date: Thu, 10 Feb 2022 06:07:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 53912 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Alex Griffin via Guix-patches via schreef op do 10-02-2022 om 06:27
[+0000]:
> (with-directory-excursion image-root
> + (when #$wsl?
> + ;; WSL requires /bin/sh. Will be overwritten by
> system
> + ;; activation.
> + (symlink #$root-shell "./bin/sh")
> +
> + ;; WSL requires /bin/mount to access the host
> fs.
> + (symlink #+(file-append util-linux "/bin/mount")
> + "./bin/mount"))
I would change this to
(with-directory-excursion image-root
#$@(if wsl?
;; Comment ...
#~((symlink ...)
(symlink ...)
#~())
other things ...)
such that the tarball could be built without building util-linux.
Also, (symlink #+(file-append util-linux ...) "./bin/mount") seems
wrong here when cross-compiling, wouldn't a 'mount' compiled for --
target be required instead of a 'mount' compiled for --system when
cross-compiling? Do you mean #$(file-append ...) instead?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.