Skip to content

Commit

Permalink
Fedora 36 to Fedora 39 (#44)
Browse files Browse the repository at this point in the history
Lets get to a somewhat recent version of Fedora. Drop SonarCloud also.
Also remove cppcheck in the build, also too much maintenance, if someone
wants to run locally as a helper tool could be useful.

Also move to Ubuntu 24.04, 22.04 was failing.

Signed-off-by: Eric Curtin <[email protected]>
  • Loading branch information
ericcurtin authored Apr 19, 2024
1 parent ce88f26 commit 47538d2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# twincam

[![GitHub Build Status](https://github.com/inotify-tools/inotify-tools/workflows/build/badge.svg)](https://github.com/ericcurtin/twincam/actions)
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=ericcurtin_twincam&metric=bugs)](https://sonarcloud.io/summary/new_code?id=ericcurtin_twincam)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=ericcurtin_twincam&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=ericcurtin_twincam)

A lightweight camera application, designed to start quickly in a bare
environment. It is named twincam as it is built with automotive in mind
Expand Down
17 changes: 0 additions & 17 deletions lib/dracut/modules.d/81twincam/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,5 @@ install() {
inst_libdir_file "libcamera/ipa_*.so*"
inst_libdir_file "libevent-*.so*"
inst_libdir_file "libstdc++.so*"

# Required if using Fedora SDL2
inst_libdir_file "libSDL2*.so*"
inst_libdir_file "libgbm*.so*"
# inst_libdir_file "dri/*.so*" pulls in massive libLLVM which we don't need
inst_libdir_file "libOpenGL*.so*"
inst_libdir_file "libEGL*.so*"

# Required for MJPEG
inst_libdir_file "libjpeg.so*"
# inst_libdir_file "egl_vendor.d/*.json"

# inst_dir "/usr/share/glvnd/egl_vendor.d"
# inst_multiple "/usr/share/glvnd/egl_vendor.d/*.json"

# inst_dir "/usr/share/plymouth/themes/external-command/"
# inst_multiple "/usr/share/plymouth/themes/external-command/*.plymouth"
}

4 changes: 2 additions & 2 deletions tests/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ elif command -v docker > /dev/null; then
fi

container_run() {
cmd="tests/prepare_env.sh && tests/build_twincam.sh && tests/sonar.sh && tests/cpp_check.sh"
cmd="tests/prepare_env.sh && tests/build_twincam.sh"
id=$(sudo $container run --cap-add=SYS_PTRACE -d -it $1 /bin/bash)
sudo $container exec -it $id /bin/bash -c "mkdir -p $PWD"
sudo $container cp $PWD $id:$PWD/..
Expand All @@ -19,7 +19,7 @@ container_run() {

if [ -n "$container" ]; then
container_run "centos:stream9"
container_run "fedora:36"
container_run "fedora:39"
container_run "ubuntu:22.04"
exit 0
fi
Expand Down

0 comments on commit 47538d2

Please sign in to comment.