From 53652a9e2806874265208250efc7aa6c2b8eec4c Mon Sep 17 00:00:00 2001 From: procount Date: Sun, 24 Oct 2021 00:28:49 +0100 Subject: [PATCH] v3.7.1 fix upgrade --- buildroot/.config | 4 ++-- recovery/config.h | 2 +- recovery/mainwindow.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/buildroot/.config b/buildroot/.config index 798b56ac5..0165a06b5 100644 --- a/buildroot/.config +++ b/buildroot/.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Buildroot 2015.02-git-00003-g76cae67d-dirty Configuration +# Buildroot 2015.02-git-00001-g4d88314a-dirty Configuration # BR2_HAVE_DOT_CONFIG=y @@ -313,7 +313,7 @@ BR2_LINUX_KERNEL_VERSION="5f69d9305998e4e0385fe84d1516de17a2499b94" BR2_LINUX_KERNEL_PATCH="disable_board.patch" # BR2_LINUX_KERNEL_USE_DEFCONFIG is not set BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="kernelconfig-recovery.armv7" +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="kernelconfig-recovery.armv6" # BR2_LINUX_KERNEL_UIMAGE is not set # BR2_LINUX_KERNEL_APPENDED_UIMAGE is not set BR2_LINUX_KERNEL_ZIMAGE=y diff --git a/recovery/config.h b/recovery/config.h index 34b31e8bc..99e149055 100644 --- a/recovery/config.h +++ b/recovery/config.h @@ -2,7 +2,7 @@ #define CONFIG_H /* Version number displayed in the title bar */ -#define VERSION_NUMBER "3.7" +#define VERSION_NUMBER "3.7.1" /* Color of the background */ // #define BACKGROUND_COLOR Qt::white diff --git a/recovery/mainwindow.cpp b/recovery/mainwindow.cpp index 2d2269498..5568ddd30 100644 --- a/recovery/mainwindow.cpp +++ b/recovery/mainwindow.cpp @@ -4435,7 +4435,7 @@ void MainWindow::downloadUpdateComplete() { qDebug() << "Time to update PINN!"; QProcess::execute("mount -o remount,rw /mnt"); - QProcess::execute("unzip /tmp/pinn-lite.zip -uo -x recovery.cmdline -d /mnt"); + QProcess::execute("unzip /tmp/pinn-lite.zip -o -x recovery.cmdline -d /mnt"); QProcess::execute("mount -o remount,ro /mnt"); QProcess::execute(QString("rm ")+BUILD_IGNORE); QProcess::execute("sync");