]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Remove superfluous image check
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 4 Jul 2024 16:18:20 +0000 (16:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 8 Jul 2024 15:39:43 +0000 (15:39 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 9bbbeb0f1d2d40b45e656db2881f9ef01cffa758..df77815a2686f1958735d1c55d6e536ef55cdf5d 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -27,7 +27,6 @@ CORE="187"                                                    # Core Level (Filename)
 SLOGAN="www.ipfire.org"                                                # Software slogan
 CONFIG_ROOT=/var/ipfire                                                # Configuration rootdir
 MAX_RETRIES=1                                                  # prefetch/check loop
-BUILD_IMAGES=1                                                 # Flash and Xen Downloader
 KVER=`grep --max-count=1 VER lfs/linux | awk '{ print $3 }'`
 
 # Information from Git
@@ -1770,10 +1769,7 @@ buildpackages() {
   lfsmake2 cdrom
 
   # Check if there is a loop device for building in virtual environments
-  modprobe loop 2>/dev/null
-  if [ $BUILD_IMAGES == 1 ] && ([ -e /dev/loop/0 ] || [ -e /dev/loop0 ] || [ -e "/dev/loop-control" ]); then
-       lfsmake2 flash-images
-  fi
+  lfsmake2 flash-images
 
   mv $LFS/install/images/{*.iso,*.img.xz,*.bz2} $BASEDIR >> $LOGFILE 2>&1