With the current rules_oci ruleset oci_load produces both the script to load an image as a tarball as well as the actual tarball in an extra output group. This however poses a problem when the build graph itself depends on the tar as this means that the OCI layout tree artifact becomes a runfile and is carried with it, which is incorrect and a lot of runfile packagers cannot deal with tree artifact runfiles. These runfiles are also not needed for the tar output, only for the load script. So these should really be separate rules.
With the current rules_oci ruleset oci_load produces both the script to load an image as a tarball as well as the actual tarball in an extra output group. This however poses a problem when the build graph itself depends on the tar as this means that the OCI layout tree artifact becomes a runfile and is carried with it, which is incorrect and a lot of runfile packagers cannot deal with tree artifact runfiles. These runfiles are also not needed for the tar output, only for the load script. So these should really be separate rules.