Commit Graph

2 Commits

Author SHA1 Message Date
Dan Walkes
025838d593 Support csv file reference removal globs
The list of files in the csf for v4l-utils does not match the list
in /etc/nvidia-container-runtime/host-files-for-container.d/l4t.csv
on a Jetpack 4.4 based stock NVIDIA image.  This is problematic
for the libv4l2rds libraries when attempting to install v4l-utils
in a container.  The install works fine if the container is running
on an NVIDIA image, but when running on OE4T you see an error
message:
```
unable to make backup link of './usr/lib/aarch64-linux-gnu/libv4l2rds.so.0.0.0' before installing new version: Invalid cross-device link
```

To avoid this, add support for removing container runtime files
in the container-runtime-csv class using a glob pattern, and
use this pattern to avoid placing libv4l2rds in the container
runtime.
2020-09-29 09:19:55 -07:00
Matt Madison
2f087d5451 container-runtime-csv.bbclass: add bbclass to generate container CSVs
* Have packages RDEPEND on csv packages when 'virtualization' is present
  in DISTRO_FEATURES

* CSV_CONTAINER_FILES enumerates the files/directories for inclusion
  in the CSV file, using glob patterns

* CSV_CONTAINER_EXTRA enumerates additional hard-coded lines in the CSV
2020-03-21 06:05:57 -07:00