define COPY_TO_IMG
mkdosfs -n IPFIRE -F 16 -I $$IMAGE && \
define COPY_TO_IMG
mkdosfs -n IPFIRE -F 16 -I $$IMAGE && \
- for i in `seq 0 7`; do \
+ for i in /0 `seq 0 7`; do \
if (! losetup /dev/loop$${i} >/dev/null 2>&1 ); then \
LOOPDEV="/dev/loop$${i}"; \
break; \
if (! losetup /dev/loop$${i} >/dev/null 2>&1 ); then \
LOOPDEV="/dev/loop$${i}"; \
break; \
ipfiremake cdrom ED=full
# Check if there is a loop device for building in virtual environments
ipfiremake cdrom ED=full
# Check if there is a loop device for building in virtual environments
- if [ -e /dev/loop0 ]; then
+ if [ -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
ipfiremake usb-stick
fi
ipfiremake pxe
ipfiremake usb-stick
fi
ipfiremake pxe