diff options
author | James Falcon <james.falcon@canonical.com> | 2021-10-29 15:39:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 15:39:29 -0500 |
commit | a90d8338f07b30a46887f7c133baade63129a53a (patch) | |
tree | f432b1911b81b3f83ae56175b83d3df61a5779cd /packages/redhat | |
parent | 0f8428f6227106c28615384d49a3e55e5c14dc17 (diff) | |
download | vyos-cloud-init-a90d8338f07b30a46887f7c133baade63129a53a.tar.gz vyos-cloud-init-a90d8338f07b30a46887f7c133baade63129a53a.zip |
Allow libexec for hotplug (#1088)
When we added the install hotplug module, we forgot to update the
redhet/cloud-init.spec.in file and allow for execution on /usr/libexec.
This PR adds that functionality.
Diffstat (limited to 'packages/redhat')
-rw-r--r-- | packages/redhat/cloud-init.spec.in | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in index 22db4b50..1491822b 100644 --- a/packages/redhat/cloud-init.spec.in +++ b/packages/redhat/cloud-init.spec.in @@ -119,12 +119,6 @@ version_pys=$(cd "$RPM_BUILD_ROOT" && find . -name version.py -type f) ( cd "$RPM_BUILD_ROOT" && sed -i "s,@@PACKAGED_VERSION@@,%{version}-%{release}," $version_pys ) -# patch hotplug /usr/libexec script path -hotplug_file=$(cd "$RPM_BUILD_ROOT" && find . -name 10-cloud-init-hook-hotplug.rules -type f) - -( cd "$RPM_BUILD_ROOT" && - sed -i "s,/usr/lib,%{_libexecdir}," $hotplug_file ) - %clean rm -rf $RPM_BUILD_ROOT @@ -178,7 +172,6 @@ fi %files /lib/udev/rules.d/66-azure-ephemeral.rules -/lib/udev/rules.d/10-cloud-init-hook-hotplug.rules %if "%{init_system}" == "systemd" /usr/lib/systemd/system-generators/cloud-init-generator |