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

Setup loop devices in tmp dir

parent bf679dc1
No related branches found
No related tags found
No related merge requests found
Pipeline #7297 failed
...@@ -2,6 +2,15 @@ stages: ...@@ -2,6 +2,15 @@ stages:
- build - build
- publish - publish
# Setup loop devices in tmp dir
.setup-loop-devices: &setup-loop-devices
- mkdir -p /tmp/dev
- mount -t devtmpfs none /tmp/dev
- for i in $(seq 0 9); do
- mknod -m 0660 "/tmp/dev/loop$i" b 7 "$i"
- done
build-zynthbox-image-armhf: build-zynthbox-image-armhf:
tags: tags:
- arm64 - arm64
...@@ -11,6 +20,8 @@ build-zynthbox-image-armhf: ...@@ -11,6 +20,8 @@ build-zynthbox-image-armhf:
paths: paths:
- ./build/*.img.xz - ./build/*.img.xz
expire_in: 1 day expire_in: 1 day
before_script:
- *setup-loop-devices
script: script:
- image_name="zynthbox_rpi4_buster_$(date "+%F_%H%M").img" - image_name="zynthbox_rpi4_buster_$(date "+%F_%H%M").img"
- log_file_name="$image_name.build.log" - log_file_name="$image_name.build.log"
......
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