Browse Source

scripts/Build-Pkg: fixed to allow lib64 to be flisted for 64 bit architectures and lib32 in the case we build a multilib system

user/chris/test/lib64
Christian Wiese 14 years ago
parent
commit
a6e67496ee
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      scripts/Build-Pkg

+ 10
- 5
scripts/Build-Pkg

@ -3,7 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: scripts/Build-Pkg
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2006 - 2010 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -372,10 +372,15 @@ fi
# allowed toplevel directories that will be flisted
flistroot="bin boot etc lib sbin usr var opt"
# add lib32 and lib64 in the case the target has multilib support
if [ "$SDECFG_MULTILIB" = 1 ]; then
var_append flistroot ' ' "lib32 lib64"
fi
# additionally allowed toplevel directories for 64 bit architectures
case $arch_machine in
powerpc64|sparc64|x86_64|mips64)
var_append flistroot ' ' "lib64"
if [ "$SDECFG_MULTILIB" = 1 ]; then
var_append flistroot ' ' "lib32"
fi
;;
esac
# remove the obvious noise: ldconfig and our /var/adm as well as due to
# rare i18n locale directories ...

Loading…
Cancel
Save