xbps-src/chroot: disable xbps/repo.d/00-main.conf with a symlink; rather than removing the file.
This commit is contained in:
parent
36a2be41b1
commit
954e1aff05
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ chroot_prepare() {
|
||||||
|
|
||||||
echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf
|
echo "syslog=false" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf
|
||||||
echo "cachedir=/host/repocache" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf
|
echo "cachedir=/host/repocache" >> $XBPS_MASTERDIR/etc/xbps/xbps.conf
|
||||||
rm -f $XBPS_MASTERDIR/usr/share/xbps/repo.d/*.conf
|
mkdir -p $XBPS_MASTERDIR/etc/xbps/repo.d
|
||||||
|
ln -s /dev/null $XBPS_MASTERDIR/etc/xbps/repo.d/00-main.conf
|
||||||
|
|
||||||
# Prepare default locale: en_US.UTF-8.
|
# Prepare default locale: en_US.UTF-8.
|
||||||
if [ -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then
|
if [ -s ${XBPS_MASTERDIR}/etc/default/libc-locales ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue