File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ include: &toolchain_linux_armhf
4343 env :
4444 - CROSS_TOOLCHAIN="true"
4545 - ARCH="armhf"
46+ - RELEASE="oldstable"
4647 - TARGET="arm-linux-gnueabihf"
4748 - CC="${TARGET}-gcc"
4849 - CMAKE_OPTS="-Wall -DCMAKE_TOOLCHAIN_FILE=${TRAVIS_BUILD_DIR}/cmake/Toolchain-rpi.cmake"
@@ -75,7 +76,7 @@ before_script:
7576 if [[ "${CHROOT_DIR}" != "" ]] && find ${CHROOT_DIR} -iname "libxml2.so" 2>/dev/null | grep -q libxml2.so && find ${CHROOT_DIR} -iname "parser.h" 2>/dev/null | grep -q libxml ; then
7677 echo "Cache found" ;
7778 else
78- sudo debootstrap --foreign --no-check-gpg --variant=minbase --include=libxml2,libxml2-dev --arch=armhf stable ${CHROOT_DIR} http://archive.raspbian.org/raspbian ;
79+ sudo debootstrap --foreign --no-check-gpg --variant=minbase --include=libxml2,libxml2-dev --arch=armhf ${RELEASE} ${CHROOT_DIR} http://archive.raspbian.org/raspbian ;
7980 sudo cp /usr/bin/qemu-arm-static ${CHROOT_DIR}/usr/bin/ ;
8081 sudo chroot ${CHROOT_DIR} ./debootstrap/debootstrap --second-stage;
8182 fi
You can’t perform that action at this time.
0 commit comments