chroot-coreutils: create symlinks for /bin/ls and /bin/pwd.

This commit is contained in:
Juan RP 2012-05-16 18:28:16 +02:00
parent 6dc8255fc2
commit 4e0ae5d6e2
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
# Template file for 'chroot-coreutils'
pkgname=chroot-coreutils
version=8.17
revision=1
wrksrc=coreutils-${version}
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
build_style=gnu-configure
@ -32,7 +33,7 @@ pre_configure() {
post_install() {
# Create symlinks in /bin.
vmkdir bin
for f in true false echo; do
for f in true false echo ls pwd; do
cd ${DESTDIR}/bin && ln -sf ../usr/bin/$f .
done
}