summaryrefslogtreecommitdiffstats
path: root/client/boot-tools
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2017-11-20 13:04:56 +0000
committeririna <irinagomez@us.es>2017-11-20 13:04:56 +0000
commitd8226717f4a78144da8ee4e11f565ef57c74e027 (patch)
tree4ea7e7c2b8639a0b920392873b35e0ebe719323b /client/boot-tools
parent0d4cef2257df9ad5d863497d19b813eb4b32ecdb (diff)
#786 Se detecta si existe el directorio lib32 antes de intentar montarlo.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5513 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/boot-tools')
-rw-r--r--client/boot-tools/includes/etc/initramfs-tools/scripts/ogfunctions2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/boot-tools/includes/etc/initramfs-tools/scripts/ogfunctions b/client/boot-tools/includes/etc/initramfs-tools/scripts/ogfunctions
index 7ded49dd..d46ab875 100644
--- a/client/boot-tools/includes/etc/initramfs-tools/scripts/ogfunctions
+++ b/client/boot-tools/includes/etc/initramfs-tools/scripts/ogfunctions
@@ -546,7 +546,7 @@ then
fi
# Realizamos la union entre el ogliveram(initrd) y el ogliverootfs(ogclient.sqfs)
# Nota: el orden es muy importante para evitar errores de montaje.
- [ "$(uname -i)" != "i386" ] && LIBS=lib32
+ [ -d $DSTOGLIVE/lib32 ] && LIBS=lib32
for i in bin sbin lib $LIBS etc var usr root boot; do
ogUnionLiveDir $i
done