Skip to contentSkip to conversation

Ability to set a Disk GUID for wic image

DISCUSSION [email protected] 1 participant 1 message Jan 17, 2024

lore
Share & tools
lore
#0 lore raw

I am trying to generate reproducible wic images. I see that the Disk GUID is changing between builds. On seeing the wic imager source file (direct.py), i noticed that the disk identifier is set based on the "SOURCE_DATE_EPOCH" environment variable (https://github.com/openembedded/openembedded-core/blob/f46a211108854b4dabac0336cdcb2cf7b003d7cd/scripts/lib/wic/plugins/imager/direct.py#L316). However i don't see a disk GUID being set for the disk.

I don't see a way to set a disk GUID using a .wks file either. Would like to know if i am missing something.