base-files: on x86_64 provide the ld-linux.so.2 symlink for 32bit pkgs.
This commit is contained in:
parent
cff4f92735
commit
d1b0883768
1 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'base-files'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.93
|
version=0.94
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style="meta"
|
build_style="meta"
|
||||||
|
@ -25,11 +25,14 @@ conf_files="
|
||||||
/etc/fstab
|
/etc/fstab
|
||||||
/etc/crypttab
|
/etc/crypttab
|
||||||
/etc/nsswitch.conf"
|
/etc/nsswitch.conf"
|
||||||
noarch="yes"
|
|
||||||
depends="base-directories xbps-triggers"
|
depends="base-directories xbps-triggers"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vinstall ${FILESDIR}/ld.so.lib32.conf 644 etc/ld.so.conf.d lib32.conf
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
|
vmkdir usr/lib
|
||||||
|
ln -s ../lib32/ld-linux.so.2 ${DESTDIR}/usr/lib/ld-linux.so.2
|
||||||
|
vinstall ${FILESDIR}/ld.so.lib32.conf 644 etc/ld.so.conf.d lib32.conf
|
||||||
|
fi
|
||||||
|
|
||||||
# Install misc config files.
|
# Install misc config files.
|
||||||
for f in bash_logout bash_profile bashrc inputrc; do
|
for f in bash_logout bash_profile bashrc inputrc; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue