From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id D13/MEdkf2J6SAEAbAwnHQ (envelope-from ) for ; Sat, 14 May 2022 10:11:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YF8GMEdkf2K5NQAA9RJhRA (envelope-from ) for ; Sat, 14 May 2022 10:11:51 +0200 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 6A70323A42 for ; Sat, 14 May 2022 10:11:51 +0200 (CEST) Received: from localhost ([::1]:53674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npmsQ-0006ym-AZ for larch@yhetil.org; Sat, 14 May 2022 04:11:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npeHP-0004QZ-G3 for bug-guix@gnu.org; Fri, 13 May 2022 19:01:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51393) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npeHP-0005ZI-78 for bug-guix@gnu.org; Fri, 13 May 2022 19:01:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1npeHP-0007FS-5w for bug-guix@gnu.org; Fri, 13 May 2022 19:01:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55406: GUIX Image API: wrong fs type and flag Resent-From: Pavel Shlyak Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 13 May 2022 23:01:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55406 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55406@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165248283127788 (code B ref -1); Fri, 13 May 2022 23:01:03 +0000 Received: (at submit) by debbugs.gnu.org; 13 May 2022 23:00:31 +0000 Received: from localhost ([127.0.0.1]:45288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npeGs-0007Dx-Bh for submit@debbugs.gnu.org; Fri, 13 May 2022 19:00:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:47498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1npd7n-0004uo-Ir for submit@debbugs.gnu.org; Fri, 13 May 2022 17:47:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npd7n-0003xf-C9 for bug-guix@gnu.org; Fri, 13 May 2022 17:47:03 -0400 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:45982) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1npd7l-0005rd-VV for bug-guix@gnu.org; Fri, 13 May 2022 17:47:03 -0400 Received: by mail-ed1-x52e.google.com with SMTP id be20so11352669edb.12 for ; Fri, 13 May 2022 14:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=TLmK96nxre60q2+vyAfDEHs6NN957oxrW8ESbYmsH1E=; b=aWv5QmWjqVol94WxyQrd8Fh2uPAAGwe8Buf0vsKF0brN8O/utNflgiRqJconmv6od+ kkkOyVYgU/SEglL31WR6nDssdjORnJ0njMJ9xvLMDmxW9fXzQLuafnag16WvGZBcAgah db9pldAbnU+SlBMLOs1cXzjrsg9KQ4irpKMDedAp8U1ldjviF1nBdHrM9K/Yqg7/rOdN iimUphy/THj98Qjz8G5G15J1wsNEUx1ys6nVrgtuv6a4bFNtFGq4zfo7qwYxULvnTLrp q5T0DGT+sz34kFkscQNd7fZhVtpm3/i0fgZfQtnHrFR7cbK6SShee0iIIL/Rha2JrTJa K1sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=TLmK96nxre60q2+vyAfDEHs6NN957oxrW8ESbYmsH1E=; b=innbJSFATu9IrPmnUYWqowhe9hDs6LJrY3LqLuwT1rVZZm4m268BOmKQ1uebEfqxNG zbg8/VvsSIXHEIHVYTVrrhV9GVh9arQBRUScL4bPelwjJBIK8hCs6olJ7dOdcJICFvat u3yGcDejeh3ME4czQIvMeNW+pu0Hw+QpOAR6yCExX+V4pq8iLm4pVoceceDHkKqqFTkQ 4YHMywGVZrut8ZD0l7mQ6NkY/ohY5s2UQvFcT2Hd+yN2kUMK5y2VkPKeYQNdBHqWXryq JOrvX3HzJ4MDRo+/f0+pZrh57CdL/ddLfrsy4kMQ1O2x36WvPGlfMXsjD5uQ1B3NNgbO m7ug== X-Gm-Message-State: AOAM5339ZjKuscbyupU05KBnmHO+F4cD5l4B3bplLrtUwDK2Rw4lwJQS jllSOWoImBpd1DHQpEVOTz1pzcZ7lkX/mzDd X-Google-Smtp-Source: ABdhPJyGSWP3WKprSzozZwwj0x1fhaUEf5lz87FNrQKC0bBny310qDK+SMslYpa7IYbV4tmDF9VDxg== X-Received: by 2002:a05:6402:1a34:b0:425:ca01:58ec with SMTP id be20-20020a0564021a3400b00425ca0158ecmr677143edb.373.1652478420209; Fri, 13 May 2022 14:47:00 -0700 (PDT) Received: from smtpclient.apple ([31.141.85.74]) by smtp.gmail.com with ESMTPSA id c18-20020aa7c992000000b0042617ba63d2sm1386046edt.92.2022.05.13.14.46.58 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 May 2022 14:46:59 -0700 (PDT) From: Pavel Shlyak Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Message-Id: <3078A40B-22B0-4492-BFD2-72D725F31689@gmail.com> Date: Sat, 14 May 2022 00:46:57 +0300 X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=shlyakpavel@gmail.com; helo=mail-ed1-x52e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 13 May 2022 19:00:29 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 14 May 2022 04:09:24 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652515911; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=TLmK96nxre60q2+vyAfDEHs6NN957oxrW8ESbYmsH1E=; b=i56BVIj6xqJ8JR5nceh4epG3+PuqRHtlKvQ95+thZzM17F+eAtRpKPs44eBUYkNxsw3R2H ENGGwqCPysHZPe6s3PTXGEB8s62IZozISh9ARUpuO9PKTrcgLBiq00VKT/dr4lb/+13l36 C1E4s+ujaFERUXrxExwiTou8sVYW/gaPEleDIkfioo90dWXPtMV1+N2WrbxPixA4zVSi5N n0EKzBA19Cq2s3kDP+u1jgtWmIrGc93Xnvw1I0ZbiAqBnAyqWRubswLzQdcCU5yB78/Bb2 xHG6lbw41lKAX/v7A4lKQiN1IPzS9XVLlopCNpVkMoNNb+hqTFB2ZlO2UChv2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652515911; a=rsa-sha256; cv=none; b=P/qlqm/LXm/wLkMJL3jMYJGD57Q57Jg8r33xBXzWI3kdWFYeMJDPN3nfysLLvA5TGPeaiQ V6hvPqr1d//9zTAjxm8wgprBIivgrJ6SLVR4ITiNMNbaMcs4nMwiu+bvx2B6MbCjCtQSux smykrhInjpY3XhqqeWgPi/3JVN4pDjb7IQInxoyFeij/q5gLuB9knaIThrraCbJ24WZuOd 8dIFJyLWoy4VEbW1ra4e3rC1X9P8LgoNgP+UoZ9N6FyjGr4nlMsbXDVxImUttmgyh6WaqH imYcd0ZJ90SrTITMnBUa22lfel7AjSRvYsZAZ4ipnLlqUeY1shX18eOtYcqnyg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aWv5QmWj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aWv5QmWj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6A70323A42 X-Spam-Score: 5.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: ko5oNI4b7SU7 I have a scheme code like (define rpi-boot-partition (partition (size (* 128 (expt 2 20))) (label "BOOT") (file-system "vfat") (flags '()) (initializer (gexp initialize-efi-partition)))) (define rpi-root-partition (partition (size 'guess) (label "RASPIROOT") (file-system "ext4") (flags '(boot)) (initializer (gexp initialize-root-partition)))) (define raspberry-pi-image (image (format 'disk-image) (partitions (list rpi-boot-partition rpi-root-partition)))) The output is like that: $ fdisk -l = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge Device Boot Start End Sectors Size Id Type = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge1 1 262144 262144 128M 83 Linux = /gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-ima= ge2 262145 3583688 3321544 1.6G 83 Linux=09 No boot flag is set on the first partition. The file system seems to be = incorrect (ext* instead of vfat)=