diff --git a/srcpkgs/chroot-coreutils/template b/srcpkgs/chroot-coreutils/template index 94619563c3f..368d8322f2f 100644 --- a/srcpkgs/chroot-coreutils/template +++ b/srcpkgs/chroot-coreutils/template @@ -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 +}