meta-starlingx/issues/add_poky_lsbdistid.diff
Litao Gao ab5be59024 Initial commit of issue list which contains all of the issues
found during StarlingX bootstrap verification, we will use
this file for status tracking
2019-10-31 18:23:02 +08:00

12 lines
572 B
Diff

--- ./usr/lib/ruby/gems/2.5.0/gems/facter-2.5.0/lib/facter/operatingsystem/linux.rb 2019-10-31 10:25:27.459233495 +0000
+++ /usr/lib/ruby/gems/2.5.0/gems/facter-2.5.0/lib/facter/operatingsystem/linux.rb 2019-10-23 07:47:26.144544969 +0000
@@ -13,6 +13,8 @@
@operatingsystem ||= "Ubuntu"
elsif lsbdistid == "LinuxMint"
@operatingsystem ||= "LinuxMint"
+ elsif lsbdistid == "poky"
+ @operatingsystem ||= "CentOS"
else
@operatingsystem ||= get_operatingsystem_with_release_files
end