Skip to content

Commit

Permalink
flatcar: switch to loop device /dev/loop7
Browse files Browse the repository at this point in the history
Recent versions of flatcar do not have loop0 device created, which causes the build to fail. This change makes the script use loop7, which is pre-created and free.
  • Loading branch information
kshitizbakshi authored and shivamerla committed Mar 25, 2024
1 parent e37ec0b commit 32356f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flatcar/nvidia-driver
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ _install_development_env() {
local offset_limit=$((sector_start * sector_size))

mkdir -p /mnt/coreos
local loop_dev="/dev/loop0"
local loop_dev="/dev/loop7"
_exec mount -o loop=${loop_dev},offset=${offset_limit} ${dev_image} /mnt/coreos

# add more space to the device
Expand Down

0 comments on commit 32356f3

Please sign in to comment.