projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r12510. Remove -rpath-link form TARGET_LDFLAGS as it breaks some
[openwrt.git]
/
package
/
base-files
/
files
/
lib
/
upgrade
/
common.sh
diff --git
a/package/base-files/files/lib/upgrade/common.sh
b/package/base-files/files/lib/upgrade/common.sh
index
6cc09e1
..
59ac7a7
100644
(file)
--- a/
package/base-files/files/lib/upgrade/common.sh
+++ b/
package/base-files/files/lib/upgrade/common.sh
@@
-45,7
+45,7
@@
pivot() { # <new_root> <old_root>
}
run_ramfs() { # <command> [...]
}
run_ramfs() { # <command> [...]
- install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi
+ install_bin /bin/busybox /bin/ash /bin/sh /bin/mount /bin/umount /sbin/pivot_root /usr/bin/wget /sbin/reboot /bin/sync /bin/dd /bin/grep /bin/cp /bin/mv /bin/tar /usr/bin/md5sum "/usr/bin/[" /bin/vi
/bin/ls /bin/cat
install_bin /sbin/mtd
for file in $RAMFS_COPY_BIN; do
install_bin $file
install_bin /sbin/mtd
for file in $RAMFS_COPY_BIN; do
install_bin $file
@@
-113,7
+113,7
@@
get_image() {
}
get_magic_word() {
}
get_magic_word() {
- get_image "$1" | dd bs=2 count=1 2>/dev/null | hexdump
| awk '$2 { print $2
}'
+ get_image "$1" | dd bs=2 count=1 2>/dev/null | hexdump
-C | awk '$2 { print $2 $3
}'
}
refresh_mtd_partitions() {
}
refresh_mtd_partitions() {
@@
-147,5
+147,6
@@
do_upgrade() {
jffs2_copy_config
fi
}
jffs2_copy_config
fi
}
+ [ -n "$DELAY" ] && sleep "$DELAY"
ask_bool 1 "Reboot" && reboot
}
ask_bool 1 "Reboot" && reboot
}
This page took
0.028036 seconds
and
4
git commands to generate.