Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
readonly_root
readonly_root.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File readonly_root.spec of Package readonly_root
# # spec file for package readonly_root # # Copyright (c) 2014 SUSE LINUX Products 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: readonly_root Version: 12+git20140320.d377586 Release: 0 Requires: aaa_base Requires: systemd BuildRequires: xz BuildArch: noarch Url: https://github.com/openSUSE/readonly-root Summary: Read-only root scripts License: GPL-2.0+ Group: System/Base BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: readonly_root-%{version}.tar.xz PreReq: %fillup_prereq # systemd idiosyncrasies %if 0%{?suse_version} >= 1210 BuildRequires: systemd %endif %{?systemd_requires} %description This package installs scripts and a systemd service for permitting a read-only root filesystem. %prep %setup -q %build %install make DESTDIR=$RPM_BUILD_ROOT install install -d -m 755 %buildroot/var/lib/readonlyroot/state install -d -m 755 %buildroot/var/lib/readonlyroot/scratch ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcreadonly-root %pre %service_add_pre readonly-root.service %post %service_add_post readonly-root.service %{fillup_only -n readonlyroot} %preun %service_del_preun readonly-root.service %postun %service_del_postun readonly-root.service %files %defattr(-,root,root) %config /etc/rwtab %config /var/adm/fillup-templates/sysconfig.readonlyroot /usr/sbin/readonly-setup %{_sbindir}/rcreadonly-root /usr/share/man/man5/rwtab.5* /usr/lib/systemd/system/readonly-root.service /var/lib/readonlyroot /var/lib/readonlyroot/state /var/lib/readonlyroot/scratch %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor