projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel/base-files: clean up old code related to refreshing mtd partitions, it is...
[openwrt.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/x86/base-files/lib/upgrade/platform.sh
b/target/linux/x86/base-files/lib/upgrade/platform.sh
index
dc4790b
..
9503d5d
100644
(file)
--- a/
target/linux/x86/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/x86/base-files/lib/upgrade/platform.sh
@@
-1,5
+1,3
@@
-USE_REFRESH=1
-
x86_get_rootfs() {
local rootfsdev
local rootfstype
x86_get_rootfs() {
local rootfsdev
local rootfstype
@@
-19,7
+17,7
@@
platform_check_image() {
[ "$ARGC" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
[ "$ARGC" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
- eb48) return 0;;
+ eb48
|eb63
) return 0;;
*)
echo "Invalid image type"
return 1
*)
echo "Invalid image type"
return 1
@@
-27,10
+25,6
@@
platform_check_image() {
esac
}
esac
}
-platform_refresh_partitions() {
- return 0
-}
-
platform_copy_config() {
local rootfs="$(x86_get_rootfs)"
local rootfsdev="${rootfs##*:}"
platform_copy_config() {
local rootfs="$(x86_get_rootfs)"
local rootfsdev="${rootfs##*:}"