This stops rpm on Ubuntu from printing noisy warnings about aliens.
f.write("\n")
+ @classmethod
+ def finalize_environment(cls, context: Context) -> dict[str, str]:
+ return super().finalize_environment(context) | {
+ "RPM_FORCE_DEBIAN": "1",
+ }
+
@classmethod
def cmd(
cls,
@classmethod
def finalize_environment(cls, context: Context) -> dict[str, str]:
- return super().finalize_environment(context) | {"ZYPP_CONF": "/etc/zypp/zypp.conf"}
+ return super().finalize_environment(context) | {
+ "ZYPP_CONF": "/etc/zypp/zypp.conf",
+ "RPM_FORCE_DEBIAN": "1",
+ }
@classmethod
def cmd(cls, context: Context) -> list[PathString]: