Skip to content

add s390x Architecture support for alpine-make-vm-image.#52

Open
vamsikrishna-siddu wants to merge 1 commit intoalpinelinux:masterfrom
vamsikrishna-siddu:add_support_s390x
Open

add s390x Architecture support for alpine-make-vm-image.#52
vamsikrishna-siddu wants to merge 1 commit intoalpinelinux:masterfrom
vamsikrishna-siddu:add_support_s390x

Conversation

@vamsikrishna-siddu
Copy link
Copy Markdown

Resolves: #43

@vamsikrishna-siddu vamsikrishna-siddu force-pushed the add_support_s390x branch 3 times, most recently from b1f5600 to b73f887 Compare November 3, 2025 04:30
Comment thread alpine-make-vm-image Outdated
@vamsikrishna-siddu
Copy link
Copy Markdown
Author

@jirutka can you please take a look at this pr?

@vamsikrishna-siddu vamsikrishna-siddu force-pushed the add_support_s390x branch 5 times, most recently from a82e593 to fcee290 Compare December 8, 2025 13:16
@nekkunti
Copy link
Copy Markdown

nekkunti commented Dec 8, 2025

@jirutka Did you get chance to look into this PR

Copy link
Copy Markdown

@merlachandra merlachandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just added nit comments

Comment thread README.adoc
Comment on lines +121 to +132
sudo ./alpine-make-vm-image \
--arch s390x \
--image-format qcow2 \
--image-size 2G \
--branch v3.19 \
--serial-console \
-k lts \
--packages "$(cat example/packages)" \
--fs-skel-dir example/rootfs \
--fs-skel-chown root:root \
--script-chroot alpine-s390x-$(date +%Y-%m-%d).qcow2 \
-- ./example/configure.sh
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can put this in to avoid to be displayed as single line:

Suggested change
sudo ./alpine-make-vm-image \
--arch s390x \
--image-format qcow2 \
--image-size 2G \
--branch v3.19 \
--serial-console \
-k lts \
--packages "$(cat example/packages)" \
--fs-skel-dir example/rootfs \
--fs-skel-chown root:root \
--script-chroot alpine-s390x-$(date +%Y-%m-%d).qcow2 \
-- ./example/configure.sh
[source,sh]
----
sudo ./alpine-make-vm-image \
--arch s390x \
--image-format qcow2 \
--image-size 2G \
--branch v3.19 \
--serial-console \
-k lts \
--packages "$(cat example/packages)" \
--fs-skel-dir example/rootfs \
--fs-skel-chown root:root \
--script-chroot alpine-s390x-$(date +%Y-%m-%d).qcow2 \
-- ./example/configure.sh
----

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread alpine-make-vm-image
6165ee59:MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAutQkua2CAig4VFSJ7v54\nALyu/J1WB3oni7qwCZD3veURw7HxpNAj9hR+S5N/pNeZgubQvJWyaPuQDm7PTs1+\ntFGiYNfAsiibX6Rv0wci3M+z2XEVAeR9Vzg6v4qoofDyoTbovn2LztaNEjTkB+oK\ntlvpNhg1zhou0jDVYFniEXvzjckxswHVb8cT0OMTKHALyLPrPOJzVtM9C1ew2Nnc\n3848xLiApMu3NBk0JqfcS3Bo5Y2b1FRVBvdt+2gFoKZix1MnZdAEZ8xQzL/a0YS5\nHd0wj5+EEKHfOd3A75uPa/WQmA+o0cBFfrzm69QDcSJSwGpzWrD1ScH3AK8nWvoj\nv7e9gukK/9yl1b4fQQ00vttwJPSgm9EnfPHLAtgXkRloI27H6/PuLoNvSAMQwuCD\nhQRlyGLPBETKkHeodfLoULjhDi1K2gKJTMhtbnUcAA7nEphkMhPWkBpgFdrH+5z4\nLxy+3ek0cqcI7K68EtrffU8jtUj9LFTUC8dERaIBs7NgQ/LfDbDfGh9g6qVj1hZl\nk9aaIPTm/xsi8v3u+0qaq7KzIBc9s59JOoA8TlpOaYdVgSQhHHLBaahOuAigH+VI\nisbC9vmqsThF2QdDtQt37keuqoda2E6sL7PUvIyVXDRfwX7uMDjlzTxHTymvq2Ck\nhtBqojBnThmjJQFgZXocHG8CAwEAAQ==
58199dcc:MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA3v8/ye/V/t5xf4JiXLXa\nhWFRozsnmn3hobON20GdmkrzKzO/eUqPOKTpg2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G9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvBxJN9ErBgdRcPr5g4hVqyUSGZEKuvQliq2Z9SRHLh2J43+EdB6A+yzVvLnzcHVpBJ+BZ9RV30EM9guck9shr+bryZcRHyjG2wiIEoduxF2a8KeWeQH7QlpwGhuobo1+gA8L0AGImiA6UP3LOirlI0G2+iaKZowME8/tydww4jx5vG132JCOScMjTalRsYZYJcjFbebQQolpqRaGB4iGWqhytWQGWuKiB1A22wjmIYf3t96l1Mp+FmM2URPxD1gk/BIBnX7ew+2gWppXOK9j1BJpo0/HaX5XoZ/uMqISAAtgHZAqq+g3IUPouxTphgYQRTRYpz2COw3NF43VYQrRbQIDAQAB
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can update the comment above this section

Alpine APK keys for verification of packages for x86_64 and aarch64.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Comment thread alpine-make-vm-image Outdated
Comment on lines +677 to +682
default=alpine
target=/boot
targetbase=$disk_dev
targettype=scsi
targetblocksize=512
targetoffset=0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent this as you did for [alpine] section below

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@vamsikrishna-siddu vamsikrishna-siddu force-pushed the add_support_s390x branch 2 times, most recently from 63804dc to dd7ab8d Compare December 10, 2025 04:42
Co-Authored-By: Anand Nekkunti <anand.nekkunti@ibm.com>

Signed-off-by: Vamsi Krishna Siddu <vamsikrishna.siddu@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

is it possible to build image for s390x architecture?

3 participants