summaryrefslogtreecommitdiffstats
path: root/remote/tools/base
diff options
context:
space:
mode:
Diffstat (limited to 'remote/tools/base')
-rw-r--r--remote/tools/base/base.build9
-rw-r--r--remote/tools/base/base.conf7
2 files changed, 6 insertions, 10 deletions
diff --git a/remote/tools/base/base.build b/remote/tools/base/base.build
index 06ff22b7..efabaedd 100644
--- a/remote/tools/base/base.build
+++ b/remote/tools/base/base.build
@@ -20,10 +20,7 @@ build() {
if [ ! -z ${BIN_LOCATION} -a -e ${BIN_LOCATION} ];
then
pdebug "Processing $BIN at $BIN_LOCATION ..."
- echo ${BIN_LOCATION} >> "${FILELIST}"
- [ -L "${BIN_LOCATION}" ] \
- && pdebug "${BIN_LOCATION} is a symbolic link, copying $(readlink -f "${BIN_LOCATION}")" \
- && echo $(readlink -f "${BIN_LOCATION}") >> "${FILELIST}"
+ get_link_chain ${BIN_LOCATION} >> "${FILELIST}"
else
perror "${BIN} not found on the system! Please install it."
fi
@@ -31,9 +28,9 @@ build() {
for LIB in ${REQUIRED_LIBRARIES}
do
- for LIB_LOCATION in $(find /lib/ -name "${LIB}.so\*")
+ for LIB_LOCATION in $(find /lib/ -name "${LIB}.so*")
do
- echo ${LIB_LOCATION} >> "${FILELIST}"
+ get_link_chain "${LIB_LOCATION}" >> "${FILELIST}"
done
done
diff --git a/remote/tools/base/base.conf b/remote/tools/base/base.conf
index 85b638e6..6a95ab2c 100644
--- a/remote/tools/base/base.conf
+++ b/remote/tools/base/base.conf
@@ -9,7 +9,8 @@ REQUIRED_BINARIES=" bash
sulogin
mount
umount
- mount.nfs
+ mount.nfs4
+ umount.nfs4
mount.aufs
umount.aufs
rm
@@ -40,9 +41,7 @@ REQUIRED_LIBRARIES=" libcap
libau"
REQUIRED_DIRECTORIES=" /etc/pam.d
/etc/security"
-REQUIRED_FILES=" /sbin/mount.nfs4
- /sbin/umount.nfs4
- /etc/environment
+REQUIRED_FILES=" /etc/environment
/etc/pam.conf
/etc/issue
/etc/inputrc