mirror of https://github.com/hak5/openwrt-owl.git
base-files: regenerate the /lib64 symlink when switching to a ramdisk
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41284owl
parent
005884bff4
commit
09273f5c0a
|
@ -76,6 +76,8 @@ run_ramfs() { # <command> [...]
|
||||||
done
|
done
|
||||||
install_file /etc/resolv.conf /lib/functions.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
|
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 || {
|
supivot $RAM_ROOT /mnt || {
|
||||||
echo "Failed to switch over to ramfs. Please reboot."
|
echo "Failed to switch over to ramfs. Please reboot."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue