Commits

Uelsk8s  committed 057f8d0

build final BB-ISO

  • Participants
  • Parent commits 16abc29

Comments (0)

Files changed (2)

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

 #----------------------------------------------------------------------------
 BUILDNUM=${BUILDNUM:-"FINAL"}
 VL_VERSION="BB"
-KERN="3.10.14"
-KERNBUILD="1vl71"
+KERN="3.10.20"
+KERNBUILD="2vl71"
 PREV32ISO=${PREV32ISO:-"VL-7.1-BB-RC4.iso"} #enter last iso, only if you want a delta generated.
 PREV64ISO=${PREV64ISO:-"VL64-7.1-BB-RC4.iso"} #enter last iso, if you want a delta generated.
 CD32NAME="VL-${VERSION}-BB-$BUILDNUM.iso"
  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/veclinux-7.1/" /etc/slapt-get/slapt-getrc
+else
+	SG="VL64-7.1"
+	sed -i "s/SG/VL64-7.1/" /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
+    ( 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
   fi

File var/vabs/VL-ISO-BB/src/slapt-getrc

 EXCLUDE=
 #SOURCE=192.168.56.1/pkg/untested/veclinux-7.1/ARCH
 SOURCE=10.0.2.2/pkg/untested/veclinux-7.1/ARCH
+SOURCE=http://vectorlinux.osuosl.org/SG/packages