chroot-coreutils: create symlinks for /bin/ls and /bin/pwd.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Template file for 'chroot-coreutils'
|
# Template file for 'chroot-coreutils'
|
||||||
pkgname=chroot-coreutils
|
pkgname=chroot-coreutils
|
||||||
version=8.17
|
version=8.17
|
||||||
|
revision=1
|
||||||
wrksrc=coreutils-${version}
|
wrksrc=coreutils-${version}
|
||||||
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
distfiles="http://ftp.gnu.org/gnu/coreutils/coreutils-$version.tar.xz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
@@ -32,7 +33,7 @@ pre_configure() {
|
|||||||
post_install() {
|
post_install() {
|
||||||
# Create symlinks in /bin.
|
# Create symlinks in /bin.
|
||||||
vmkdir 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 .
|
cd ${DESTDIR}/bin && ln -sf ../usr/bin/$f .
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user