From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 10/17] installer: Fix using BTRFS mount options when mounting the layout Date: Fri, 15 Mar 2024 20:14:35 +0100 Message-ID: <20240315191442.3951-11-stefan.schantl@ipfire.org> In-Reply-To: <20240315191442.3951-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3263428151923137685==" List-Id: --===============3263428151923137685== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- src/installer/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index 7868cbb23..1c4adc24b 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -1044,7 +1044,7 @@ int hw_mount_btrfs_subvolumes(const char* source) { // Loop through the remain array of known subvolumes. for ( int i =3D 1; i < LEN(btrfs_subvolumes); i++ ) { snprintf(path, sizeof(path), "%s%s", DESTINATION_MOUNT_PATH, btrfs_subvolu= mes[i][1]); - snprintf(options, sizeof(options), "subvol=3D%s,", btrfs_subvolumes[i][0],= BTRFS_MOUNT_OPTIONS); + snprintf(options, sizeof(options), "subvol=3D%s,%s", btrfs_subvolumes[i][0= ], BTRFS_MOUNT_OPTIONS); =20 // Create the directory. r =3D hw_mkdir(path, S_IRWXU|S_IRWXG|S_IRWXO); --=20 2.39.2 --===============3263428151923137685==--