From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AFIJGNGwhmZIbAEAe85BDQ:P1 (envelope-from ) for ; Thu, 04 Jul 2024 14:25:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AFIJGNGwhmZIbAEAe85BDQ (envelope-from ) for ; Thu, 04 Jul 2024 16:25:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=fWwZYjOL; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720103121; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=giMeRUNq8derBZdb7DnkWFVW8HLVJ1F2g9OGHn1ko88=; b=D/Fdco9udBixbJ5DcTvr5bhbScL7bgzeRFp9KPiZBZCjlLCsXQZ3lD/9HBInazD1NDcimM 7Ehpmc2v6Y9kznXiVhSzHsctoir4MTH6MknuRDGAgvU1j6d/srnQeXSD/NHtCF4BpdVwiN H7PhuF+0oMrm4qq8tNlBW2MCm1W+E/k8kWHUpFlCeBxO40ypAUcLGrwFbkFMgU6ZuSaY+7 QUT89JwYd/sNRgUYYsOEtP+y2BUHktFeaq2ZsUj8W0NrEjaDEC2R90WgygqY6+VSP0M0F4 oGsIjJNYyF+e8owClg4QrZOnxX693eviRGGvVz7374hGfcF9Fs4ikzoYW3o6pw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720103121; a=rsa-sha256; cv=none; b=ngoWgMS3fdmdS6neY0nzXwbf0rVL9fRwbuia81UdraGtpWUzHO/CFZ+Rjjpgwu4zA00xCn NMNRBPbblQ+T2ACXW16w66NohJEDOkz+8ja9MjnZNnb5wW8ELSpCELdeb2DyXN+JUzwDn1 okNGPR5CsPs8jYQJH40yinO08ad9xYutdh1+9holn/uu+L40lyi74lg/6WQ0wcl9Yr2CPH ucCkUA1sgMXHVntOFUIL1RrR/BMDptlgiD5k/gFVGgW+zjgbJzLruR1r8I11yJnuGKksHE j4mRqxjmGhHdtDNjRh+hnOHaS/1YXDpuc7hK3hjYrCHM/C3BpiAO8wd+VHTO3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=fWwZYjOL; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 22A3767680 for ; Thu, 04 Jul 2024 16:25:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPNOS-0000Pk-9M; Thu, 04 Jul 2024 10:25:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPNOP-0000P6-5j for guix-patches@gnu.org; Thu, 04 Jul 2024 10:25:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sPNOO-0005TE-Tq for guix-patches@gnu.org; Thu, 04 Jul 2024 10:25:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPNOQ-0002vh-2u for guix-patches@gnu.org; Thu, 04 Jul 2024 10:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71940] [PATCH] system: images: Add comment how to enlarge visionfive2 root partition. Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Jul 2024 14:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71940 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71940@debbugs.gnu.org Cc: Florian Pelz X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172010306411194 (code B ref -1); Thu, 04 Jul 2024 14:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Jul 2024 14:24:24 +0000 Received: from localhost ([127.0.0.1]:42669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPNNn-0002uT-TN for submit@debbugs.gnu.org; Thu, 04 Jul 2024 10:24:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:48536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPNNl-0002uK-3o for submit@debbugs.gnu.org; Thu, 04 Jul 2024 10:24:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPNNi-0008VX-BZ for guix-patches@gnu.org; Thu, 04 Jul 2024 10:24:18 -0400 Received: from relay.yourmailgateway.de ([46.38.247.119]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sPNNg-0003cN-19 for guix-patches@gnu.org; Thu, 04 Jul 2024 10:24:18 -0400 Received: from mors-relay-8404.netcup.net (localhost [127.0.0.1]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4WFJmq34PLz84ZH for ; Thu, 4 Jul 2024 16:24:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1720103051; bh=afLZAYixHS9jzi027kFFeB+TQ60RLk9choA6+FBD2bY=; h=From:To:Cc:Subject:Date:From; b=fWwZYjOLGLMmeQfM0zYbUV3jpuDbPFjQB9GOJuL5NhfNmWi1KCPrqlxQ8Xy8m5UMW kL1sBzjAzWf9CG8jxufEGOetQ14vYH0o88esVd2MPbKGeU61m42HI1l2D1Mdtz0hHu hUyjxtUOgNotB+Hu2Uyd7MGdL4QGtPyaB0696MBTvqlKWR/fqKhDGCvzDkX/WhE2T4 uByyaxWcdW0tnrC6WAOQVqXpT4Ptm2bzAUJe6eWFhR6hcnL+8VnGXCdFUSB1lgP/8w Bse/a+lZy1QMy5tRErg9tTkLCvJM9Ru1qCBqgVWikqvNh0EitUnf+WOvQzvOtdd7aY yOKU8PYm84lqw== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8404.netcup.net (Postfix) with ESMTPS id 4WFJmq2hSNz4xtf for ; Thu, 4 Jul 2024 16:24:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4WFJmn0ZGQz8t4J for ; Thu, 4 Jul 2024 16:24:08 +0200 (CEST) Received: from florianhp.fritz.box (ipb2186896.dynamic.kabel-deutschland.de [178.24.104.150]) by mxe217.netcup.net (Postfix) with ESMTPSA id 586C384032; Thu, 4 Jul 2024 16:24:03 +0200 (CEST) From: Florian Pelz Date: Thu, 4 Jul 2024 16:22:38 +0200 Message-ID: <8b8be3032e77e3b0ad1a224aa819663f2fcfe9fb.1720102754.git.pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 586C384032 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: RPbsUvd4d9jSt8zhaU0xsTiz3QcOO6iz8ejNfKQoRK/IWfORBnXTZEw7 Received-SPF: pass client-ip=46.38.247.119; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.59 X-Spam-Score: -1.59 X-Migadu-Queue-Id: 22A3767680 X-Migadu-Scanner: mx11.migadu.com X-TUID: xqfHS8X1iKVd fdisk as documented upstream does *not* work and breaks boot on 4 microSD cards that I tried. * gnu/system/images/visionfive2.scm: Add comment. [visionfive2-barebones-os]: Add `parted'. Remove not generally useful `cloud-utils', 'neofetch' packages. Change-Id: Ibcb6fd70e3ecc194187c4e882e983740349960cc --- gnu/system/images/visionfive2.scm | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/gnu/system/images/visionfive2.scm b/gnu/system/images/visionfive2.scm index 26f70afbc1..731fd8fa47 100644 --- a/gnu/system/images/visionfive2.scm +++ b/gnu/system/images/visionfive2.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Florian Pelz ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,19 +20,13 @@ (define-module (gnu system images visionfive2) #:use-module (gnu bootloader) #:use-module (gnu bootloader u-boot) - #:use-module (gnu services dbus) - #:use-module (gnu services dns) - #:use-module (gnu services avahi) - #:use-module (gnu services shepherd) #:use-module (gnu services ssh) #:use-module (gnu services networking) #:use-module (gnu image) - #:use-module (gnu packages linux) #:use-module (guix packages) + #:use-module (gnu packages disk) #:use-module (gnu packages ssh) - #:use-module (gnu packages guile-xyz) - #:use-module (gnu packages admin) #:use-module (gnu services) #:use-module (gnu services base) #:use-module (gnu services networking) @@ -54,6 +49,10 @@ (define-module (gnu system images visionfive2) ;;; uboot> setenv fdtfile starfive/jh7110-starfive-visionfive-2-v1.3b.dtb ;;; uboot> saveenv ;;; +;;; Use parted and resize2fs to enlarge the root partition. While StarFive +;;; recommends using fdisk and not parted in their Quick Start Guide, for +;;; this Guix System image, this would give us an unbootable state. +;;; ;;; Code: (define visionfive2-barebones-os @@ -71,7 +70,7 @@ (define visionfive2-barebones-os %base-file-systems)) (kernel-arguments (list "earlycon" "clk_ignore_unused")) (firmware '()) - (packages (append (list cloud-utils neofetch) %base-packages)) + (packages (append (list parted) %base-packages)) (services (append (list (service openssh-service-type (openssh-configuration base-commit: 3979812d4923e980f0069ad99332e2df7c033769 -- 2.45.2