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/amery/wip/mount
Christian Wiese 14 years ago
parent
commit
3c6e03b1a8
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      scripts/Build-Pkg

+ 9
- 4
scripts/Build-Pkg

@ -381,10 +381,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