shutils/chroot: copy host /etc/localtime if found.

--HG--
extra : convert_revision : d3961bbaa2b8fd51d59d5ccd4e2023b2cf31a60a
This commit is contained in:
Juan RP 2009-12-24 01:10:08 +01:00
parent 527845ef89
commit 1e8ba0a3ef
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ ff02::3 ip6-allhosts
_EOF
cp -f /etc/resolv.conf $XBPS_MASTERDIR/etc
[ -f /etc/localtime ] && cp -f /etc/localtime $XBPS_MASTERDIR/etc
# Create /bin/sh symlink to bash
cd $XBPS_MASTERDIR/bin && ln -sf bash sh