chroot-coreutils: create some symlinks required by xargs and others.

This commit is contained in:
Juan RP 2012-03-19 11:29:05 +01:00
parent 4defb15ca7
commit c19cc916c8
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'chroot-coreutils'
pkgname=chroot-coreutils
version=8.15
revision=2
revision=3
wrksrc=coreutils-${version}
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
build_style=gnu-configure
@ -29,3 +29,11 @@ provides="coreutils-${version}"
pre_configure() {
sed -i 's/^\(SUBDIRS =\).*/\1 lib src/g' Makefile.in
}
post_install() {
# Create symlinks in /bin.
vmkdir bin
for f in true false echo; do
cd ${DESTDIR}/bin && ln -sf ../usr/bin/$f .
done
}