StepBee commented on code in PR #9437:
URL: https://github.com/apache/cloudstack/pull/9437#discussion_r1689371337


##########
tools/appliance/systemvmtemplate/template-base_x86_64-target_aarch64.json:
##########
@@ -0,0 +1,91 @@
+{
+  "_license": "Apache License 2.0",
+  "builders": [
+    {
+      "boot_command": [
+        "c<wait>",
+        "linux /install.a64/vmlinuz <wait>",
+        "preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed_aarch64.cfg 
<wait>",
+        "debian-installer=en_US.UTF-8 <wait>",
+        "auto <wait>",
+        "language=en locale=en_US.UTF-8 <wait>",
+        "kbd-chooser/method=us <wait>",
+        "keyboard-configuration/xkb-keymap=us <wait>",
+        "netcfg/get_hostname=systemvm <wait>",
+        "netcfg/get_domain=apache.org <wait>",
+        "country=IN keymap=us <wait>",
+        "fb=false <wait>",
+        "debconf/frontend=noninteractive <wait>",
+        "console-setup/ask_detect=false <wait>",
+        "console-keymaps-at/keymap=us <wait>",
+       "---",
+        "<enter><wait>",
+       "initrd /install.a64/initrd.gz",
+       "<enter><wait>",
+       "boot<enter><wait>"
+      ],
+      "boot_wait": "60s",
+      "disk_interface": "virtio",
+      "cdrom_interface": "virtio-scsi",
+      "disk_size": "5000M",
+      "format": "qcow2",
+      "headless": true,
+      "http_directory": "http",
+      "iso_checksum": 
"sha512:4980197fa30646a43df2672d98500a182d6636422e39e809d986551356f4d24b1ffab6d745331369b27f2e9a5326f020ba141df5772ac2c6328c08cce73de7e8",
+      "iso_url": 
"https://cdimage.debian.org/mirror/cdimage/archive/11.10.0/arm64/iso-cd/debian-11.10.0-arm64-netinst.iso";,
+      "net_device": "virtio-net",
+      "output_directory": "../dist",
+      "qemu_binary": "qemu-system-aarch64",

Review Comment:
   So we are on the same OS and same Version.
   
   I am executing the build process as root user, where i see jenkins is using 
user ubuntu
   
   To check we are using the same file
   ```
   # ls -al /usr/share/AAVMF/AAVMF_CODE.fd
   -rw-r--r-- 1 root root 67108864 Feb 14 00:52 /usr/share/AAVMF/AAVMF_CODE.fd
   # md5sum /usr/share/AAVMF/AAVMF_CODE.fd
   9a385b6b7377ea8c3fad4a3ad72564a3  /usr/share/AAVMF/AAVMF_CODE.fd
   ```
   
   Could you try to copy AAVMF_CODE.fd to a second file and refer to it in a 
second pflash parameter in the template json like
   `cp /usr/share/AAVMF/AAVMF_CODE.fd /usr/share/AAVMF/AAVMF_CODE_2.fd`
   and in
   template-base_x86_64-target_aarch64.json
   below the existing line:
   `[ "-pflash", "/usr/share/AAVMF/AAVMF_CODE.fd" ],`
   you add a second pflash line like:
   `[ "-pflash", "/usr/share/AAVMF/AAVMF_CODE_2.fd" ],`
   
   and see if this actually makes a difference?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to