-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to specify UUID and LABEL? #261
Comments
@goldyfruit you could use LABEL with following hcl code: image_partitions {
name = "boot"
type = "c"
start_sector = "2048"
filesystem = "fat"
filesystem_make_options = ["-n", "BOOT"]
size = "256M"
mountpoint = "/boot"
}
image_partitions {
name = "root"
type = "83"
start_sector = "526336"
filesystem = "ext4"
filesystem_make_options = ["-L", "ROOT"]
size = "0" # means up to image size??
mountpoint = "/"
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I saw #251 and I was wondering if there is a way to set
LABEL
and aUUID
on the created partition.For example, if I build two images based on the Raspberry Pi OS, my two builds will have the
PARTUUID
,UUID
andLABEL
which could lead to some unexpected behaviours.Thanks for your help 👍
The text was updated successfully, but these errors were encountered: