Compare commits

...

No commits in common. "c8-stream-1.0" and "c10s" have entirely different histories.

12 changed files with 179 additions and 98 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

View File

@ -1 +0,0 @@
9278edb01b216008080462f43b47efeba7706708 SOURCES/fuse-overlayfs-6d269aa.tar.gz

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/fuse-overlayfs-6d269aa.tar.gz
/*.tar.*

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# fuse-overlayfs
The fuse-overlayfs package

View File

@ -1,96 +0,0 @@
%global git0 https://github.com/containers/%{name}
%global commit0 6d269aa28e3fe78c117fecb5e2cb8e1e231fcb10
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: fuse-overlayfs
Version: 0.3
Release: 5%{?dist}
Summary: FUSE overlay+shiftfs implementation for rootless containers
License: GPLv3+
URL: %{git0}
# no go-md2man in ix86
ExcludeArch: %{ix86} ppc64
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fuse3-devel
BuildRequires: gcc
BuildRequires: git
BuildRequires: go-md2man
BuildRequires: make
Provides: bundled(gnulib) = cb634d40c7b9bbf33fa5198d2e27fdab4c0bf143
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
%prep
%autosetup -Sgit -n %{name}-%{commit0}
%build
./autogen.sh
./configure --prefix=%{_usr} --libdir=%{_libdir}
%{__make} generate-man
%install
make DESTDIR=%{buildroot} install install-man
%check
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Mon Aug 19 2019 Jindrich Novy <jnovy@redhat.com> - 0.3-5
- revert fuse-overlayfs to commit 6d269aa
- Resolves: #1720707
* Wed Feb 20 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-4.dev.gitd760789
- rebase
* Wed Jan 16 2019 Frantisek Kluknavsky <fkluknav@redhat.com> - 0.3-2
- rebase
- Resolves:#1666510
* Wed Oct 17 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-7.dev.git50c7a50
- Resolves: #1640232
- built commit 50c7a50
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-6.dev.git1c72a1a
- Resolves: #1614856 - add manpage
- built commit 1c72a1a
- add BR: go-md2man
* Fri Aug 10 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-5.dev.gitd40ac75
- built commit d40ac75
- remove fedora bz ids
- Exclude ix86 and ppc64
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-4.dev.git79c70fd
- Resolves: #1609598 - initial upload to Fedora
- bundled gnulib
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-3.dev.git79c70fd
- correct license field
* Mon Jul 30 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-2.dev.git79c70fd
- fix license
* Sun Jul 29 2018 Lokesh Mandvekar <lsm5@fedoraproject.org> - 0.1-1.dev.git13575b6
- First package for Fedora

2
fuse-overlayfs.rpmlintrc Normal file
View File

@ -0,0 +1,2 @@
addFilter(r'hardcoded-library-path')
addFilter(r'spelling-error.*shiftfs')

85
fuse-overlayfs.spec Normal file
View File

@ -0,0 +1,85 @@
%global git0 https://github.com/containers/%{name}
%{!?_modulesloaddir:%global _modulesloaddir %{_usr}/lib/modules-load.d}
Name: fuse-overlayfs
Version: 1.16
Release: 1%{?dist}
Summary: FUSE overlay+shiftfs implementation for rootless containers
License: GPLv3+
URL: %{git0}
ExclusiveArch: aarch64 %{arm} ppc64le s390x x86_64 riscv64
Source0: %{git0}/archive/v%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: fuse3-devel
BuildRequires: gcc
BuildRequires: git-core
BuildRequires: /usr/bin/go-md2man
BuildRequires: make
Requires: kmod
Requires: fuse3
%description
%{summary}.
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel
%{summary}
This package contains library source intended for
building other packages which use import path with
%{import_path} prefix.
%prep
%autosetup -Sgit
%build
export CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
export LDFLAGS="-pie -Wl,-z,relro -Wl,-z,now"
./autogen.sh
./configure --prefix=%{_usr} --libdir=%{_libdir}
%{__make} generate-man
%install
make DESTDIR=%{buildroot} install install-man
install -d %{buildroot}%{_modulesloaddir}
echo fuse > %{buildroot}%{_modulesloaddir}/fuse-overlayfs.conf
%post
modprobe fuse > /dev/null 2>&1 || :
%check
#define license tag if not already defined
%{!?_licensedir:%global license %doc}
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}
%{_mandir}/man1/*
%{_modulesloaddir}/fuse-overlayfs.conf
%changelog
* Fri Nov 14 2025 Jindrich Novy <jnovy@redhat.com> - 1.16-1
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.16
- Resolves: RHEL-128521
* Fri May 09 2025 Jindrich Novy <jnovy@redhat.com> - 1.15-1
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.15
- Related: RHEL-80817
* Fri Mar 14 2025 JasenChao <JasenChao@gmail.com> - 1.14-3
- Add riscv64 arch
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.14-2
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jul 15 2024 Jindrich Novy <jnovy@redhat.com> - 1.14-1
- update to https://github.com/containers/fuse-overlayfs/releases/tag/v1.14
- Related: RHEL-39410

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
# recipients: jnovy, lsm5, santiago
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules: []

27
plans/system.fmf Normal file
View File

@ -0,0 +1,27 @@
summary: Rootless podman systemtest for fuse-overlayfs
discover:
how: fmf
filter: 'tag:local & tag:rootless & tag:system'
execute:
how: tmt
provision:
how: artemis
hardware:
memory: ">= 4 GB"
cpu:
cores: ">= 2"
disk:
- size: ">= 32 GB"
prepare:
- how: shell
script: |
BATS_VERSION=1.12.0
curl -L https://github.com/bats-core/bats-core/archive/refs/tags/v"$BATS_VERSION".tar.gz | tar -xz
cd bats-core-"$BATS_VERSION"
./install.sh /usr
order: 10

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (v1.16.tar.gz) = d72ef0881b788c8f907e0e83bbb5aaa93f37068670781443401234ae04b7347f216bf88fced429d8f6ad76790fa2de6267fd6f6da8327b0d1bb5902b1a5ec468

24
tests/tmt/system.fmf Normal file
View File

@ -0,0 +1,24 @@
summary: Rootless podman systemtest for fuse-overlayfs
tag: [ local, rootless, system ]
test: bash ./system.sh rootless
duration: 60m
require:
- podman
- podman-tests
- slirp4netns
- skopeo
- psmisc
environment:
PODMAN: /usr/bin/podman
QUADLET: /usr/libexec/podman/quadlet
ROOTLESS_USER: "fedora"
adjust+:
- when: distro == centos-stream
environment+:
ROOTLESS_USER: "ec2-user"
- when: distro == rhel
environment+:
ROOTLESS_USER: "cloud-user"

29
tests/tmt/system.sh Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/env bash
set -exo pipefail
uname -r
loginctl enable-linger "$ROOTLESS_USER"
rpm -q \
aardvark-dns \
buildah \
conmon \
container-selinux \
containers-common \
criu \
crun \
netavark \
passt \
podman \
podman-tests \
skopeo \
slirp4netns \
systemd
export test_cmd="whoami && cd /usr/share/podman/test/system && PATH=$PATH:/usr/libexec/podman CI_DESIRED_NETWORK=netavark PODMAN_TESTING=/usr/bin/podman-testing bats ."
su - "$ROOTLESS_USER" -c "eval $test_cmd"
exit 0