Commits

Uelsk8s committed e9f2b22

update VL-ISO-STD

  • Participants
  • Parent commits 5529925

Comments (0)

Files changed (1)

File var/vabs/VL-ISO-STD/src/VL-ISO-STD.SlackBuild

 
 #SYSTEM VARIABLES
 #----------------------------------------------------------------------------
-BUILDNUM=${BUILDNUM:-"B1"}
+BUILDNUM=${BUILDNUM:-"B1.1"}
 VL_VERSION="STD"
 KERN="3.10.20"
 KERNBUILD="2vl71"
-PREV32ISO=${PREV32ISO:-"VL-7.1-STD-B0.51.iso"} #enter last iso, only if you want a delta generated.
-PREV64ISO=${PREV64ISO:-"VL64-7.1-STD-B0.51.iso"} #enter last iso, if you want a delta generated.
+PREV32ISO=${PREV32ISO:-"VL-7.1-STD-B1.iso"} #enter last iso, only if you want a delta generated.
+PREV64ISO=${PREV64ISO:-"VL64-7.1-STD-B1.iso"} #enter last iso, if you want a delta generated.
 CD32NAME="VL-${VERSION}-STD-$BUILDNUM.iso"
 CD64NAME="VL64-${VERSION}-STD-$BUILDNUM.iso"
 ARCH=${ARCH:-"$(uname -m)"}
  ARCH=$i
  cp $CWD/slapt-getrc /etc/slapt-get/slapt-getrc
  sed -i "s/ARCH/$i/" /etc/slapt-get/slapt-getrc
+ if [[ "$ARCH" = "x86" ]]; then
+   SG="veclinux-7.1"
+   sed -i "s/SG/$SG/" /etc/slapt-get/slapt-getrc
+ else
+	SG="VL64-7.1"
+	sed -i "s/SG/$SG/" /etc/slapt-get/slapt-getrc
+ fi
 
 #CFLAGS SETUP
 #--------------------------------------------
   dir=$(echo $i|cut -d'/' -f1)
   pkg=$(echo $i|cut -d'/' -f2)
   if [ "$pkg" == "kernel" ];then
-	  slapt-get --install --reinstall --download-only --no-dep $KERNEL
+    ( cd ISO/packages/a/ 
+    wget http://vectorlinux.osuosl.org/$SG/kernels/$KERN-$KERNBUILD/${KERNEL}.txz )
+	#slapt-get --install --reinstall --download-only --no-dep $KERNEL
   elif [ "$pkg" == "kernel-modules" ];then
-	  slapt-get --install --reinstall --download-only --no-dep $MODULES
+    ( cd ISO/packages/a/ 
+    wget http://vectorlinux.osuosl.org/$SG/kernels/$KERN-$KERNBUILD/${MODULES}.txz )
+	#slapt-get --install --reinstall --download-only --no-dep $MODULES
   elif [ "$pkg" == "kernel-src" ];then
-	  slapt-get --install --reinstall --download-only --no-dep $SRC
-  elif [ "$pkg" == "kernel-stripped-src" ];then
-	  slapt-get --install --reinstall --download-only --no-dep $SSRC
+    ( cd ISO/packages/a/ 
+    wget http://vectorlinux.osuosl.org/$SG/kernels/$KERN-$KERNBUILD/${SRC}.txz )
+	#slapt-get --install --reinstall --download-only --no-dep $SRC
   else
-      slapt-get --install --reinstall --download-only --no-dep $pkg
+    slapt-get --install --reinstall --download-only --no-dep $pkg
+    #mv the pkgs.
+    mv /home/ftp/pub/veclinux/packages/$pkg*t?z ISO/packages/$dir/ || exit 1
   fi
-  #mv the pkgs.
-  mv /home/ftp/pub/veclinux/packages/$pkg*t?z ISO/packages/$dir/ || exit 1
 done
 
 #mv the kernel from the kernel-pkg to the iso.