Nature40 / pimod

Reconfigure Raspberry Pi images with an easy, Docker-like configuration file
GNU General Public License v3.0
127 stars 19 forks source link

INPLACE with URL fails #23

Closed jonashoechst closed 4 years ago

jonashoechst commented 4 years ago

The image is downloaded correctly, but when setting the DEST_IMG the URL is used and the the build fails, because this is not a valid file path:

### INPLACE http://downloads.openwrt.org/releases/18.06.4/targets/brcm2708/bcm2710/openwrt-18.06.4-brcm2708-bcm2710-rpi-3-ext4-factory.img.gz
losetup: http://downloads.openwrt.org/releases/18.06.4/targets/brcm2708/bcm2710/openwrt-18.06.4-brcm2708-bcm2710-rpi-3-ext4-factory.img.gz: failed to set up loop device: No such file or directory
/pimod/modules/qemu.sh: line 25: QEMU_GUEST: unbound variable
failed to stat() ### Error: "http://downloads.openwrt.org/releases/18.06.4/targets/brcm2708/bcm2710/openwrt-18.06.4-brcm2708-bcm2710-rpi-3-ext4-factory.img.gz" returned 1, cleaning up...
/pimod/modules/qemu.sh: line 25: QEMU_GUEST: unbound variable
### Error: "http://downloads.openwrt.org/releases/18.06.4/targets/brcm2708/bcm2710/openwrt-18.06.4-brcm2708-bcm2710-rpi-3-ext4-factory.img.gz" returned 1, cleaning up...
/pimod/modules/qemu.sh: line 25: QEMU_GUEST: unbound variable

Suggestions: