diff options
author | John Crispin <john@openwrt.org> | 2014-06-20 13:41:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-20 13:41:08 +0000 |
commit | 09273f5c0acdfefdcab4eb44fdfbfea11ce2921a (patch) | |
tree | 479674b251a51b1ae3af0cc5b868458a669c6569 /package/base-files/files | |
parent | 005884bff4cfe060a0cbc1df3544750e9dd17dde (diff) | |
download | upstream-09273f5c0acdfefdcab4eb44fdfbfea11ce2921a.tar.gz upstream-09273f5c0acdfefdcab4eb44fdfbfea11ce2921a.tar.bz2 upstream-09273f5c0acdfefdcab4eb44fdfbfea11ce2921a.zip |
base-files: regenerate the /lib64 symlink when switching to a ramdisk
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41284
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/lib/upgrade/common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh index 2e92b5a0a3..b641f55156 100644 --- a/package/base-files/files/lib/upgrade/common.sh +++ b/package/base-files/files/lib/upgrade/common.sh @@ -76,6 +76,8 @@ run_ramfs() { # <command> [...] done install_file /etc/resolv.conf /lib/functions.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA + [ -L "/lib64" ] && ln -s /lib $RAM_ROOT/lib64 + supivot $RAM_ROOT /mnt || { echo "Failed to switch over to ramfs. Please reboot." exit 1 |