I'm testing the install of aziot-edge-1.4.9-1.el8.x86_64.rpm on a RHEL 8 edge image. It's basically a RHEL 8 system, w/ the same rpms but put together with rpm-ostree to make it more resilient in edge environments.
rpm-ostree executes the package install inside a bubblewrap container before it's layered on the underlying host OS.
The %pre script queries for the docker group on the host to serve as a check to ensure a container engine is installed. Unfortunately this causes the install to fail as we cannot view this group from inside the bwrap container.
|
if ! /usr/bin/getent group docker >/dev/null; then |
Is it possible to drop this check and use a regular rpm dependency instead?
I'm testing the install of aziot-edge-1.4.9-1.el8.x86_64.rpm on a RHEL 8 edge image. It's basically a RHEL 8 system, w/ the same rpms but put together with rpm-ostree to make it more resilient in edge environments.
rpm-ostree executes the package install inside a bubblewrap container before it's layered on the underlying host OS.
The %pre script queries for the docker group on the host to serve as a check to ensure a container engine is installed. Unfortunately this causes the install to fail as we cannot view this group from inside the bwrap container.
iotedge/edgelet/contrib/centos/aziot-edge.spec
Line 66 in dc5c99e
Is it possible to drop this check and use a regular rpm dependency instead?