mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] composefs: new package
@ 2025-07-07 15:58 Bruno Thomsen
  2025-07-07 15:58 ` [ptxdist] [PATCH v2 2/2] rauc: version bump 1.13 -> 1.14 Bruno Thomsen
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2025-07-07 15:58 UTC (permalink / raw)
  To: ptxdist; +Cc: bruno.thomsen

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-07-07 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-07 15:58 [ptxdist] [PATCH v2 1/2] composefs: new package Bruno Thomsen
2025-07-07 15:58 ` [ptxdist] [PATCH v2 2/2] rauc: version bump 1.13 -> 1.14 Bruno Thomsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox