mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-28 13:46:33 +00:00
patch: setup virtual drive on linux
This commit is contained in:
parent
801a3e1fa9
commit
fbbd187379
1
.github/actions/test/action.yml
vendored
1
.github/actions/test/action.yml
vendored
@ -115,6 +115,7 @@ runs:
|
|||||||
sudo modprobe nbd
|
sudo modprobe nbd
|
||||||
sudo nbdkit memory 4G
|
sudo nbdkit memory 4G
|
||||||
sudo nbd-client localhost /dev/nbd0
|
sudo nbd-client localhost /dev/nbd0
|
||||||
|
dmsg | grep nbd
|
||||||
echo "TARGET_DRIVE=${/dev/nbd0}" >> $GITHUB_ENV
|
echo "TARGET_DRIVE=${/dev/nbd0}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Test release
|
- name: Test release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user