parse-env.sh does not set RHEL-specific variables when LINUX_DISTR=rhel7

Bug #1771355 reported by Krzysztof Klimonda on 2018-05-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
Unassigned
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

When LINUX_DISTR is set to "rhel7" parse-env.sh does not set RHEL-specific variables like PYTHON_PIP_RPM or PYTHON_PIP_VENV.

Review in progress for https://review.opencontrail.org/43036
Submitter: Krzysztof Klimonda (<email address hidden>)

Reviewed: https://review.opencontrail.org/43036
Committed: http://github.com/Juniper/contrail-container-builder/commit/faf8578ae771f820fbff64c4bc7141f966fdb037
Submitter: opencontrail-admin (<email address hidden>)
Branch: master

commit faf8578ae771f820fbff64c4bc7141f966fdb037
Author: Krzysztof Klimonda <email address hidden>
Date: Tue May 15 08:36:55 2018 +0200

Use fuzzy matching when checking LINUX_DISTR for rhel

parse-env.sh was matching LINUX_DISTR against "rhel" to set extra
build variables, but LINUX_DISTR for RHEL is actually rhel7, so make
the matching fuzzy.

Closes-Bug: #1771355
Change-Id: Ife0d186ed736b13407028932091f02860244cc83

Review in progress for https://review.opencontrail.org/43048
Submitter: Krzysztof Klimonda (<email address hidden>)

Reviewed: https://review.opencontrail.org/43048
Committed: http://github.com/Juniper/contrail-container-builder/commit/5488f3ff4bd0e1ed3e684d2c9320dd3bc11b456f
Submitter: opencontrail-admin (<email address hidden>)
Branch: R5.0

commit 5488f3ff4bd0e1ed3e684d2c9320dd3bc11b456f
Author: Krzysztof Klimonda <email address hidden>
Date: Tue May 15 08:36:55 2018 +0200

Use fuzzy matching when checking LINUX_DISTR for rhel

parse-env.sh was matching LINUX_DISTR against "rhel" to set extra
build variables, but LINUX_DISTR for RHEL is actually rhel7, so make
the matching fuzzy.

Closes-Bug: #1771355
Change-Id: Ife0d186ed736b13407028932091f02860244cc83
(cherry picked from commit faf8578ae771f820fbff64c4bc7141f966fdb037)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers