Updating link to change in openSUSE:Factory/sdbootutil revision 2

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=398443f94a140e2a7dfb43dd89e9ec56
This commit is contained in:
OBS User buildservice-autocommit 2023-07-28 20:20:05 +00:00 committed by Git OBS Bridge
parent f224ec0abe
commit c6e9881daa
6 changed files with 60 additions and 52 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/lnussel/sdbootutil.git</param>
<param name="changesrevision">f5c7e48bca77729870773e940df9426ee83c5ae5</param></service></servicedata>
<param name="changesrevision">a0e666f3d0a6ec524f26b7c30d0ff1ee02b9e96e</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10ba0f22cf74511399c425a064400f3381c29c5fc8a95adfd014434f7568cdd0
size 322571

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfa6d39b576ca3a48194db9fbb4badc1c6a368a02161fc07e8b6f33c11da2fb5
size 336395

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Thu Jul 27 14:32:09 UTC 2023 - lnussel@suse.com
- Update to version 1+git20230727.a0e666f:
* Set and honor $SYSTEMD_ESP_PATH
* rpm-script: don't remove kernel on reinstalls
-------------------------------------------------------------------
Wed Jul 26 16:22:10 UTC 2023 - lnussel@suse.com
- Update to version 1+git20230726.a994d2e:
* Fix installing extra kernels in MicroOS
* Replace file triggers with scriptlet
* Fix cleanup of rollback files
* Don't install unchanged files
* Add is-bootable and list-kernels commands
* Add ARCHITECTURE.md which explains how the setup works
* Add default loader config when installed
-------------------------------------------------------------------
Mon Jul 17 09:16:02 UTC 2023 - lnussel@suse.com
- Update to version 1+git20230717.dac075e:
* Install default boot loader in non-secure-boot case too
-------------------------------------------------------------------
Thu Jul 13 12:04:12 UTC 2023 - lnussel@suse.de
- Update to version 1+git20230713.df6eaca:
* Update features
* Call stty only in interactive mode
* silence stty errors
-------------------------------------------------------------------
Thu Jul 13 08:09:49 UTC 2023 - lnussel@suse.de
- Update to version 1+git20230713.356f0c5:
* Fix rpm dependencies
-------------------------------------------------------------------
Tue Jul 11 11:41:45 UTC 2023 - lnussel@suse.com

View File

@ -1,4 +1,4 @@
name: sdbootutil
version: 1+git20230711.f5c7e48
mtime: 1689075604
commit: f5c7e48bca77729870773e940df9426ee83c5ae5
version: 1+git20230727.a0e666f
mtime: 1690467432
commit: a0e666f3d0a6ec524f26b7c30d0ff1ee02b9e96e

View File

@ -27,28 +27,20 @@ BuildRequires: git-core
%define git_version %{nil}
%endif
Name: sdbootutil
Version: 1+git20230711.f5c7e48%{git_version}
Version: 1+git20230727.a0e666f%{git_version}
Release: 0
Summary: script to install shim with sd-boot
License: MIT
URL: https://en.opensuse.org/openSUSE:Usr_merge
Source: %{name}-%{version}.tar
# XXX systemd-boot is in udev
Requires: jq
Requires: sed
Supplements: (udev and shim)
Requires: systemd-boot
Supplements: (systemd-boot and shim)
%description
Hook scripts to install shim along with systemd-boot
%package filetriggers
Summary: File triggers for sdbootutil
Requires: sdbootutil >= %{version}-%{release}
Conflicts: (suse-module-tools with suse-kernel-rpm-scriptlets)
%description filetriggers
File trigger scripts for sdbootutil
%package snapper
Summary: plugin script for snapper
Requires: %{name} = %{version}
@ -62,8 +54,12 @@ Plugin scripts for snapper to handle BLS config files
%package rpm-scriptlets
Summary: dummy scriptlets for the kernel
# make sure to not replace scriptlets with nops on systems that
# use grub2
Conflicts: grub2
Conflicts: suse-kernel-rpm-scriptlets
Provides: suse-kernel-rpm-scriptlets
Obsoletes: %{name}-filetriggers < %{version}
%description rpm-scriptlets
Empty scriptlets to satisfy kernel dependencies
@ -74,11 +70,16 @@ Empty scriptlets to satisfy kernel dependencies
%build
%install
install -D -m 644 kernelhooks.lua %{buildroot}%{_rpmconfigdir}/lua/kernelhooks.lua
install -D -m 755 sdbootutil %{buildroot}%{_bindir}/sdbootutil
mkdir -p %{buildroot}%{_prefix}/lib/module-init-tools/kernel-scriptlets
for a in cert inkmp kmp rpm; do
for a in rpm; do
install -m 755 "$a-script" %{buildroot}%{_prefix}/lib/module-init-tools/kernel-scriptlets
for b in post posttrans postun pre preun; do
ln -s "$a-script" %{buildroot}%{_prefix}/lib/module-init-tools/kernel-scriptlets/$a-$b
done
done
for a in cert inkmp kmp; do
for b in post posttrans postun pre preun; do
ln -s /bin/true %{buildroot}%{_prefix}/lib/module-init-tools/kernel-scriptlets/$a-$b
done
@ -90,42 +91,10 @@ for i in 10-sdbootutil.snapper; do
install -m 755 $i %{buildroot}%{_prefix}/lib/snapper/plugins/$i
done
%transfiletriggerin filetriggers -p <lua> -- %{_prefix}/lib/modules/
require("kernelhooks")
if posix.getenv("VERBOSE_FILETRIGGERS") then
kernelhooks.debug = "%{nvr}(in)"
end
file = rpm.next_file()
while file do
kernelhooks.filter(file)
file = rpm.next_file()
end
kernelhooks.add()
io.flush()
%transfiletriggerun filetriggers -p <lua> -- %{_prefix}/lib/modules/
-- the module is already gone if we get called for ourselves
if pcall(require, 'kernelhooks') then
if posix.getenv("VERBOSE_FILETRIGGERS") then
kernelhooks.debug = "%{nvr}(postun)"
end
file = rpm.next_file()
while file do
kernelhooks.filter(file)
file = rpm.next_file()
end
kernelhooks.remove()
io.flush()
end
%files
%license LICENSE
%{_bindir}/sdbootutil
%files filetriggers
%dir %{_rpmconfigdir}/lua
%{_rpmconfigdir}/lua/kernelhooks.lua
%files rpm-scriptlets
%dir %{_prefix}/lib/module-init-tools
%{_prefix}/lib/module-init-tools/*