Author: blogic
Date: 2014-06-20 15:41:08 +0200 (Fri, 20 Jun 2014)
New Revision: 41284

Modified:
   trunk/package/base-files/files/lib/upgrade/common.sh
Log:
base-files: regenerate the /lib64 symlink when switching to a ramdisk

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/base-files/files/lib/upgrade/common.sh
===================================================================
--- trunk/package/base-files/files/lib/upgrade/common.sh        2014-06-20 
12:28:35 UTC (rev 41283)
+++ trunk/package/base-files/files/lib/upgrade/common.sh        2014-06-20 
13:41:08 UTC (rev 41284)
@@ -76,6 +76,8 @@
        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to