summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJames Falcon <james.falcon@canonical.com>2021-10-29 15:39:29 -0500
committerGitHub <noreply@github.com>2021-10-29 15:39:29 -0500
commita90d8338f07b30a46887f7c133baade63129a53a (patch)
treef432b1911b81b3f83ae56175b83d3df61a5779cd /packages
parent0f8428f6227106c28615384d49a3e55e5c14dc17 (diff)
downloadcloud-init-git-a90d8338f07b30a46887f7c133baade63129a53a.tar.gz
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')
-rw-r--r--packages/redhat/cloud-init.spec.in7
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