Просмотр исходного кода

mvebu: fix sysupgrade

sysupgrade command fails due to missing U-Boot environment-processing binaries on sysupgrade ramdisk. The missing binaries result in the following output:
	Switching to ramdisk...
	Performing system upgrade...
	ash: /usr/sbin/fw_printenv: not found
	ash: fw_setenv: not found
	ash: touch: not found
	cannot find target partition

Fixes FS#197.

Signed-off-by: Aaron Curley <[email protected]>
Aaron Curley 9 лет назад
Родитель
Сommit
15cb19f02a
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      target/linux/mvebu/base-files/lib/upgrade/linksys.sh

+ 2 - 0
target/linux/mvebu/base-files/lib/upgrade/linksys.sh

@@ -89,3 +89,5 @@ linksys_preupgrade() {
 	esac
 }
 
+append sysupgrade_pre_upgrade linksys_preupgrade
+