1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 07:00:37 +02:00

package/base-files: copy /lib/functions.sh to the ramfs on sysupgrade

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31842 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-05-23 21:05:20 +00:00
parent 8a8504629a
commit 5dbbd23291

View File

@ -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."