Sync from SUSE:SLFO:Main microos-tools revision 25da73a7c80ae31cd2408e9d38fcdca0

This commit is contained in:
Adrian Schröter 2024-10-18 15:41:10 +02:00
parent 967ed8e313
commit e025e07714
6 changed files with 55 additions and 20 deletions

View File

@ -1,5 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/microos-tools.git</param>
<param name="changesrevision">7d23be033a4701998eabd3f1dadea01afce2c910</param></service>
<param name="changesrevision">e3065b9746c929653f34ffa6e639e53e0bbb1d1e</param></service>
</servicedata>

BIN
microos-tools-2.21+git16.obscpio (Stored with Git LFS)

Binary file not shown.

BIN
microos-tools-4.0+git1.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Oct 17 12:54:18 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Update to version 4.0+git1:
* Regenerate initrd after selinux-autorelabel installation
-------------------------------------------------------------------
Mon Oct 07 13:51:51 UTC 2024 - Fabian Vogt <fvogt@suse.com>
- Update to version 4.0:
* Release version 4.0
* Have the autorelabel hook propagate failure from relabelling
* Split SELinux relabelling code into separate package
* Make 98selinux-microos usable on non-transactional systems
* selinux-autorelabel-generator: Don't hardcode mountpoints
* Consistently use tabs in selinux-autorelabel-generator
* Add automated testing of SELinux relabelling functionality
* Fix OBS workflow for pushes to master
-------------------------------------------------------------------
Wed Sep 25 13:13:28 UTC 2024 - Fabian Vogt <fvogt@suse.com>

View File

@ -1,4 +1,4 @@
name: microos-tools
version: 2.21+git16
mtime: 1727267231
commit: 7d23be033a4701998eabd3f1dadea01afce2c910
version: 4.0+git1
mtime: 1729169640
commit: e3065b9746c929653f34ffa6e639e53e0bbb1d1e

View File

@ -19,7 +19,7 @@
%{!?_distconfdir: %global _distconfdir %{_prefix}%{_sysconfdir}}
Name: microos-tools
Version: 2.21+git16
Version: 4.0+git1
Release: 0
Summary: Files and Scripts for openSUSE MicroOS
License: GPL-2.0-or-later
@ -33,12 +33,22 @@ BuildRequires: pkgconfig(dracut)
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(systemd)
Requires: read-only-root-fs
Requires: selinux-autorelabel = %{version}
# for man-online
Requires: mandoc-bin
%description
Files, scripts and directories for openSUSE MicroOS.
%package -n selinux-autorelabel
Summary: Automatic SELinux relabelling during early boot
Requires: /usr/bin/findmnt
Requires: policycoreutils
%description -n selinux-autorelabel
This package contains a dracut module and systemd generator for relabelling
the system during early boot.
%package -n microos-devel-tools
Summary: Tools to develop MicroOS
@ -59,19 +69,14 @@ This package contains tools to make developing of MicroOS easier.
%pre
%service_add_pre setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%post
%{regenerate_initrd_post}
%service_add_post setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%preun
%service_del_preun setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%postun
%{regenerate_initrd_post}
%service_del_postun setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%post
%service_add_post setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%posttrans
%{regenerate_initrd_posttrans}
%postun
%service_del_postun setup-systemd-proxy-env.service setup-systemd-proxy-env.path printenv.service
%pre -n microos-devel-tools
%service_add_pre microos-ro.service
@ -85,8 +90,16 @@ This package contains tools to make developing of MicroOS easier.
%postun -n microos-devel-tools
%service_del_postun microos-ro.service
%post -n selinux-autorelabel
%{regenerate_initrd_post}
%postun -n selinux-autorelabel
%{regenerate_initrd_post}
%posttrans -n selinux-autorelabel
%{regenerate_initrd_posttrans}
%files
%license COPYING
%dir %{_sysconfdir}/selinux
%config %{_sysconfdir}/selinux/fixfiles_exclude_dirs
%{_unitdir}/printenv.service
@ -98,12 +111,15 @@ This package contains tools to make developing of MicroOS easier.
%dir %{_distconfdir}/tukit.conf.d
%{_distconfdir}/tukit.conf.d/salt-tukit.conf
%{_sbindir}/setup-systemd-proxy-env
%{_bindir}/man-online
%{_distconfdir}/profile.d/man-online.sh
%files -n selinux-autorelabel
%license COPYING
%dir %{_prefix}/lib/dracut
%dir %{_prefix}/lib/dracut/modules.d
%{_prefix}/lib/dracut/modules.d/98selinux-microos
%{_systemdgeneratordir}/selinux-autorelabel-generator
%{_bindir}/man-online
%{_distconfdir}/profile.d/man-online.sh
%files -n microos-devel-tools
%{_unitdir}/microos-ro.service