libevl: Add debian package config
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | debian: add debian package configdebian/ debian/ debian/ +8 more | +238 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] libevl: Add debian package config
This patch adds a debian package config that allows to build a deb's using dpkg-buildpackage -b -uc.
The packages are libevl / libevl-test similar to[1]. However, latmus is placed in libevl. One might not need the tests but still want to use latmus.
Additionally, libevl installs /usr/lib/udev/rules.d/90-libevl.rules which sets all evl device files to group evl, g+rw. libevl.postinst adds this group and triggers an udev reload.
This allows to use libevl without root. However, using SCHED_FIFO still needs either root or setcap cap_sys_nice+ep and possibly some other tweaks. Some tests and my application work with cap_sys_nice+ep. However, for example latmus fails due to unknown reasons. The debian packages sets no capabilities but this could be added if desired.
Caveats:
The test ptrace-sync fails with <timeout waiting for gdb>. dh_strip -Xptrace-sync from[1] does not help and it is not needed: When libevl-test-dbgsym is installed, the symbols are available but the test still fails. With dh_strip -Xptrace-sync, the symbols are not found:
warning: could not find '.gnu_debugaltlink' file for /usr/libexec/evl/tests/ptrace-sync
If linux-evl is also built and installed as a debian package, linux-libc-dev can not be installed due to /usr/include/evl/*-abi.h are both installed by libevl and linux-libc-dev from the kernel build. However, installing linux-libc-dev from debian trixie works fine.
Hannes Diethelm (1):
debian: add debian package config
debian/README.Debian | 6 ++++ debian/changelog | 5 ++++ debian/control | 33 ++++++++++++++++++++++ debian/copyright | 55 +++++++++++++++++++++++++++++++++++++ debian/libevl-test.install | 2 ++ debian/libevl.install | 11 ++++++++ debian/libevl.postinst | 50 +++++++++++++++++++++++++++++++++ debian/libevl.postrm | 41 +++++++++++++++++++++++++++ debian/rules | 22 +++++++++++++++ debian/source/format | 1 + debian/udev/90-libevl.rules | 12 ++++++++ 11 files changed, 238 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/libevl-test.install create mode 100644 debian/libevl.install create mode 100644 debian/libevl.postinst create mode 100644 debian/libevl.postrm create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/udev/90-libevl.rules
Signature · 1 line
2.47.3