Split out systemd-boot-unsigned package
This commit is contained in:
parent
da37ad3139
commit
54a3b6f942
@ -17,6 +17,7 @@ def files(root):
|
|||||||
|
|
||||||
o_libs = open('.file-list-libs', 'w')
|
o_libs = open('.file-list-libs', 'w')
|
||||||
o_udev = open('.file-list-udev', 'w')
|
o_udev = open('.file-list-udev', 'w')
|
||||||
|
o_boot = open('.file-list-boot', 'w')
|
||||||
o_pam = open('.file-list-pam', 'w')
|
o_pam = open('.file-list-pam', 'w')
|
||||||
o_rpm_macros = open('.file-list-rpm-macros', 'w')
|
o_rpm_macros = open('.file-list-rpm-macros', 'w')
|
||||||
o_devel = open('.file-list-devel', 'w')
|
o_devel = open('.file-list-devel', 'w')
|
||||||
@ -133,7 +134,6 @@ for file in files(buildroot):
|
|||||||
systemd-pcrphase|
|
systemd-pcrphase|
|
||||||
systemd-measure|
|
systemd-measure|
|
||||||
/boot$|
|
/boot$|
|
||||||
/boot/efi|
|
|
||||||
/kernel/|
|
/kernel/|
|
||||||
/kernel$|
|
/kernel$|
|
||||||
/modprobe.d|
|
/modprobe.d|
|
||||||
@ -147,6 +147,9 @@ for file in files(buildroot):
|
|||||||
# confused if those user-facing binaries are not available.
|
# confused if those user-facing binaries are not available.
|
||||||
o = o_udev
|
o = o_udev
|
||||||
|
|
||||||
|
elif re.search(r'''/boot/efi''', n, re.X):
|
||||||
|
o = o_boot
|
||||||
|
|
||||||
elif re.search(r'''resolved|resolve1|
|
elif re.search(r'''resolved|resolve1|
|
||||||
systemd-resolve|
|
systemd-resolve|
|
||||||
resolvconf|
|
resolvconf|
|
||||||
|
23
systemd.spec
23
systemd.spec
@ -28,7 +28,7 @@
|
|||||||
%bcond_with inplace
|
%bcond_with inplace
|
||||||
|
|
||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://systemd.io
|
||||||
%if %{without inplace}
|
%if %{without inplace}
|
||||||
Version: 252.2
|
Version: 252.2
|
||||||
%else
|
%else
|
||||||
@ -331,6 +331,9 @@ Requires: kbd
|
|||||||
Provides: u2f-hidraw-policy = 1.0.2-40
|
Provides: u2f-hidraw-policy = 1.0.2-40
|
||||||
Obsoletes: u2f-hidraw-policy < 1.0.2-40
|
Obsoletes: u2f-hidraw-policy < 1.0.2-40
|
||||||
|
|
||||||
|
# self-obsoletes to install both packages after split of systemd-boot
|
||||||
|
Obsoletes: systemd-udev < 252.2^
|
||||||
|
|
||||||
%description udev
|
%description udev
|
||||||
This package contains systemd-udev and the rules and hardware database needed to
|
This package contains systemd-udev and the rules and hardware database needed to
|
||||||
manage device nodes. This package is necessary on physical machines and in
|
manage device nodes. This package is necessary on physical machines and in
|
||||||
@ -341,6 +344,22 @@ This package also provides systemd-timesyncd, a network time protocol daemon.
|
|||||||
It also contains tools to manage encrypted home areas and secrets bound to the
|
It also contains tools to manage encrypted home areas and secrets bound to the
|
||||||
machine, and to create or grow partitions and make file systems automatically.
|
machine, and to create or grow partitions and make file systems automatically.
|
||||||
|
|
||||||
|
%package boot-unsigned
|
||||||
|
Summary: UEFI boot manager (unsigned version)
|
||||||
|
|
||||||
|
Provides: systemd-boot-unsigned-%{efi_arch} = %version-%release
|
||||||
|
|
||||||
|
# self-obsoletes to install both packages after split of systemd-boot
|
||||||
|
Obsoletes: systemd-udev < 252.2^
|
||||||
|
|
||||||
|
%description boot-unsigned
|
||||||
|
systemd-boot (short: sd-boot) is a simple UEFI boot manager. It provides a
|
||||||
|
graphical menu to select the entry to boot and an editor for the kernel command
|
||||||
|
line. systemd-boot supports systems with UEFI firmware only.
|
||||||
|
|
||||||
|
This package contains the unsigned version. Install systemd-boot instead to get
|
||||||
|
the version that works with Secure Boot.
|
||||||
|
|
||||||
%package container
|
%package container
|
||||||
# Name is the same as in Debian
|
# Name is the same as in Debian
|
||||||
Summary: Tools for containers and VMs
|
Summary: Tools for containers and VMs
|
||||||
@ -994,6 +1013,8 @@ fi
|
|||||||
|
|
||||||
%files udev -f .file-list-udev
|
%files udev -f .file-list-udev
|
||||||
|
|
||||||
|
%files boot-unsigned -f .file-list-boot
|
||||||
|
|
||||||
%files container -f .file-list-container
|
%files container -f .file-list-container
|
||||||
%ghost %dir %attr(0700,-,-) /var/lib/machines
|
%ghost %dir %attr(0700,-,-) /var/lib/machines
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user