From c19cc916c84584370351e458f6be4afd7b9bbe1d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 19 Mar 2012 11:29:05 +0100 Subject: [PATCH] chroot-coreutils: create some symlinks required by xargs and others. --- srcpkgs/chroot-coreutils/template | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 +}