Skip to content

Commit 2d088ec

Browse files
committed
updated partition type linux-root-arm64
1 parent fda66f0 commit 2d088ec

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

config/osv/azure-linux/azl3/imageconfigs/defaultconfigs/default-raw-x86_64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ systemConfig:
5959
provider: systemd-boot # (grub for efi and legacy mode, or systemd-boot for efi mode)
6060

6161
immutability:
62-
enabled: true # default is true
62+
enabled: false # default is true
6363

6464
packages:
6565
- filesystem

image-templates/azl3-x86_64-edge-raw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ systemConfig:
3434
description: Default yml configuration for edge image
3535

3636
immutability:
37-
enabled: true
37+
enabled: false
3838
# To enable Secure Boot, provide the actual file paths for your environment below and uncomment the relevant lines.
3939
# secureBootDBKey: "<SECURE_BOOT_DB_KEY_PATH>"
4040
# secureBootDBCrt: "<SECURE_BOOT_DB_CRT_PATH>"

internal/image/imagedisc/imagedisc.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ var partitionTypeNameToGUID = map[string]string{
6868
"esp": "c12a7328-f81f-11d2-ba4b-00a0c93ec93b",
6969
"xbootldr": "bc13c2ff-59e6-4262-a352-b275fd6f7172",
7070
"linux-root-amd64": "4f68bce3-e8cd-4db1-96e7-fbcaf984b709",
71+
"linux-root-arm64": "b921b045-1df0-41c3-af44-4c6f280d3fae",
7172
"linux-swap": "0657fd6d-a4ab-43c4-84e5-0933c84b4f4f",
7273
"linux-home": "933ac7e1-2eb4-4f13-b844-0e14e2aef915",
7374
"linux-srv": "3b8f8425-20e0-4f3b-907f-1a25a76f98e8",

internal/image/imageos/imageos.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,10 @@ func buildUKI(installRoot, kernelPath, initrdPath, cmdlineFile, outputPath strin
12421242
log.Errorf("non-immutable: Failed to build UKI: %v failing command %s", err, cmd)
12431243
err = fmt.Errorf("failed to build UKI: %w", err)
12441244
}
1245+
else {
1246+
log.Infof("non-immutable: Successfully built UKI: %v command %s", err, cmd)
1247+
}
1248+
12451249
}
12461250
return err
12471251
}

0 commit comments

Comments
 (0)