mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Ein Fix fuer die Verwendung von Loop-Devices.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@968 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -51,6 +51,7 @@ IMGfs := /install/images/fs
|
||||
define COPY_TO_IMG
|
||||
mkdosfs -n IPFIRE -F 16 -I $$IMAGE && \
|
||||
for i in /0 `seq 0 7`; do \
|
||||
[ -e /dev/loop$${i} ] || continue; \
|
||||
if (! losetup /dev/loop$${i} >/dev/null 2>&1 ); then \
|
||||
LOOPDEV="/dev/loop$${i}"; \
|
||||
break; \
|
||||
|
||||
Reference in New Issue
Block a user