From patchwork Fri Mar 15 19:14:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 7630 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4TxDTj0xFwz3wnw for ; Fri, 15 Mar 2024 19:15:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4TxDTf3X8GzFLn; Fri, 15 Mar 2024 19:15:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4TxDTf34sXz32pt; Fri, 15 Mar 2024 19:15:02 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4TxDTX3kJDz32P8 for ; Fri, 15 Mar 2024 19:14:56 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4TxDTW3cPsz4Rt; Fri, 15 Mar 2024 19:14:55 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1710530095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t/JNs2HqQPIhw0266TAuJjuDXhy3D2ZjPQqQ8OuB5g8=; b=Y7HMF8OuSVTDj74GGixDotuJ3qyX0wAt/eImnYW0U3SNl2j9zFSRgMgDH8mdk0nWXMPyY6 TVsL+N+0d4mndhBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1710530095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t/JNs2HqQPIhw0266TAuJjuDXhy3D2ZjPQqQ8OuB5g8=; b=uhN1ExNfuMp+IvgTvGjqEqcOOuNts6ItQurjrBaMNNsuOetFgW7SzmfPGlZSVwr0jAnPJN VvsWLeDUGSpwKib0vtBjbsR4Pr7GmInKuED45o/l7+cyO/XrHih3lMMMq+p7g9V9w8t4uF naCGrZMTT8E5DyCmwPTjatDtGdtM/VuiGP+uoDkKex3ltYjcTy3HcQBc0xjdpL0xy+PzZP lbOf0db7fqQowQZJaFB+UOsCSS6qrWv5q+5I7ly07NckGtqcy+BmQwkpnDLwcAJZfqZuQ/ MHroWciYdhR6S3auJGT78D7P+UfJBykj2wgJRJerlg6bx6g9nb+g78AVeUCuCw== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 06/17] installer: Correctly umount main BTRFS partition. Date: Fri, 15 Mar 2024 20:14:31 +0100 Message-Id: <20240315191442.3951-7-stefan.schantl@ipfire.org> In-Reply-To: <20240315191442.3951-1-stefan.schantl@ipfire.org> References: <20240315191442.3951-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: 6Z6QBT43IEH65BGWJDXK3R46YYDSG4Y3 X-Message-ID-Hash: 6Z6QBT43IEH65BGWJDXK3R46YYDSG4Y3 X-MailFrom: stefan.schantl@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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 420feaca7..205d40d21 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -916,7 +916,7 @@ int hw_create_btrfs_layout(const char* path, const char* output) { } // Umount the main BTRFS after subvolume creation. - r = hw_umount(path, 0); + r = hw_umount(DESTINATION_MOUNT_PATH, 0); if (r) return r;