mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Bruno Thomsen <bruno.thomsen@gmail.com>
To: ptxdist@pengutronix.de
Cc: bruno.thomsen@gmail.com
Subject: [ptxdist] [PATCH v2 1/2] composefs: new package
Date: Mon,  7 Jul 2025 17:58:37 +0200	[thread overview]
Message-ID: <20250707155838.5284-1-bruno.thomsen@gmail.com> (raw)

Optional dependency for rauc.

Signed-off-by: Bruno Thomsen <bruno.thomsen@gmail.com>
---
v1-v2:
Forgot to add new composefs package as dependency

 rules/composefs.in   |  8 ++++++
 rules/composefs.make | 67 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 rules/composefs.in
 create mode 100644 rules/composefs.make

diff --git a/rules/composefs.in b/rules/composefs.in
new file mode 100644
index 000000000..b3d6020ee
--- /dev/null
+++ b/rules/composefs.in
@@ -0,0 +1,8 @@
+## SECTION=disk_and_file
+
+config COMPOSEFS
+	bool
+	prompt "composefs"
+	select HOST_MESON
+	help
+	  A file system for mounting container images
diff --git a/rules/composefs.make b/rules/composefs.make
new file mode 100644
index 000000000..67fc71803
--- /dev/null
+++ b/rules/composefs.make
@@ -0,0 +1,67 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Bruno Thomsen <bruno.thomsen@gmail.com>
+#
+# 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 <bruno.thomsen@gmail.com>")
+	@$(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

base-commit: 51f6fea554acb994e4f082af28077e82aab221cc
-- 
2.50.0




             reply	other threads:[~2025-07-07 15:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-07 15:58 Bruno Thomsen [this message]
2025-07-07 15:58 ` [ptxdist] [PATCH v2 2/2] rauc: version bump 1.13 -> 1.14 Bruno Thomsen

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

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

  git send-email \
    --in-reply-to=20250707155838.5284-1-bruno.thomsen@gmail.com \
    --to=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox