mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
make.sh: Load loop module (if not loaded, yet).
This commit is contained in:
3
make.sh
3
make.sh
@@ -841,7 +841,8 @@ buildpackages() {
|
||||
ipfiremake cdrom
|
||||
|
||||
# Check if there is a loop device for building in virtual environments
|
||||
if [ $BUILD_IMAGES == 1 ] && ([ -e /dev/loop/0 ] || [ -e /dev/loop0 ]); then
|
||||
modprobe loop 2>/dev/null
|
||||
if [ $BUILD_IMAGES == 1 ] && ([ -e /dev/loop/0 ] || [ -e /dev/loop0 ] || [ -e "/dev/loop-control" ]); then
|
||||
ipfiremake flash-images
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user