File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,25 @@ function run_package {
1717}
1818
1919function setup_arm_chroot {
20+ sudo mkdir ${CHROOT_DIR}
21+ wget -c https://beagleboard.org/static/arm_debian_jessie.rootfs.tgz
22+
23+ tar xzf arm_debian_jessie.rootfs.tgz ${CHROOT_DIR}
24+
25+ echo " export ARCH=${ARCH} " > envvars.sh
26+ echo " export TRAVIS_BUILD_DIR=${TRAVIS_BUILD_DIR} " >> envvars.sh
27+ chmod a+x envvars.sh
28+
29+ sudo chroot ${CHROOT_DIR} apt-get update
30+ sudo chroot ${CHROOT_DIR} apt-get --allow-unauthenticated install \
31+ -qq -y ${GUEST_DEPENDENCIES}
32+ sudo mkdir -p ${CHROOT_DIR} /${TRAVIS_BUILD_DIR}
33+ sudo rsync -a ${TRAVIS_BUILD_DIR} / ${CHROOT_DIR} /${TRAVIS_BUILD_DIR} /
34+
35+ sudo touch ${CHROOT_DIR} /.chroot_is_done
36+ }
37+
38+ function setup_arm_chroot_orig {
2039 wget -c https://rcn-ee.net/mirror/debootstrap/debootstrap_${DEBOOT} _all.deb
2140 if [ -f debootstrap_${DEBOOT} _all.deb ] ; then
2241 sudo dpkg -i debootstrap_${DEBOOT} _all.deb
You can’t perform that action at this time.
0 commit comments