Dominique Leuenberger 2018-02-28 19:02:36 +00:00 committed by Git OBS Bridge
commit 569bd0135e
8 changed files with 128 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

11
README.packaging.txt Normal file
View File

@ -0,0 +1,11 @@
This package should use just the content of the git tree. If you need
to make changes, make them in git and update the package from git (you
can send merge request if you don't have write access).
The online repository is at:
http://github.com/openSUSE/read-only-root-fs
For building the package from git run the service directly:
osc service disabledrun
Note that spec and changes files are not part of the git repo.

14
_service Normal file
View File

@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">1.0</param>
<param name="versionformat">1.0+git%cd.%h</param>
<param name="url">git://github.com/openSUSE/read-only-root-fs.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

6
_servicedata Normal file
View File

@ -0,0 +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>
</service>
</servicedata>

View File

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

11
read-only-root-fs.changes Normal file
View File

@ -0,0 +1,11 @@
-------------------------------------------------------------------
Tue Feb 27 14:57:51 UTC 2018 - kukuk@suse.de
- Update to version 1.0+git20180227.44d5e8a:
* Initial import of read-only-root-fs stuff from caasp-tools
-------------------------------------------------------------------
Tue Feb 27 15:43:59 CET 2018 - kukuk@suse.de
- Initial version

59
read-only-root-fs.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package read-only-root-fs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: read-only-root-fs
Version: 1.0+git20180227.44d5e8a
Release: 0
Summary: Files and Scripts for a RO root fileystem
License: GPL-2.0-or-later
Group: System/Fhs
URL: https://github.com/openSUSE/read-only-root-fs
Source: read-only-root-fs-%{version}.tar.xz
Source1: README.packaging.txt
BuildArch: noarch
%description
Files, scripts and directories to run the system with a
read-only root filesystem with %{_sysconfdir} writeable via overlayfs.
%prep
%setup -q
%build
%install
cp -a usr %{buildroot}
mkdir -p %{buildroot}%{_localstatedir}/lib/overlay
mkdir -p %{buildroot}%{_localstatedir}/lib/overlay/etc
mkdir -p %{buildroot}%{_localstatedir}/lib/overlay/work-etc
%post
if [ -f %{_sysconfdir}/fstab -a ! -f %{_sysconfdir}/fstab.sys ]; then
%{_sbindir}/setup-fstab.sys-for-overlayfs ||:
fi
exit 0
%files
%license COPYING
%{_sbindir}/setup-fstab.sys-for-overlayfs
%{_localstatedir}/lib/overlay
%dir %{_prefix}/lib/dracut
%dir %{_prefix}/lib/dracut/modules.d
%{_prefix}/lib/dracut/modules.d/99read-only-root-fs
%changelog