orangepi-build icon indicating copy to clipboard operation
orangepi-build copied to clipboard

SD Card image does not build.

Open sallevan opened this issue 1 year ago • 0 comments

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

`

sallevan avatar Jan 13 '24 20:01 sallevan