mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
Damit die USB-Images auch auf Ubuntu-Maschinen gebuat werden koennen.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@859 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -50,7 +50,7 @@ IMGfs := /install/images/fs
|
|||||||
|
|
||||||
define COPY_TO_IMG
|
define COPY_TO_IMG
|
||||||
mkdosfs -n IPFIRE -F 16 -I $$IMAGE && \
|
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 \
|
if (! losetup /dev/loop$${i} >/dev/null 2>&1 ); then \
|
||||||
LOOPDEV="/dev/loop$${i}"; \
|
LOOPDEV="/dev/loop$${i}"; \
|
||||||
break; \
|
break; \
|
||||||
|
|||||||
2
make.sh
2
make.sh
@@ -591,7 +591,7 @@ buildpackages() {
|
|||||||
ipfiremake cdrom ED=full
|
ipfiremake cdrom ED=full
|
||||||
|
|
||||||
# Check if there is a loop device for building in virtual environments
|
# 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
|
ipfiremake usb-stick
|
||||||
fi
|
fi
|
||||||
ipfiremake pxe
|
ipfiremake pxe
|
||||||
|
|||||||
Reference in New Issue
Block a user