diff options
Diffstat (limited to 'meta-ibs/meta-common/recipes-phosphor/phosphor-u-boot-mgr/phosphor-u-boot-mgr/0001-Change-fw_setenv-and-fw_printenv-path.patch')
-rw-r--r-- | meta-ibs/meta-common/recipes-phosphor/phosphor-u-boot-mgr/phosphor-u-boot-mgr/0001-Change-fw_setenv-and-fw_printenv-path.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-ibs/meta-common/recipes-phosphor/phosphor-u-boot-mgr/phosphor-u-boot-mgr/0001-Change-fw_setenv-and-fw_printenv-path.patch b/meta-ibs/meta-common/recipes-phosphor/phosphor-u-boot-mgr/phosphor-u-boot-mgr/0001-Change-fw_setenv-and-fw_printenv-path.patch deleted file mode 100644 index a7628d448e..0000000000 --- a/meta-ibs/meta-common/recipes-phosphor/phosphor-u-boot-mgr/phosphor-u-boot-mgr/0001-Change-fw_setenv-and-fw_printenv-path.patch +++ /dev/null @@ -1,30 +0,0 @@ -From c4efc32e4426d93131d8e55276e2103cdcf2a5a4 Mon Sep 17 00:00:00 2001 -From: "Evgeny Alekseev (IBS Group)" <ealekseev@ibs.sila.ru> -Date: Wed, 21 Sep 2022 13:14:17 +0300 -Subject: [PATCH] Change fw_setenv and fw_printenv path - ---- - src/u-boot-env-mgr.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/u-boot-env-mgr.cpp b/src/u-boot-env-mgr.cpp -index 30c8656..790ee77 100644 ---- a/src/u-boot-env-mgr.cpp -+++ b/src/u-boot-env-mgr.cpp -@@ -83,7 +83,7 @@ UBootEnvMgr::UBootEnvMgr(boost::asio::io_service& io_, - std::unordered_map<std::string, std::string> UBootEnvMgr::readAllVariable() - { - std::unordered_map<std::string, std::string> env; -- std::vector<std::string> output = executeCmd("/sbin/fw_printenv"); -+ std::vector<std::string> output = executeCmd("/usr/bin/fw_printenv"); - for (const auto& entry : output) - { - size_t pos = entry.find("="); -@@ -105,6 +105,6 @@ std::unordered_map<std::string, std::string> UBootEnvMgr::readAllVariable() - void UBootEnvMgr::writeVariable(const std::string& key, - const std::string& value) - { -- executeCmd("/sbin/fw_setenv", key.c_str(), value.c_str()); -+ executeCmd("/usr/bin/fw_setenv", key.c_str(), value.c_str()); - return; - } |