orangepi-build
orangepi-build copied to clipboard
SD Card image does not build.
On yesterday's -next branch checkout at least. And won't, in my understanding of how /dev/loop Linux interface works: code in scripts/debootstrap.sh line 626 is incorrect.
` losetup $LOOP ${SDCARD}.raw
# loop device was grabbed here, unlock
flock -u $FD
partprobe $LOOP
` It won't work this way. partprobe is redundant, the code should be:
` losetup -P $LOOP ${SDCARD}.raw
# loop device was grabbed here, unlock
flock -u $FD
`