From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 12 Jul 2025 17:49:58 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uacUA-00Glr5-1Z for lore@lore.pengutronix.de; Sat, 12 Jul 2025 17:49:58 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uacUA-0004hI-AK; Sat, 12 Jul 2025 17:49:58 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uacSi-0001W4-Cm; Sat, 12 Jul 2025 17:48:28 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uacSi-0086YB-0f; Sat, 12 Jul 2025 17:48:28 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uacSi-00FQK1-0V; Sat, 12 Jul 2025 17:48:28 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sat, 12 Jul 2025 17:48:28 +0200 Message-Id: <20250712154828.3676094-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250707155838.5284-1-bruno.thomsen@gmail.com> References: <20250707155838.5284-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] composefs: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bruno Thomsen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as f1ca21ed6f167a7fab61cb13ca563332310e1d9a. Michael [sent from post-receive hook] On Sat, 12 Jul 2025 17:48:28 +0200, Bruno Thomsen wrote: > Optional dependency for rauc. > > Signed-off-by: Bruno Thomsen > Message-Id: <20250707155838.5284-1-bruno.thomsen@gmail.com> > [mol: add missing dependency on openssl] > Signed-off-by: Michael Olbrich > > diff --git a/rules/composefs.in b/rules/composefs.in > new file mode 100644 > index 000000000000..82db1a7fbe66 > --- /dev/null > +++ b/rules/composefs.in > @@ -0,0 +1,9 @@ > +## SECTION=disk_and_file > + > +config COMPOSEFS > + bool > + prompt "composefs" > + select HOST_MESON > + select OPENSSL > + help > + A file system for mounting container images > diff --git a/rules/composefs.make b/rules/composefs.make > new file mode 100644 > index 000000000000..67fc71803759 > --- /dev/null > +++ b/rules/composefs.make > @@ -0,0 +1,67 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2025 by Bruno Thomsen > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_COMPOSEFS) += composefs > + > +# > +# Paths and names > +# > +COMPOSEFS_VERSION := 1.0.8 > +COMPOSEFS_MD5 := 6f4714015bcfdd9c79b215c49da41b26 > +COMPOSEFS := composefs-$(COMPOSEFS_VERSION) > +COMPOSEFS_SUFFIX := tar.xz > +COMPOSEFS_URL := https://github.com/composefs/composefs/releases/download/v$(COMPOSEFS_VERSION)/$(COMPOSEFS).$(COMPOSEFS_SUFFIX) > +COMPOSEFS_SOURCE := $(SRCDIR)/$(COMPOSEFS).$(COMPOSEFS_SUFFIX) > +COMPOSEFS_DIR := $(BUILDDIR)/$(COMPOSEFS) > +COMPOSEFS_LICENSE := (GPL-2.0-or-later OR Apache-2.0) AND LGPL-2.1-or-later > +COMPOSEFS_LICENSE_FILES := \ > + file://COPYING;md5=5cbca48090f7fe0169186a551a5bf78c \ > + file://COPYING.GPL-2.0-only;md5=94fa01670a2a8f2d3ab2de15004e0848 \ > + file://COPYING.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ > + file://COPYING.LGPL-2.1-or-later;md5=4fbd65380cdd255951079008b364516c \ > + file://LICENSE.Apache-2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +# > +# meson > +# > +COMPOSEFS_CONF_TOOL := meson > +COMPOSEFS_CONF_OPT := \ > + $(CROSS_MESON_USR) \ > + -Dman=disabled \ > + -Dfuse=disabled > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/composefs.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, composefs) > + @$(call install_fixup, composefs, PRIORITY, optional) > + @$(call install_fixup, composefs, SECTION, base) > + @$(call install_fixup, composefs, AUTHOR, "Bruno Thomsen ") > + @$(call install_fixup, composefs, DESCRIPTION, missing) > + > + @$(call install_copy, composefs, 0, 0, 0755, -, /usr/bin/mkcomposefs) > + @$(call install_copy, composefs, 0, 0, 0755, -, /usr/bin/composefs-info) > + @$(call install_copy, composefs, 0, 0, 0755, -, /usr/sbin/mount.composefs) > + @$(call install_lib, composefs, 0, 0, 0644, libcomposefs) > + > + @$(call install_finish, composefs) > + > + @$(call touch) > + > +# vim: syntax=make