package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade
SVN-Revision: 31842
This commit is contained in:
parent
1e1c0a5405
commit
6aec1d72c2
@ -58,7 +58,7 @@ run_ramfs() { # <command> [...]
|
|||||||
for file in $RAMFS_COPY_BIN; do
|
for file in $RAMFS_COPY_BIN; do
|
||||||
install_bin $file
|
install_bin $file
|
||||||
done
|
done
|
||||||
install_file /etc/resolv.conf /etc/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
|
install_file /etc/resolv.conf /etc/functions.sh /lib/functions.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA
|
||||||
|
|
||||||
pivot $RAM_ROOT /mnt || {
|
pivot $RAM_ROOT /mnt || {
|
||||||
echo "Failed to switch over to ramfs. Please reboot."
|
echo "Failed to switch over to ramfs. Please reboot."
|
||||||
|
Loading…
Reference in New Issue
Block a user