|
|
@ -1,3 +1,4 @@ |
|
|
|
#!/bin/bash |
|
|
|
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
@ -24,12 +25,12 @@ |
|
|
|
# Install PAM libs in /lib so they are |
|
|
|
# also available if /usr is not mounted. |
|
|
|
# |
|
|
|
libdir="$root/lib" |
|
|
|
libdir="$root/$multilib" |
|
|
|
includedir="$includedir/security" |
|
|
|
|
|
|
|
# fix libdir in the .la files (the *.so files are in /lib) |
|
|
|
hook_add postflist 5 "sed -i -e \"s,^libdir=.*,libdir=/lib,\" \ |
|
|
|
$root/usr/lib/libpam.la $root/usr/lib/libpam_misc.la $root/usr/lib/libpamc.la" |
|
|
|
# hook_add postflist 5 "sed -i -e \"s,^libdir=.*,libdir=/lib,\" \ |
|
|
|
# $root/usr/lib/libpam.la $root/usr/lib/libpam_misc.la $root/usr/lib/libpamc.la" |
|
|
|
|
|
|
|
install_pam_configs() { |
|
|
|
mkdir -p $root/etc/pam.d |
|
|
@ -46,7 +47,3 @@ install_pam_configs() { |
|
|
|
# |
|
|
|
postmake="install_pam_configs" |
|
|
|
|
|
|
|
# Outch: --disable-debug enables debugging... |
|
|
|
# |
|
|
|
var_remove confopt " " "--disable-debug" |
|
|
|
|