!5 Use installed packages instead of dnf downloading
From: @maminjie Reviewed-by: @zhanghua1831,@small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
487ad625f7
25
0002-use-installed-packages-instead-of-dnf-downloading.patch
Normal file
25
0002-use-installed-packages-instead-of-dnf-downloading.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From bb6a164d258c70d69b74e946f9e01d1503d66df0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: maminjie <maminjie1@huawei.com>
|
||||||
|
Date: Tue, 15 Dec 2020 16:39:20 +0800
|
||||||
|
Subject: [PATCH] use installed packages instead of dnf downloading
|
||||||
|
|
||||||
|
---
|
||||||
|
src/supermin.ml | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/supermin.ml b/src/supermin.ml
|
||||||
|
index f9798f9..7e4bd6c 100644
|
||||||
|
--- a/src/supermin.ml
|
||||||
|
+++ b/src/supermin.ml
|
||||||
|
@@ -91,7 +91,7 @@ let main () =
|
||||||
|
let mode = ref None in
|
||||||
|
let outputdir = ref "" in
|
||||||
|
let packager_config = ref "" in
|
||||||
|
- let use_installed = ref false in
|
||||||
|
+ let use_installed = ref true in
|
||||||
|
let size = ref None in
|
||||||
|
let include_packagelist = ref false in
|
||||||
|
|
||||||
|
--
|
||||||
|
2.23.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: supermin
|
Name: supermin
|
||||||
Version: 5.1.19
|
Version: 5.1.19
|
||||||
Release: 10
|
Release: 11
|
||||||
Summary: A tool for building supermin appliances, required by libguestfs
|
Summary: A tool for building supermin appliances, required by libguestfs
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://libguestfs.org/
|
URL: http://libguestfs.org/
|
||||||
@ -8,6 +8,7 @@ Source0: http://libguestfs.org/download/supermin/%{name}-%{version}.tar.g
|
|||||||
Source1: supermin.attr
|
Source1: supermin.attr
|
||||||
Source2: supermin-find-requires
|
Source2: supermin-find-requires
|
||||||
Patch0001: 0001-Fix-Bytes-String-for-OCaml-4.06.patch
|
Patch0001: 0001-Fix-Bytes-String-for-OCaml-4.06.patch
|
||||||
|
Patch0002: 0002-use-installed-packages-instead-of-dnf-downloading.patch
|
||||||
Patch9000: 9000-fix-cannot-detect-package-manager-on-openeuler.patch
|
Patch9000: 9000-fix-cannot-detect-package-manager-on-openeuler.patch
|
||||||
BuildRequires: augeas dietlibc-devel dnf dnf-plugins-core e2fsprogs-devel
|
BuildRequires: augeas dietlibc-devel dnf dnf-plugins-core e2fsprogs-devel
|
||||||
BuildRequires: findutils gnupg2 grubby hivex kernel ocaml ocaml-findlib-devel
|
BuildRequires: findutils gnupg2 grubby hivex kernel ocaml ocaml-findlib-devel
|
||||||
@ -66,6 +67,9 @@ install -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_rpmconfigdir}/
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 16 2020 maminjie <maminjie1@huawei.com> - 5.1.19-11
|
||||||
|
- Use installed packages instead of dnf downloading
|
||||||
|
|
||||||
* Mon Mar 2 2020 Ling Yang <lingyang2@huawei.com> - 5.1.19-10
|
* Mon Mar 2 2020 Ling Yang <lingyang2@huawei.com> - 5.1.19-10
|
||||||
- Add devel package
|
- Add devel package
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user