Skip to content

Commit cac77a6

Browse files
chalamalasettyYour Name
andauthored
Update Arm64 64k ISO to produce with 6.12 HWE kernel (#14592)
Co-authored-by: Your Name <you@example.com>
1 parent 32ae4cb commit cac77a6

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

toolkit/imageconfigs/files/imagecustomizer/isoinstaller/README.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
The ISO installer uses an attended_config.json file, generated by the toolkit from a configuration file,
22
to facilitate OS installation. Imagecustomizer relies on the ISO installer and requires all necessary files
33
including imager, liveinstaller, package list files, and attended_config.json to be present for ISO creation.
4-
Currently, manual intervention is necessary to update attended_config.json for Azure Linux 64k ISO (attended_config_aarch64_64k.json).
5-
Please note, each package json file should be included under both the ISO and OS sections in the imageconfigs/full-64k-arm64.yaml file.
4+
Currently, manual intervention is necessary to update attended_config.json for Azure Linux 64k HWE ISO (attended_config_aarch64_64k_hwe.json).
5+
Please note, each package json file should be included under both the ISO and OS sections in the imageconfigs/full-64k-hwe-arm64.yaml file.
66
This will ensure generation of all required RPM packages for ISO installer.
77
In the future, the Image Customizer tool will support fully automated end-to-end creation of the installer iso.
8-
For guidance on configuring attended_config_aarch64_64k.json, users should reference toolkit/imageconfigs/full-aarch64.json.
8+
For guidance on configuring attended_config_aarch64_64k_hwe.json, users should reference toolkit/imageconfigs/full-aarch64.json.
99
Image Customizer tool requires that all necessary RPM packages for the target OS installation are available in the /RPMS directory.
1010
To obtain RPM packages from PMC, users may refer to the following sample post-installation script, which should be updated in
1111
`imageconfigs/postinstallscripts/imagecustomizer/isoinstaller_postinstalltask.sh`.
1212

13-
# Sample post installation script for retrieving RPM Packages from PMC for Arm64 64K ISO Installer
13+
# Sample post installation script for retrieving RPM Packages from PMC for Arm64 64K HWE ISO Installer
1414
# isoinstaller_postinstalltask.sh
1515

1616
# Create RPMS directory

toolkit/imageconfigs/files/imagecustomizer/isoinstaller/attended_config_aarch64_64k.json renamed to toolkit/imageconfigs/files/imagecustomizer/isoinstaller/attended_config_aarch64_64k_hwe.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"Packages": null,
2424
"KernelOptions": {
25-
"default": "kernel-64k"
25+
"default": "kernel-hwe"
2626
},
2727
"KernelCommandLine": {
2828
"CGroup": "",
@@ -75,7 +75,7 @@
7575
],
7676
"Packages": null,
7777
"KernelOptions": {
78-
"default": "kernel-64k"
78+
"default": "kernel-hwe"
7979
},
8080
"KernelCommandLine": {
8181
"CGroup": "",
@@ -133,7 +133,7 @@
133133
],
134134
"Packages": null,
135135
"KernelOptions": {
136-
"default": "kernel-64k"
136+
"default": "kernel-hwe"
137137
},
138138
"KernelCommandLine": {
139139
"CGroup": "",

toolkit/imageconfigs/full-64k-arm64.yaml renamed to toolkit/imageconfigs/full-64k-hwe-arm64.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ os:
3737

3838
packages:
3939
install:
40-
- kernel-64k
41-
- kernel-64k-drivers-accessibility
42-
- kernel-64k-drivers-sound
40+
- kernel-hwe
41+
- kernel-hwe-drivers-accessibility
42+
- kernel-hwe-drivers-sound
4343
- createrepo_c
4444
- jq
4545
# iso required packages
@@ -49,7 +49,7 @@ os:
4949
- curl
5050

5151
installLists:
52-
- packagelists/isoinstaller-64k-packages.yaml
52+
- packagelists/isoinstaller-64k-hwe-packages.yaml
5353

5454
remove:
5555
- kernel
@@ -97,7 +97,7 @@ os:
9797
destination: /config/packages/virt-guest-packages.json
9898
- source: packagelists/ssh-server.json
9999
destination: /config/packages/ssh-server.json
100-
- source: files/imagecustomizer/isoinstaller/attended_config_aarch64_64k.json
100+
- source: files/imagecustomizer/isoinstaller/attended_config_aarch64_64k_hwe.json
101101
destination: /config/attended_config.json
102102

103103
additionalDirs:
@@ -116,9 +116,9 @@ scripts:
116116
- path: scripts/set_os_release_variant_entries.sh
117117
arguments:
118118
- --variant-id
119-
- full-64k
119+
- full-64k-hwe
120120
- --variant
121-
- ISO installer for 64k Kernel
121+
- ISO installer for 64k HWE Kernel
122122

123123
iso:
124124
additionalFiles:
@@ -140,7 +140,7 @@ iso:
140140
destination: /config/packages/virt-guest-packages.json
141141
- source: packagelists/ssh-server.json
142142
destination: /config/packages/ssh-server.json
143-
- source: files/imagecustomizer/isoinstaller/attended_config_aarch64_64k.json
143+
- source: files/imagecustomizer/isoinstaller/attended_config_aarch64_64k_hwe.json
144144
destination: /config/attended_config.json
145145

146146
output:

toolkit/imageconfigs/packagelists/isoinstaller-64k-packages.yaml renamed to toolkit/imageconfigs/packagelists/isoinstaller-64k-hwe-packages.yaml

File renamed without changes.

0 commit comments

Comments
 (0)