Instead of hard-coding a couple RIDs to see if the host machine is "debian based":
|
<HostMachineRidTargetsDebianPackages Condition=" |
|
$(HostMachineRid.StartsWith('debian')) or |
|
$(HostMachineRid.StartsWith('ubuntu')) or |
|
$(HostMachineRid.StartsWith('linuxmint'))">true</HostMachineRidTargetsDebianPackages> |
|
<!-- If the build machine isn't known to be Debian-based, try to build RPM packages. --> |
|
<HostMachineRidTargetsRpmPackages Condition="'$(HostMachineRidTargetsDebianPackages)' != 'true'">true</HostMachineRidTargetsRpmPackages> |
We should instead use a more proper way of checking for Debian systems.
One example would be to check for the existence of /etc/debian_version. See #35538 (comment).
fyi - @jkotas @ViktorHofer
Instead of hard-coding a couple RIDs to see if the host machine is "debian based":
runtime/src/installer/Directory.Build.props
Lines 304 to 309 in 5f09f33
We should instead use a more proper way of checking for Debian systems.
One example would be to check for the existence of
/etc/debian_version. See #35538 (comment).fyi - @jkotas @ViktorHofer