From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Marshall Subject: Re: Modifying squashfs usage for `guix pack` for supporting singularity Date: Wed, 4 Mar 2020 22:28:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35262) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9cUv-0007kd-HM for guix-devel@gnu.org; Wed, 04 Mar 2020 17:28:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9cUt-0001OJ-Vz for guix-devel@gnu.org; Wed, 04 Mar 2020 17:28:13 -0500 Received: from esa1.hc3102-66.iphmx.com ([139.138.57.78]:33391) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9cUt-0001MK-Mu for guix-devel@gnu.org; Wed, 04 Mar 2020 17:28:11 -0500 In-Reply-To: Content-Language: en-US List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: "guix-devel@gnu.org" It also appears the `-mkfs-time 0`, `-all-time 0`, and `-UTC` arguments hav= e been missing. Docker and Singularity havebeen moving towards support of the Open Containe= rs Initative, which prompts the discussion of if the docker and sinfularity= (squashfs) pack options should be depricated in favor of this standard: ht= tps://github.com/opencontainers/image-spec ________________________________________ From: Josh Marshall Sent: Wednesday, March 4, 2020 4:00 PM To: guix-devel@gnu.org Subject: Modifying squashfs usage for `guix pack` for supporting singularity I ran into some trouble today when trying to package an image for singulari= ty on CentOS7. nxck suggested I go into the cdoe and try adding the "-noap= pend" 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 c= reated and then added in a single invocation. Does anyone have any opinion= s on such a change or useful insights? --- The information in this email, including attachments, may be confidential a= nd is intended solely for the addressee(s). If you believe you received thi= s email by mistake, please notify the sender by return email as soon as pos= sible.