mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-22 17:02:58 +02:00
Fixed Image build switch.
This commit is contained in:
4
make.sh
4
make.sh
@@ -726,7 +726,7 @@ buildpackages() {
|
||||
ipfiremake cdrom ED=$IPFVER
|
||||
|
||||
# Check if there is a loop device for building in virtual environments
|
||||
if [ $BUILD_IMAGES && -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
|
||||
if [ $BUILD_IMAGES == 1 ] && ([ -e /dev/loop/0 ] || [ -e /dev/loop0 ]); then
|
||||
ipfiremake usb-stick ED=$IPFVER
|
||||
ipfiremake flash-images ED=$IPFVER
|
||||
fi
|
||||
@@ -736,7 +736,7 @@ buildpackages() {
|
||||
ipfirepackages
|
||||
|
||||
# Check if there is a loop device for building in virtual environments
|
||||
if [ $BUILD_IMAGES && -e /dev/loop/0 ] || [ -e /dev/loop0 ]; then
|
||||
if [ $BUILD_IMAGES == 1 ] && ([ -e /dev/loop/0 ] || [ -e /dev/loop0 ]); then
|
||||
cp -f $BASEDIR/packages/linux-xen-*.ipfire $LFS/install/packages/
|
||||
cp -f $BASEDIR/packages/meta-linux-xen $LFS/install/packages/
|
||||
ipfiremake xen-image ED=$IPFVER
|
||||
|
||||
Reference in New Issue
Block a user