Skip to content
Snippets Groups Projects
Commit 4cc94ff4 authored by ab0027's avatar ab0027 :speech_balloon:
Browse files

Clone ZynthianOS before trying to move image to dir

parent f155dae1
No related branches found
No related tags found
No related merge requests found
Pipeline #12799 failed
......@@ -27,17 +27,17 @@ build-zynthbox-image-armhf:
- apt-get update
- apt-get install -y coreutils p7zip-full qemu-user-static sudo git wget curl python3 lsof fdisk xz-utils openssh-client jq zip binutils
# Clone repositories required to generate zynthbox image
- echo "# Clone repositories required to generate zynthbox image"
- git clone https://github.com/zynthbox/CustomPiOS.git
- git clone https://github.com/zynthbox/ZynthianOS.git
# Download raspios base image
- wget -c --trust-server-names 'https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2024-03-15/2024-03-15-raspios-bookworm-armhf-lite.img.xz' -O ./raspios-${debian_release_name}-armhf-lite.img.xz
- xz -dv ./raspios-${debian_release_name}-armhf-lite.img.xz
- zip ./raspios-${debian_release_name}-armhf-lite.img.zip ./raspios-${debian_release_name}-armhf-lite.img
- mv ./raspios-${debian_release_name}-armhf-lite.img.zip ./ZynthianOS/src/image
# Clone repositories required to generate zynthbox image
- echo "# Clone repositories required to generate zynthbox image"
- git clone https://github.com/zynthbox/CustomPiOS.git
- git clone https://github.com/zynthbox/ZynthianOS.git
# Setup Zynthbox Repo sourceline
- echo "# Setup Zynthbox Repo sourceline"
- echo "ZYNTHIANOS_ZYNTHBOX_REPO_KEY_URL='https://repo.zynthbox.io/repo_key.pub'" >> ZynthianOS/src/modules/zynthianos/config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment