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'
|
||||
pkgname=base-files
|
||||
version=0.93
|
||||
version=0.94
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
build_style="meta"
|
||||
|
@ -25,11 +25,14 @@ conf_files="
|
|||
/etc/fstab
|
||||
/etc/crypttab
|
||||
/etc/nsswitch.conf"
|
||||
noarch="yes"
|
||||
depends="base-directories xbps-triggers"
|
||||
|
||||
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.
|
||||
for f in bash_logout bash_profile bashrc inputrc; do
|
||||
|
|
Loading…
Reference in a new issue