* guix pack -f squashfs ...
@ 2019-03-01 5:08 Yoshinori Arai
2019-03-11 16:08 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Yoshinori Arai @ 2019-03-01 5:08 UTC (permalink / raw)
To: help-guix
I'm trying guix pack -f squashfs ...
$ guix pack -f squashfs guile emacs geiser
$ cp /gnu/store/jy7k2g48303jlz5hlaflrsa4mdrbhcy6-squashfs-pack.gz.squashfs \
./emacs-geiser-guile.squashfs
$ singularity verify emacs-geiser-guile.squashfs
WARNING: Authentication token file not found :
Only pulls of public images will succeed
Verifying image: emacs-geiser-guile.squashfs
ERROR: verification failed: failed to load SIF container file:
invalid SIF file: Magic |'H��| want |SIF_MAGIC|
$ singularity shell emacs-geiser-guile.squashfs
WARNING: passwd file doesn't exist in container, not updating
WARNING: group file doesn't exist in container, not updating
FATAL: no /bin/sh found inside container
emacs-geiser-guile.squashfs is just squashfs but not container for singularity.
guix manual about guix pack described as follows,
Yet another option is to produce a SquashFS image with the following
command:
guix pack -f squashfs guile emacs geiser
The result is a SquashFS file system image that can either be mounted or
directly be used as a file system container image with the Singularity
container execution environment (http://singularity.lbl.gov), using
commands like ‘singularity shell’ or ‘singularity exec’.
Is above description is for version 2.6.1 but not 3.0?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: guix pack -f squashfs ...
2019-03-01 5:08 guix pack -f squashfs Yoshinori Arai
@ 2019-03-11 16:08 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-03-11 16:08 UTC (permalink / raw)
To: Yoshinori Arai; +Cc: help-guix
Hello Yoshinori,
Yoshinori Arai <kumagusu08@gmail.com> skribis:
> I'm trying guix pack -f squashfs ...
> $ guix pack -f squashfs guile emacs geiser
> $ cp /gnu/store/jy7k2g48303jlz5hlaflrsa4mdrbhcy6-squashfs-pack.gz.squashfs \
> ./emacs-geiser-guile.squashfs
> $ singularity verify emacs-geiser-guile.squashfs
> WARNING: Authentication token file not found :
> Only pulls of public images will succeed
> Verifying image: emacs-geiser-guile.squashfs
> ERROR: verification failed: failed to load SIF container file:
> invalid SIF file: Magic |'H��| want |SIF_MAGIC|
> $ singularity shell emacs-geiser-guile.squashfs
> WARNING: passwd file doesn't exist in container, not updating
> WARNING: group file doesn't exist in container, not updating
> FATAL: no /bin/sh found inside container
>
> emacs-geiser-guile.squashfs is just squashfs but not container for singularity.
>
> guix manual about guix pack described as follows,
>
> Yet another option is to produce a SquashFS image with the following
> command:
>
> guix pack -f squashfs guile emacs geiser
>
> The result is a SquashFS file system image that can either be mounted or
> directly be used as a file system container image with the Singularity
> container execution environment (http://singularity.lbl.gov), using
> commands like ‘singularity shell’ or ‘singularity exec’.
>
> Is above description is for version 2.6.1 but not 3.0?
Yes, what the Guix manual documents is support for Singularity 2.x,
which can consume Squashfs images.
Singularity 3 introduces a new image format called SIF. ‘guix pack’
cannot produce images in this format yet.
However Singularity 3 also supports the OCI format (that is, ‘guix pack
-f docker’), and hopefully it still supports Squashfs as well?
HTH,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-11 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 5:08 guix pack -f squashfs Yoshinori Arai
2019-03-11 16:08 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.