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 Feb 29, 2024
1 parent b17c140 commit 2ded754
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 2ded754

Please sign in to comment.