fix 'nestos-installer iso' command error
This commit is contained in:
parent
bc000c28c9
commit
0ee47ccf94
12
fix-nestos-installer-iso-command-error.patch
Normal file
12
fix-nestos-installer-iso-command-error.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- nestos-installer-v0.14.0/src/iso9660.rs 2022-06-14 16:41:41.000000000 +0800
|
||||
+++ nestos-installer-v0.14.0-new/src/iso9660.rs 2022-08-23 13:42:03.469259308 +0800
|
||||
@@ -120,6 +120,9 @@ impl IsoFs {
|
||||
.with_context(|| format!("listing directory {}", dir.name))?
|
||||
{
|
||||
let record = record?;
|
||||
+ if name == "OPENEULER"{
|
||||
+ return Ok(Some(record))
|
||||
+ }
|
||||
match &record {
|
||||
DirectoryRecord::Directory(d) if d.name == name => return Ok(Some(record)),
|
||||
DirectoryRecord::File(f) if f.name == name => return Ok(Some(record)),
|
||||
@ -10,7 +10,7 @@
|
||||
|
||||
Name: rust-nestos-installer
|
||||
Version: 0.14.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Installer for NestOS
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
@ -18,7 +18,7 @@ License: ASL 2.0
|
||||
URL: https://gitee.com/openeuler/nestos-installer
|
||||
Source0: https://gitee.com/openeuler/nestos-installer/repository/archive/v%{version}.tar.gz
|
||||
Source1: %{crate}-%{version}-vendor.tar.gz
|
||||
|
||||
Patch01: fix-nestos-installer-iso-command-error.patch
|
||||
|
||||
BuildRequires: rust-packaging openssl-devel
|
||||
BuildRequires: systemd
|
||||
@ -110,6 +110,9 @@ This subpackage contains boot-time infrastructure for NestOS. It is not needed
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Aug 23 2022 fushanqing <fushanqing@kylinos.cn> - 0.14.0-2
|
||||
- fix 'nestos-installer iso' command error
|
||||
|
||||
* Mon Jun 13 2022 duyiwei <duyiwei@kylinos.cn> - 0.14.0-1
|
||||
- upgrade to 0.14.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user