chroot-coreutils: create symlinks for /bin/ls and /bin/pwd.
This commit is contained in:
parent
6dc8255fc2
commit
4e0ae5d6e2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue