Le jeu. 23 mars 2023 à 09:26, smallorange <smallora...@rpmfusion.org> a écrit : > > commit 62761ec3d90c9f6fc7e99998b331442cf9f39be5 > Author: Kate Hsuan <h...@redhat.com> > Date: Thu Mar 23 15:25:59 2023 +0800 > > Include the environment file symbolic link /etc/v4l2-relayd. > > ipu6-camera-hal.spec | 3 +++ > 1 file changed, 3 insertions(+) > --- > diff --git a/ipu6-camera-hal.spec b/ipu6-camera-hal.spec > index c2ba6c7..401fe47 100644 > --- a/ipu6-camera-hal.spec > +++ b/ipu6-camera-hal.spec > @@ -82,6 +82,8 @@ install -p -m 0644 -D %{SOURCE1} > %{buildroot}%{_udevrulesdir}/60-intel-ipu6.rule > sed -i -e "s|}/lib64|}/lib64/ipu6|" > %{buildroot}%{_libdir}/pkgconfig/libcamhal.pc > > # v4l2-relayd configuration examples > +mkdir -p %{buildroot}%{_sysconfdir} > +ln -sf /run/v4l2-relayd %{buildroot}%{_sysconfdir}/v4l2-relayd It looks suspicious. It means you cannot have static configuration, but only a temporary/generated one located in /run/4l2-relayd ? ... > @@ -92,6 +94,7 @@ install -p -D -m 0644 %{SOURCE3} > %{buildroot}%{_datadir}/defaults/etc/ipu6/v4l2- > > %files > %license LICENSE > +%{_sysconfdir} Package must not "own" base directory, you have to mention the file you want to add in this package, specifically. So: %{_sysconfdir}/v4l2-relayd
Also I don't see any file to create /run/v4l2-relayd located in /usr/lib/tmpfiles.d/ ? How the former directory is created in /run ? _______________________________________________ rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org