[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27735: Unbootable images with GuixSD on... "GuixSD"
From: |
Danny Milosavljevic |
Subject: |
bug#27735: Unbootable images with GuixSD on... "GuixSD" |
Date: |
Wed, 19 Jul 2017 21:11:07 +0200 |
Hi Ludo,
I think it's a good interim solution.
On Tue, 18 Jul 2017 13:49:01 +0200
address@hidden (Ludovic Courtès) wrote:
> + (define root-uuid
> + ;; UUID of the root file system, computed in a deterministic fashion.
> + (if (string=? "iso9660" file-system-type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> + (let ((pad (compose (cut string-pad <> 2 #\0)
> + number->string)))
> + (string->iso9660-uuid
> + (string-append "1970-01-01-"
> + (pad (hash name 24))
> + (pad (hash file-system-type 60))
^^^^^^^^^^^^^^^^^^^^^^^^^^ hmm... isn't that
constant?
- bug#27735: [PATCH 1/2] build, vm: Use a slightly less generic label., (continued)
bug#27735: Unbootable images with GuixSD on... "GuixSD", Danny Milosavljevic, 2017/07/17
bug#27735: Unbootable images with GuixSD on... "GuixSD",
Danny Milosavljevic <=
bug#27735: Lookup by UUID, Ludovic Courtès, 2017/07/19
bug#27735: Lookup by UUID, Danny Milosavljevic, 2017/07/20
bug#27735: Lookup by UUID, Ludovic Courtès, 2017/07/20
bug#27735: Lookup by UUID, Danny Milosavljevic, 2017/07/20