patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Demi Marie Obenour <demiobenour@gmail.com>
To: Spectrum OS Development <devel@spectrum-os.org>
Cc: Alyssa Ross <hi@alyssa.is>, Demi Marie Obenour <demiobenour@gmail.com>
Subject: [PATCH] scripts/make-erofs.sh: disable xattr support
Date: Thu, 07 Aug 2025 14:06:00 -0400	[thread overview]
Message-ID: <20250807-no-erofs-xattrs-v1-1-957d518c0861@gmail.com> (raw)

This fixes building a Spectrum image on a BTRFS filesystem with SELinux
enabled.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
 scripts/make-erofs.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/make-erofs.sh b/scripts/make-erofs.sh
index e460874d129fe3dfe0d4bc2bca707ced01e0025e..b47048ad747bd7dfcc28e0f1dfd75ec090fa7e09 100755
--- a/scripts/make-erofs.sh
+++ b/scripts/make-erofs.sh
@@ -45,4 +45,4 @@ while read -r arg1; do
 	cp -RT -- "$arg1" "$root/$arg2"
 done
 
-mkfs.erofs -b4096 --all-root "$@" "$root"
+mkfs.erofs -x-1 -b4096 --all-root "$@" "$root"

---
base-commit: 39baa378367d95fac6ce4d0140b25203b2ee9b53
change-id: 20250807-no-erofs-xattrs-9771d6688ad7
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


             reply	other threads:[~2025-08-07 18:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07 18:06 Demi Marie Obenour [this message]
2025-08-08 14:46 ` [PATCH] scripts/make-erofs.sh: disable xattr support Alyssa Ross

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=20250807-no-erofs-xattrs-v1-1-957d518c0861@gmail.com \
    --to=demiobenour@gmail.com \
    --cc=devel@spectrum-os.org \
    --cc=hi@alyssa.is \
    /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.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).