Skip to content

Commit

Permalink
Don't mangle shebangs when building DKMS RPM package.
Browse files Browse the repository at this point in the history
While building the package, some .in files are being subject to shebang
substitution, but the process fails, because given scripts have
placeholders in place of shebangs. In order to fix the issue, don't mangle
shebangs in this specific package.

Signed-off-by: Guzowski Adrian <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
Guzowski Adrian authored and igsilya committed Jul 16, 2021
1 parent 1f38f9d commit cb4bff6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rhel/openvswitch-dkms.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
# conflicts with the openvswitch-debuginfo package for OVS userspace).
%undefine _enable_debug_packages

# Disable shebangs mangling
%undefine __brp_mangle_shebangs

%description
Open vSwitch Linux kernel module.

Expand Down

0 comments on commit cb4bff6

Please sign in to comment.