Sync from SUSE:SLFO:Main kernel-install-tools revision 8df5962fb9c7ec9078174464a1dd261d
This commit is contained in:
commit
d8cea21584
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/jeffmahoney/kernel-install-tools.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="revision">main</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">kernel-install-tools</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param>
|
||||||
|
<param name="extract">kernel-install-tools.spec</param>
|
||||||
|
</service>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual"/>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/jeffmahoney/kernel-install-tools.git</param>
|
||||||
|
<param name="changesrevision">a0bc24c053516ae409980e03c5c00d1a7515598d</param></service></servicedata>
|
BIN
kernel-install-tools-0.3.0.obscpio
(Stored with Git LFS)
Normal file
BIN
kernel-install-tools-0.3.0.obscpio
(Stored with Git LFS)
Normal file
Binary file not shown.
2
kernel-install-tools-rpmlintrc
Normal file
2
kernel-install-tools-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# This package is noarch but it requires packages that vary by architecture
|
||||||
|
addFilter("no-binary")
|
64
kernel-install-tools.changes
Normal file
64
kernel-install-tools.changes
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 12:36:48 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||||
|
|
||||||
|
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 29 13:27:32 UTC 2022 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to version v0.3.0:
|
||||||
|
* specfile: accept OBS cleanups
|
||||||
|
* specfile: fix UsrMerge support
|
||||||
|
* specfile: silence OBS warning about no-binary
|
||||||
|
* specfile: fix license tag
|
||||||
|
* Makefile: install the installkernel script directly in /sbin
|
||||||
|
* installkernel: Don't force hostonly
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 11 14:45:52 UTC 2022 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
- Integrate required spec file changes for non-x86.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 10 18:49:15 UTC 2022 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.10:
|
||||||
|
* Support non-x86 architectures.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 10 19:56:48 UTC 2021 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
- Cleaned up rpmlint warnings and made usrmerge support cleaner.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 10 19:47:37 UTC 2021 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.8:
|
||||||
|
* Makefile: create symlink to /sbin/installkernel if /sbin != /usr/sbin
|
||||||
|
* installkernel: remove 'function' bashism
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 10 19:20:24 UTC 2021 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
- Changed set_version to manual and added usrmerge distinction.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 10 18:33:12 UTC 2021 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
- Changed obs_scm mode to manual and set_version mode to buildtime.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Aug 29 18:38:35 UTC 2021 - jeffm@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.2.6:
|
||||||
|
* scripts: move messages around to better handle skipped enrollment
|
||||||
|
* sbtool-sign-kernel: handle kernels without signing keys configured
|
||||||
|
* sbtool-enroll-key: handle non-UEFI systems more gracefully
|
||||||
|
* sbtool-sign-kernel: do not automatically enroll kernel-built certificates
|
||||||
|
* scripts: fix paths to other scripts
|
||||||
|
* packaging: fix up spec file after initial OBS builds
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 27 20:17:25 UTC 2021 - Jeff Mahoney <jeffm@suse.com>
|
||||||
|
|
||||||
|
- Initial packaging.
|
4
kernel-install-tools.obsinfo
Normal file
4
kernel-install-tools.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: kernel-install-tools
|
||||||
|
version: 0.3.0
|
||||||
|
mtime: 1648560424
|
||||||
|
commit: a0bc24c053516ae409980e03c5c00d1a7515598d
|
67
kernel-install-tools.spec
Normal file
67
kernel-install-tools.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package kernel-install-tools
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: kernel-install-tools
|
||||||
|
Version: 0.3.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Useful tools for installing self-built kernels
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
License: GPL-2.0-only
|
||||||
|
URL: https://github.com/jeffmahoney/kernel-install-tools
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
Source1: %{name}-rpmlintrc
|
||||||
|
Requires: openssl
|
||||||
|
%ifarch ia64 %ix86 x86_64 aarch64 %arm riscv64
|
||||||
|
Requires: mozilla-nss-tools
|
||||||
|
Requires: pesign
|
||||||
|
%else
|
||||||
|
Requires: kernel-default-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
A collection of tools useful for installing self-built kernels.
|
||||||
|
|
||||||
|
In addition to the baseline /sbin/installkernel, this package includes
|
||||||
|
several tools for properly signing and installing kernels and certificates
|
||||||
|
for use on systems with UEFI Secure Boot enabled.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
mv %{buildroot}/sbin/installkernel %{buildroot}/usr/sbin/installkernel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc README.md
|
||||||
|
%{_bindir}/sbtool-genkey
|
||||||
|
%{_bindir}/sbtool-sign-kernel
|
||||||
|
%{_sbindir}/sbtool-enroll-key
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
|
%{_sbindir}/installkernel
|
||||||
|
%else
|
||||||
|
/sbin/installkernel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user