package/v4l2loopback: fix v4l2loopback-ctl compile/install
PATCH 1/1 package/v4l2loopback: fix v4l2loopback-ctl compile/install
Since upstream commit [1] the original v4l2loopback-ctl bash script was replaced by a C version, so add a proper compile step (and remove bash runtime dependency) to fix '[help] v4l2loopback package build fails for raspberrypi5' [2].
Fixes:
/usr/bin/install: cannot stat '.../build/v4l2loopback-0.13.2/utils/v4l2loopback-ctl':
No such file or directory
[1] https://github.com/v4l2loopback/v4l2loopback/commit/33922fa4e9965d400edcc2761e55fedf84bbb22a
[2] https://lists.busybox.net/pipermail/buildroot/2025-March/775911.html
--- package/v4l2loopback/Config.in | 4 ---- package/v4l2loopback/v4l2loopback.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)
package/v4l2loopback/Config.in +0 -4
@@ -14,10 +14,6 @@ if BR2_PACKAGE_V4L2LOOPBACK config BR2_PACKAGE_V4L2LOOPBACK_UTILS bool "utils" - depends on BR2_USE_MMU # bash - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - select BR2_PACKAGE_BASH # runtime dependency - select BR2_PACKAGE_SUDO # runtime dependency help Install applications to interact with v4l2-loopback devices ("virtual video devices"). Currently there is only a single
package/v4l2loopback/v4l2loopback.mk +4 -0
@@ -11,6 +11,10 @@ V4L2LOOPBACK_LICENSE_FILES = COPYING V4L2LOOPBACK_CPE_ID_PREFIX = cpe:2.3:o ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_UTILS),y) +define V4L2LOOPBACK_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) utils +endef + define V4L2LOOPBACK_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/utils/v4l2loopback-ctl $(TARGET_DIR)/usr/bin/v4l2loopback-ctl endef
Signature · 6 lines
2.49.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Peter Seiderer via buildroot
Since upstream commit [1] the original v4l2loopback-ctl bash script was replaced by a C version, so add a proper compile step (and remove bash runtime dependency) to fix '[help] v4l2loopback package build fails for raspberrypi5' [2].
Fixes:
Quoted 8 lines
/usr/bin/install: cannot stat '.../build/v4l2loopback-0.13.2/utils/v4l2loopback-ctl':
No such file or directory[1] https://github.com/v4l2loopback/v4l2loopback/commit/33922fa4e9965d400edcc2761e55fedf84bbb22a
[2] https://lists.busybox.net/pipermail/buildroot/2025-March/775911.htmlSigned-off-by Peter Seiderer <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Peter Seiderer via buildroot
Since upstream commit [1] the original v4l2loopback-ctl bash script was replaced by a C version, so add a proper compile step (and remove bash runtime dependency) to fix '[help] v4l2loopback package build fails for raspberrypi5' [2].
Fixes:
Quoted 8 lines
/usr/bin/install: cannot stat '.../build/v4l2loopback-0.13.2/utils/v4l2loopback-ctl':
No such file or directory[1] https://github.com/v4l2loopback/v4l2loopback/commit/33922fa4e9965d400edcc2761e55fedf84bbb22a
[2] https://lists.busybox.net/pipermail/buildroot/2025-March/775911.htmlSigned-off-by Peter Seiderer <[email protected]>
Applied to 2025.02.x and 2024.11.x, thanks.
Regards,
Arnout
Quoted 25 lines
--- package/v4l2loopback/Config.in | 4 ---- package/v4l2loopback/v4l2loopback.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)package/v4l2loopback/Config.in +0
-4@@ -14,10 +14,6 @@ if BR2_PACKAGE_V4L2LOOPBACK config BR2_PACKAGE_V4L2LOOPBACK_UTILS bool "utils" - depends on BR2_USE_MMU # bash - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - select BR2_PACKAGE_BASH # runtime dependency - select BR2_PACKAGE_SUDO # runtime dependency help Install applications to interact with v4l2-loopback devices ("virtual video devices"). Currently there is only a singlepackage/v4l2loopback/v4l2loopback.mk +0
-0
package/v4l2loopback/v4l2loopback.mk V4L2LOOPBACK_LICENSE_FILES = COPYING · line 20
Quoted 10 lines
package/v4l2loopback/v4l2loopback.mk +4
-0@@ -11,6 +11,10 @@ V4L2LOOPBACK_LICENSE_FILES = COPYING V4L2LOOPBACK_CPE_ID_PREFIX = cpe:2.3:o ifeq ($(BR2_PACKAGE_V4L2LOOPBACK_UTILS),y) +define V4L2LOOPBACK_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) utils +endef + define V4L2LOOPBACK_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(@D)/utils/v4l2loopback-ctl $(TARGET_DIR)/usr/bin/v4l2loopback-ctl endef
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot