diff options
Diffstat (limited to 'libc/ci/linux-sparc64.sh')
-rw-r--r-- | libc/ci/linux-sparc64.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/ci/linux-sparc64.sh b/libc/ci/linux-sparc64.sh new file mode 100644 index 0000000..33a3c46 --- /dev/null +++ b/libc/ci/linux-sparc64.sh @@ -0,0 +1,17 @@ +set -ex + +mkdir -m 777 /qemu +cd /qemu + +curl -LO https://cdimage.debian.org/cdimage/ports/debian-9.0-sparc64-NETINST-1.iso +7z e debian-9.0-sparc64-NETINST-1.iso boot/initrd.gz +7z e debian-9.0-sparc64-NETINST-1.iso boot/sparc64 +mv sparc64 kernel +rm debian-9.0-sparc64-NETINST-1.iso + +mkdir init +cd init +gunzip -c ../initrd.gz | cpio -id +rm ../initrd.gz +cp /usr/sparc64-linux-gnu/lib/libgcc_s.so.1 usr/lib/ +chmod a+w . |