Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2194783/?format=api
{ "id": 2194783, "url": "http://patchwork.ozlabs.org/api/patches/2194783/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260209223259.1002212-5-ju.o@free.fr/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260209223259.1002212-5-ju.o@free.fr>", "list_archive_url": null, "date": "2026-02-09T22:32:58", "name": "[5/6] fs/xfs: add support for generating a xfs image", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "4263079b0544b94bdd7c842bfb7baf362ec048d4", "submitter": { "id": 80537, "url": "http://patchwork.ozlabs.org/api/people/80537/?format=api", "name": "Julien Olivain", "email": "ju.o@free.fr" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260209223259.1002212-5-ju.o@free.fr/mbox/", "series": [ { "id": 491574, "url": "http://patchwork.ozlabs.org/api/series/491574/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491574", "date": "2026-02-09T22:32:54", "name": "[1/6] package/xfsprogs: bump version to 6.18.0", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/491574/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2194783/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2194783/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@buildroot.org>", "X-Original-To": [ "incoming-buildroot@patchwork.ozlabs.org", "buildroot@buildroot.org" ], "Delivered-To": [ "patchwork-incoming-buildroot@legolas.ozlabs.org", "buildroot@buildroot.org" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=gsPRVdJ1;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)" ], "Received": [ "from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f8zxq6Wxjz1xtr\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Tue, 10 Feb 2026 09:33:51 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 76F8A40D35;\n\tMon, 9 Feb 2026 22:33:50 +0000 (UTC)", "from smtp4.osuosl.org ([127.0.0.1])\n by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id hRtOhl3f3-_l; Mon, 9 Feb 2026 22:33:49 +0000 (UTC)", "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp4.osuosl.org (Postfix) with ESMTP id 92C6340D3E;\n\tMon, 9 Feb 2026 22:33:49 +0000 (UTC)", "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n by lists1.osuosl.org (Postfix) with ESMTP id 0B1BA219\n for <buildroot@buildroot.org>; Mon, 9 Feb 2026 22:33:48 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n by smtp3.osuosl.org (Postfix) with ESMTP id ED95360807\n for <buildroot@buildroot.org>; Mon, 9 Feb 2026 22:33:47 +0000 (UTC)", "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id EtkTdhl2nmHP for <buildroot@buildroot.org>;\n Mon, 9 Feb 2026 22:33:47 +0000 (UTC)", "from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4])\n by smtp3.osuosl.org (Postfix) with ESMTPS id DB7A0605E8\n for <buildroot@buildroot.org>; Mon, 9 Feb 2026 22:33:46 +0000 (UTC)", "from home.juju.sh (unknown\n [IPv6:2a01:e0a:1065:2100:52d9:65fe:2df3:c492])\n (Authenticated sender: ju.o@free.fr)\n by smtp4-g21.free.fr (Postfix) with ESMTPSA id F3BC019F5A5;\n Mon, 9 Feb 2026 23:33:37 +0100 (CET)" ], "X-Virus-Scanned": [ "amavis at osuosl.org", "amavis at osuosl.org" ], "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ", "DKIM-Filter": [ "OpenDKIM Filter v2.11.0 smtp4.osuosl.org 92C6340D3E", "OpenDKIM Filter v2.11.0 smtp3.osuosl.org DB7A0605E8" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770676429;\n\tbh=5jL2/+6hnM2+glay4wXfbE+iH58HtQ0J1U8u2FuW1HI=;\n\th=To:Cc:Date:In-Reply-To:References:Subject:List-Id:\n\t List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:\n\t From:Reply-To:From;\n\tb=gsPRVdJ1v+88FxhRXBn6ZzxwQWp+jJsrZ6iFMfUTp+jXwws5cYE4mW++2LVS8mJrB\n\t sn9yAp3wlhkOc4XdOXh3WIlmWJ40Z3VViLM1kDvTq22Czxrkp9+2GVZQWNY1qcnJ2h\n\t bjIyRJFyjysXfZkr/8lSIhbmN4IcKkCOZSq9bjjaUDz4APnE2W8i2j5rwg3gAJoal8\n\t OEadKBAatyTl8YVHvCnv2ifp/iZh6fWL7nCJXaCm0lehwa65MWZzPOmAXRHRbMXeSv\n\t bDIPtGLErFqVqfiWDgHxiXDW3H9DY+sfxPgatfddbk2q5HisM1rsARJblwwRW2gJfc\n\t Fe5dJx2kXQ+Bw==", "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=212.27.42.4;\n helo=smtp4-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>", "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp3.osuosl.org DB7A0605E8", "To": "buildroot@buildroot.org", "Cc": "Dario Binacchi <dario.binacchi@amarulasolutions.com>,\n Eric Le Bihan <eric.le.bihan.dev@free.fr>, Julien Olivain <ju.o@free.fr>,\n Philippe Proulx <eeppeliteloop@gmail.com>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>", "Date": "Mon, 9 Feb 2026 23:32:58 +0100", "Message-ID": "<20260209223259.1002212-5-ju.o@free.fr>", "X-Mailer": "git-send-email 2.53.0", "In-Reply-To": "<20260209223259.1002212-1-ju.o@free.fr>", "References": "<20260209223259.1002212-1-ju.o@free.fr>", "MIME-Version": "1.0", "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=free.fr; s=smtp-20201208; t=1770676425;\n bh=Gq/c2l7Ef0OT2qKowOlDYf3x/xAK2/4ZinQ1065qhHg=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=g7pocW3uapw1uZhEV1YcgJRCFhBHGcwuk8QYxvxE9Wd2Cf82rJC0qt6RokwJylW7I\n 4milKh68XRQUBsxUPPAC5NDSkAfaFj9ke50qTm71sKPM6Y+62Pm6q8wEOiIsGqJlms\n qZ0J/uFeoZF1ADH3hsoRlWSUMCpNKUBXROcW1dbiiRGiKOWnPNixR2GWE2pPwwMwl7\n XPrmabcop9GjavRXOY9gD2yyeuS2Jyg+fCNOxJh3CCwdXYvULW3lMXYAnx4cSdW5wJ\n jgf8quGHf+bu7+4db3/R/1Vct+6C4df+NR7syoVytPSg4PmbiNmY6/fsJYisxl9Y5D\n Z3T0qGA2bVdbA==", "X-Mailman-Original-Authentication-Results": [ "smtp3.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr", "smtp3.osuosl.org;\n dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr\n header.a=rsa-sha256 header.s=smtp-20201208 header.b=g7pocW3u" ], "Subject": "[Buildroot] [PATCH 5/6] fs/xfs: add support for generating a xfs\n image", "X-BeenThere": "buildroot@buildroot.org", "X-Mailman-Version": "2.1.30", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>", "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>", "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@buildroot.org>", "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>", "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>", "From": "Julien Olivain via buildroot <buildroot@buildroot.org>", "Reply-To": "Julien Olivain <ju.o@free.fr>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@buildroot.org", "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>" }, "content": "mkfs.xfs is able to populate a filesystem from a directory since\nupstream commit [1], included since v6.17.\n\nWith this option, it is now possible to create XFS rootfs in\nBuildroot. This commit adds this new feature.\n\n[1] https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=8a4ea72724930cfe262ccda03028264e1a81b145\n\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n fs/Config.in | 1 +\n fs/xfs/Config.in | 34 ++++++++++++++++++++++++++++++++++\n fs/xfs/xfs.mk | 33 +++++++++++++++++++++++++++++++++\n 3 files changed, 68 insertions(+)\n create mode 100644 fs/xfs/Config.in\n create mode 100644 fs/xfs/xfs.mk", "diff": "diff --git a/fs/Config.in b/fs/Config.in\nindex 42b0e608ac..be2a47b855 100644\n--- a/fs/Config.in\n+++ b/fs/Config.in\n@@ -15,6 +15,7 @@ source \"fs/squashfs/Config.in\"\n source \"fs/tar/Config.in\"\n source \"fs/ubi/Config.in\"\n source \"fs/ubifs/Config.in\"\n+source \"fs/xfs/Config.in\"\n source \"fs/yaffs2/Config.in\"\n \n endmenu\ndiff --git a/fs/xfs/Config.in b/fs/xfs/Config.in\nnew file mode 100644\nindex 0000000000..49dd5ed4aa\n--- /dev/null\n+++ b/fs/xfs/Config.in\n@@ -0,0 +1,34 @@\n+config BR2_TARGET_ROOTFS_XFS\n+\tbool \"xfs root filesystem\"\n+\tselect BR2_PACKAGE_HOST_XFSPROGS\n+\thelp\n+\t Build a xfs root filesystem. If you enable this option, you\n+\t probably want to enable the xfsprogs package too.\n+\n+if BR2_TARGET_ROOTFS_XFS\n+\n+config BR2_TARGET_ROOTFS_XFS_LABEL\n+\tstring \"filesystem label\"\n+\tdefault \"rootfs\"\n+\n+config BR2_TARGET_ROOTFS_XFS_SIZE\n+\tstring \"exact size\"\n+\tdefault \"300M\"\n+\thelp\n+\t The size of the filesystem image. This size is passed to the\n+\t \"truncate -s\", so this option recognizes unit suffixes such\n+\t as K,M,G (see the manual page truncate(1)). Note the XFS\n+\t minimal filesystem size is 300M.\n+\n+config BR2_TARGET_ROOTFS_XFS_MKFS_OPTIONS\n+\tstring \"additional mkfs.xfs options\"\n+\thelp\n+\t Specify a space-separated list of mkfs.xfs options.\n+\n+\t For more information about the mke2fs options, see the\n+\t manual page mkfs.xfs(8).\n+\n+\t For more information about the XFS features which can be\n+\t set, see also the manual page xfs(5).\n+\n+endif # BR2_TARGET_ROOTFS_XFS\ndiff --git a/fs/xfs/xfs.mk b/fs/xfs/xfs.mk\nnew file mode 100644\nindex 0000000000..2706822550\n--- /dev/null\n+++ b/fs/xfs/xfs.mk\n@@ -0,0 +1,33 @@\n+################################################################################\n+#\n+# Build the xfs root filesystem image\n+#\n+################################################################################\n+\n+ROOTFS_XFS_SIZE = $(call qstrip,$(BR2_TARGET_ROOTFS_XFS_SIZE))\n+ifeq ($(BR2_TARGET_ROOTFS_XFS)-$(ROOTFS_XFS_SIZE),y-)\n+$(error BR2_TARGET_ROOTFS_XFS_SIZE cannot be empty)\n+endif\n+\n+ROOTFS_XFS_MKFS_OPTS = $(call qstrip,$(BR2_TARGET_ROOTFS_XFS_MKFS_OPTIONS))\n+\n+# qstrip results in stripping consecutive spaces into a single one. So the\n+# variable is not qstrip-ed to preserve the integrity of the string value.\n+ROOTFS_XFS_LABEL = $(subst \",,$(BR2_TARGET_ROOTFS_XFS_LABEL))\n+#\" comment to balance quotes/parenthesis for syntax highlighting)\n+\n+ROOTFS_XFS_OPTS = \\\n+\t-f \\\n+\t-p '$(TARGET_DIR)' \\\n+\t-L '$(ROOTFS_XFS_LABEL)' \\\n+\t$(ROOTFS_XFS_MKFS_OPTS)\n+\n+ROOTFS_XFS_DEPENDENCIES = host-xfsprogs\n+\n+define ROOTFS_XFS_CMD\n+\t$(RM) -f $@\n+\ttruncate -s $(ROOTFS_XFS_SIZE) $@\n+\t$(HOST_DIR)/sbin/mkfs.xfs $(ROOTFS_XFS_OPTS) $@\n+endef\n+\n+$(eval $(rootfs))\n", "prefixes": [ "5/6" ] }