void-packages/common/travis/prepare.sh
Juan RP a540b683ad
travis/prepare: use lz4 compression type for pkgs/repos.
lz4 is the fastest one available with libarchive, and
size is not the most important thing in travis.
2020-01-05 18:36:44 +01:00

18 lines
454 B
Bash
Executable file

#!/bin/sh
#
# prepare.sh
[ "$XLINT" ] && exit 0
/bin/echo -e '\x1b[32mUpdating etc/conf...\x1b[0m'
echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf
/bin/echo -e '\x1b[32mEnabling ethereal chroot-style...\x1b[0m'
echo XBPS_CHROOT_CMD=ethereal >> etc/conf
echo XBPS_ALLOW_CHROOT_BREAKOUT=yes >> etc/conf
echo XBPS_PKG_COMPTYPE=lz4 >> etc/conf
echo XBPS_REPO_COMPTYPE=lz4 >> etc/conf
/bin/echo -e '\x1b[32mLinking / to /masterdir...\x1b[0m'
ln -s / masterdir