The following changes were made:

* Split off separate glibc-dev
  * Added bash and dash as dependencies (needed for some scripts apparently)
  * Removed ld.so.cache
  * Generate ld.so.cache in usher
  * usher now uses /bin/sh
  * Removed TARGET from usher
This commit is contained in:
2018-03-29 15:05:45 -05:00
parent 17845fb7b6
commit 27c487e386
3 changed files with 46 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
@@ -7,13 +7,15 @@ case $1 in
exit 0
;;
postinst)
if [ ! -f ${TARGET}/etc/ld.so.conf ]; then
cp ${TARGET}/usr/share/glibc/ld.so.conf ${TARGET}/etc/ld.so.conf
if [ ! -f /etc/ld.so.conf ]; then
cp /usr/share/glibc/ld.so.conf /etc/ld.so.conf
fi
if [ ! -f ${TARGET}/etc/nsswitch.conf ]; then
cp ${TARGET}/usr/share/glibc/nsswitch.conf ${TARGET}/etc/nsswitch.conf
if [ ! -f /etc/nsswitch.conf ]; then
cp /usr/share/glibc/nsswitch.conf /etc/nsswitch.conf
fi
ldconfig
;;
prerm)
exit 0