Accepting request 589668 from devel:CaaSP

- Disable multiversion feature of libzypp at install time
- Document, that this package should never be installed in a
  running system, only during installation

- Update to version 1.0+git20180321.a5b34ab:
  * Disable purge-kernels.service, does not work with read-only
    root filesystem 
  * Enable man-db-create.service, man cannot create cache in %post
  * Fix OBS URL

OBS-URL: https://build.opensuse.org/request/show/589668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/read-only-root-fs?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-03-28 08:28:41 +00:00 committed by Git OBS Bridge
parent e8dbbe2c2c
commit 23bf431121
5 changed files with 34 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/openSUSE/read-only-root-fs.git</param>
<param name="changesrevision">44d5e8a57eb43bc854226288e5f615dd9d09b252</param>
<param name="changesrevision">a5b34abb9733656ccb5dea55b5df3f5504f21cfd</param>
</service>
</servicedata>

View File

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

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Mar 21 09:38:22 CET 2018 - kukuk@suse.de
- Disable multiversion feature of libzypp at install time
- Document, that this package should never be installed in a
running system, only during installation
-------------------------------------------------------------------
Wed Mar 21 06:09:40 UTC 2018 - kukuk@suse.de
- Update to version 1.0+git20180321.a5b34ab:
* Disable purge-kernels.service, does not work with read-only
root filesystem
* Enable man-db-create.service, man cannot create cache in %post
* Fix OBS URL
-------------------------------------------------------------------
Fri Mar 2 09:42:47 UTC 2018 - rbrown@suse.com

View File

@ -17,7 +17,7 @@
Name: read-only-root-fs
Version: 1.0+git20180227.44d5e8a
Version: 1.0+git20180321.a5b34ab
Release: 0
Summary: Files and Scripts for a RO root fileystem
License: GPL-2.0-or-later
@ -27,12 +27,21 @@ Source: read-only-root-fs-%{version}.tar.xz
Source1: README.packaging.txt
Requires(post): coreutils
Requires(post): grep
Requires: sed
BuildArch: noarch
%description
Files, scripts and directories to run the system with a
read-only root filesystem with %{_sysconfdir} writeable via overlayfs.
This package should never be installed in an already running
system! It should only be selected by a system role for a
read-only root filesystem with transactional updates.
A new file /etc/fstab.sys is created and included in the initrd.
The multiversion features of libzypp and the purge-kernel service
will be disabled.
%prep
%setup -q
@ -50,6 +59,9 @@ if [ -f %{_sysconfdir}/fstab -a ! -f %{_sysconfdir}/fstab.sys ]; then
fi
exit 0
%posttrans
sed -i 's/^multiversion =.*/multiversion =/g' /etc/zypp/zypp.conf
%files
%license COPYING
%{_sbindir}/setup-fstab.sys-for-overlayfs
@ -57,5 +69,6 @@ exit 0
%dir %{_prefix}/lib/dracut
%dir %{_prefix}/lib/dracut/modules.d
%{_prefix}/lib/dracut/modules.d/99read-only-root-fs
%{_prefix}/lib/systemd/system-preset/*
%changelog