From patchwork Sun Aug 7 12:00:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5847 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 (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M0ybN2M1Cz40W2 for ; Sun, 7 Aug 2022 12:01:04 +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 (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M0ybL6gS5z1P2; Sun, 7 Aug 2022 12:01:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M0ybL4ybqz2xyQ; Sun, 7 Aug 2022 12:01: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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M0ybL2Lfkz2xHK for ; Sun, 7 Aug 2022 12:01:02 +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 (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M0ybK63tFz8X; Sun, 7 Aug 2022 12:01:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1659873661; 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; bh=r9Ig3S73wcbuSXGNCYw/weiZRQIWTLXLNfpyJ+bN1oY=; b=us1dTHlE5jt48KIMcEchZ8Pg4/YWZ4efPPyAwID+pltpfdqvUDz0MsKsL2YBJxZWqDY7mx qJiyp5jhSuFzRHDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1659873661; 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; bh=r9Ig3S73wcbuSXGNCYw/weiZRQIWTLXLNfpyJ+bN1oY=; b=S4/JninAc3zpwcU0sQeyJNY6s0c22YRVu7R1zHZ1L5mBR4p5VBgFRqf0xdRnUKBTLnEmOr FLVZzrCm6HBbdWNNtpzBfprPHFPBezDX7CKQCXt3VGKGDgjG/oTnJi0/YNwBmeItHGneQo QbyXrqm/TtcjhhLIIIIWfuRT17bUWtrqKq9PNToe0byU9mcrkwWKwQ5umVz/42COZHEovN PnMa2r8lx+Juvt52riOudcOhtAnTT8gSErJ/18PGdytUyY7hpQdTors/7NDp0gopWg/C/z 737zI58r7uM/RiesR1IATuKdU3wQB87GuCEADuozOXkfkj7dyK7QCSg+wi9obw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] installer: Increase size of /boot to 256 MiB Date: Sun, 7 Aug 2022 12:00:55 +0000 Message-Id: <20220807120055.850158-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" On some installations, we are running out of space on the /boot partition due to growing sizes of the ramdisk and the kernel. To accomodate for that and have room to grow in the future, we increase the size of the partition to 256 MiB. Signed-off-by: Michael Tremer Reviewed-by: Peter Müller --- 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 0ed6050b3..236737c8e 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -492,7 +492,7 @@ static unsigned long long hw_swap_size(struct hw_destination* dest) { } static unsigned long long hw_boot_size(struct hw_destination* dest) { - return MB2BYTES(128); + return MB2BYTES(256); } static int hw_device_has_p_suffix(const struct hw_destination* dest) {