2015-04-09 22:53:46 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
2020-01-05 17:36:44 +00:00
|
|
|
# prepare.sh
|
2015-04-09 22:53:46 +00:00
|
|
|
|
2019-03-06 01:47:54 +00:00
|
|
|
[ "$XLINT" ] && exit 0
|
2015-04-09 22:53:46 +00:00
|
|
|
|
|
|
|
/bin/echo -e '\x1b[32mUpdating etc/conf...\x1b[0m'
|
2017-02-07 02:48:14 +00:00
|
|
|
echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf
|
2019-03-06 01:47:54 +00:00
|
|
|
|
|
|
|
/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
|
|
|
|
|
|
|
|
/bin/echo -e '\x1b[32mLinking / to /masterdir...\x1b[0m'
|
|
|
|
ln -s / masterdir
|