some cleanup of unused recipes, and some adjustments to assist with ARM testing
This commit is contained in:
1 parent
271eb1a93f
commit
0b0b033991
18 files changed
+111
-273
No files matched your search
@@ -1,20 +0,0 @@
|
||||
# copied from meta-mentor/conf/distro/include/sstate.inc
|
||||
def lsb_distro_adjust(distro_id, ver):
|
||||
"""This hook ensures that RHEL server, RHEL client, and CentOS all return
|
||||
'RedHat' for distro, and '5' for the version, as we know minor
|
||||
versions for these distros are compatible, and these distros are
|
||||
compatible with one another."""
|
||||
|
||||
if distro_id in ('RedHatEnterpriseClient', 'RedHatEnterpriseServer',
|
||||
'CentOS'):
|
||||
distro_id = 'RedHat'
|
||||
|
||||
try:
|
||||
major_ver, _ = ver.split('.', 1)
|
||||
except ValueError:
|
||||
pass
|
||||
else:
|
||||
ver = major_ver
|
||||
return distro_id, ver
|
||||
|
||||
LSB_DISTRO_ADJUST = "lsb_distro_adjust"
|
||||
Reference in new issue
Block a user