unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: Josh Marshall <Josh.Marshall@jax.org>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: Modifying squashfs usage for `guix pack` for supporting singularity
Date: Thu, 12 Mar 2020 14:51:46 +0100	[thread overview]
Message-ID: <87v9n9smtp.fsf@gnu.org> (raw)
In-Reply-To: <BL0PR06MB46730AF1301B8DE92BC149B2E9E50@BL0PR06MB4673.namprd06.prod.outlook.com> (Josh Marshall's message of "Wed, 4 Mar 2020 21:00:37 +0000")

Hi Josh,

Apologies for the delay!  (In general, it’s probably safer to report
bugs to bug-guix@gnu.org because they’re tracked and are less likely to
fall through the cracks.)

Josh Marshall <Josh.Marshall@jax.org> skribis:

> I ran into some trouble today when trying to package an image for singularity on CentOS7.  nxck suggested I go into the cdoe and try adding the "-noappend" option to mksquashfs in 'guix/guix/scripts/pack.scm'.  While looking at it, it seems that it performs a multistep process to modify the squashfs image, which kind of goes against the design of the utility.  A SO page ( https://unix.stackexchange.com/a/459372 ) suggested the full hierarchy be created and then added in a single invocation.  Does anyone have any opinions on such a change or useful insights?

[...]

> It also appears the `-mkfs-time 0`, `-all-time 0`, and `-UTC` arguments have been missing.

Could you explain what error you got and what makes you think these
options were missing?

IME, the images produced by ‘guix pack -f squashfs’ work fine with
Singularity 2.x and 3.x.

> Docker and Singularity havebeen moving towards support of the Open Containers Initative, which prompts the discussion of if the docker and sinfularity (squashfs) pack options should be depricated in favor of this standard: https://github.com/opencontainers/image-spec

In fact, ‘guix pack -f docker’ produces an OCI image, IIUC.

Singularity 3.x introduced the Singularity Image Format (SIF), which is
yet another format.  AIUI, SIF is the recommended format for Singularity
3.x, isn’t it?

Thanks,
Ludo’.

  parent reply	other threads:[~2020-03-12 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 21:00 Modifying squashfs usage for `guix pack` for supporting singularity Josh Marshall
2020-03-04 22:28 ` Josh Marshall
2020-03-12 13:51 ` Ludovic Courtès [this message]
2020-03-12 14:05   ` [EXTERNAL]Re: " Josh Marshall
2020-03-12 16:39     ` Ludovic Courtès
2020-03-12 17:58       ` Josh Marshall
2020-03-13 16:38         ` Ludovic Courtès
2020-03-13 16:48           ` Josh Marshall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9n9smtp.fsf@gnu.org \
    --to=ludovic.courtes@inria.fr \
    --cc=Josh.Marshall@jax.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).