emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#55405: closed (Image API produces incorrect images)


From: GNU bug Tracking System
Subject: bug#55405: closed (Image API produces incorrect images)
Date: Mon, 23 May 2022 08:31:02 +0000

Your message dated Mon, 23 May 2022 10:30:23 +0200
with message-id <878rqslkgw.fsf_-_@gnu.org>
and subject line Re: bug#55406: GUIX Image API: wrong fs type and flag
has caused the debbugs.gnu.org bug report #55406,
regarding Image API produces incorrect images
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
55406: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55406
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Image API produces incorrect images Date: Sat, 14 May 2022 00:19:58 +0300
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-image
Device                                                                        
Boot  Start     End Sectors  Size Id Type
/gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-image1   
        1  262144  262144  128M 83 Linux
/gnu/store/hnsfs5a161f5hvymg7ar541qrml62yvv-raspberry-pi-barebones-raw-image2   
   262145 3583688 3321544  1.6G 83 Linux        

No boot flag is set on the first partition. The file system seems to be 
incorrect (ext* instead of vfat)


--- End Message ---
--- Begin Message --- Subject: Re: bug#55406: GUIX Image API: wrong fs type and flag Date: Mon, 23 May 2022 10:30:23 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello Pavel,

> Ok, I tried to format them :)

Thanks, I added commit messages following our guidelines, fixed the
indentation and a few other small details.

Pushed on master!

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]