travis: switch to xbps-uchroot and newer os
This commit is contained in:
parent
d301273482
commit
d2a6beb2e3
|
@ -1,6 +1,7 @@
|
||||||
language: bash
|
language: bash
|
||||||
|
|
||||||
sudo: false
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 200
|
depth: 200
|
||||||
|
|
|
@ -4,20 +4,19 @@
|
||||||
|
|
||||||
mkdir -p $HOME/bin
|
mkdir -p $HOME/bin
|
||||||
|
|
||||||
/bin/echo -e '\x1b[32mInstalling proot...\x1b[0m'
|
|
||||||
wget -q http://static.proot.me/proot-x86_64
|
|
||||||
install -m 755 proot-x86_64 $HOME/bin/proot || exit 1
|
|
||||||
|
|
||||||
/bin/echo -e '\x1b[32mInstalling xbps...\x1b[0m'
|
/bin/echo -e '\x1b[32mInstalling xbps...\x1b[0m'
|
||||||
wget -q -O - http://repo.voidlinux.eu/static/xbps-static-latest.x86_64-musl.tar.xz | \
|
wget -q -O - http://repo.voidlinux.eu/static/xbps-static-latest.x86_64-musl.tar.xz | \
|
||||||
unxz | tar x -C $HOME/bin --wildcards "./usr/bin/xbps-*" \
|
unxz | tar x -C $HOME/bin --wildcards "./usr/bin/xbps-*" \
|
||||||
--strip-components=3 || exit 1
|
--strip-components=3 || exit 1
|
||||||
|
|
||||||
|
sudo chown root $HOME/bin/xbps-uchroot
|
||||||
|
sudo chmod u+s $HOME/bin/xbps-uchroot
|
||||||
|
|
||||||
/bin/echo -e '\x1b[32mInstalling xtools...\x1b[0m'
|
/bin/echo -e '\x1b[32mInstalling xtools...\x1b[0m'
|
||||||
wget -q -O - https://github.com/chneukirchen/xtools/archive/master.tar.gz | \
|
wget -q -O - https://github.com/chneukirchen/xtools/archive/master.tar.gz | \
|
||||||
gunzip | tar x -C $HOME/bin --wildcards "xtools-master/x*" \
|
gunzip | tar x -C $HOME/bin --wildcards "xtools-master/x*" \
|
||||||
--strip-components=1 || exit 1
|
--strip-components=1 || exit 1
|
||||||
|
|
||||||
/bin/echo -e '\x1b[32mUpdating etc/conf...\x1b[0m'
|
/bin/echo -e '\x1b[32mUpdating etc/conf...\x1b[0m'
|
||||||
echo XBPS_CHROOT_CMD=proot >> etc/conf
|
echo XBPS_CHROOT_CMD=uchroot >> etc/conf
|
||||||
echo XBPS_MAKEJOBS=4 >> etc/conf
|
echo XBPS_MAKEJOBS=4 >> etc/conf
|
||||||
|
|
Loading…
Reference in New Issue