Skip to content

Commit 110a8c6

Browse files
blucaDaanDeMeyer
authored andcommitted
repart: use CopyFiles= instead of CopyBlocks= for ESP
CopyBlocks copies the UUID, which has to be unique per ESP, as it is used to discover the GPT disk that we booted from
1 parent 2bd9335 commit 110a8c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mkosi.extra/usr/lib/repart.d/00-esp.conf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
[Partition]
44
Type=esp
5-
CopyBlocks=auto
5+
Format=vfat
6+
CopyFiles=/boot:/
7+
SizeMinBytes=1G
8+
SizeMaxBytes=1G

0 commit comments

Comments
 (0)