[OpenAFS-devel] Proposed afs-filesystem package for Fedora to add /afs
David Howells
dhowells@redhat.com
Fri, 07 Jun 2019 16:02:37 +0100
Here's a new package, afs-filesystem, that I'm going to propose for Fedora.
All it does is create the /afs directory and reapply the security label to it.
This has been okayed by the Fedora Packaging Committee:
https://pagure.io/packaging-committee/issue/888
They have also offered the alternative of adding the /afs directly to the
filesystem package.
The package consists of just the attached specfile. It simplifies management
of the /afs directory as rpm can't handle an upgrade to a package that also
specifies the directory. With a package the only creates the directory and
does nothing else, hopefully upgrading will not be necessary.
This will also be usable by packages for other AFS clients, such as OpenAFS.
David
---
Name: afs-filesystem
Version: 1.0
Release: 1%{?dist}
Summary: The AFS dynamic filesystem mountpoint directory
License: Public Domain
URL: https://www.infradead.org/~dhowells/afs-filesystem.spec
BuildArch: noarch
BuildRequires: filesystem
%description
Provide the /afs directory that the AFS dynamic root gets mounted upon.
%prep
%build
%install
mkdir -p %{buildroot}/afs
%posttrans
restorecon /afs 2>/dev/null >/dev/null || :
%files
%dir %attr(555,root,root) /afs
%changelog
* Fri Jun 7 2019 David Howells <dhowells@redhat.com> 1.0-1
- Initial commit