aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-23 21:05:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-23 21:05:20 +0000
commit0e9d604ef757a484d677fcb1b9f19e73fb4f6221 (patch)
treee724dabee87169ab285dac628d70415397a3c16b
parent831c677efca10647ef8115596d16e967e5148227 (diff)
downloadupstream-0e9d604ef757a484d677fcb1b9f19e73fb4f6221.tar.gz
upstream-0e9d604ef757a484d677fcb1b9f19e73fb4f6221.tar.bz2
upstream-0e9d604ef757a484d677fcb1b9f19e73fb4f6221.zip
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
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index e97958bf9b..8f19d3e86e 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -58,7 +58,7 @@ run_ramfs() { # <command> [...]
for file in $RAMFS_COPY_BIN; do
install_bin $file
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 || {
echo "Failed to switch over to ramfs. Please reboot."