diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-07-21 22:01:39 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-07-21 22:01:39 +0200 |
commit | da8fdd3d1e50f4432574a307f07731bf6a62562d (patch) | |
tree | 556c8c13ff97b33e5abaca06af522964f9a9c8c5 | |
parent | b114309693c9b5965ce92a1fc123c85600b79741 (diff) | |
download | systemtap-steved-da8fdd3d1e50f4432574a307f07731bf6a62562d.tar.gz systemtap-steved-da8fdd3d1e50f4432574a307f07731bf6a62562d.tar.xz systemtap-steved-da8fdd3d1e50f4432574a307f07731bf6a62562d.zip |
PR10182 systemtap.spec should try to clean up old leftover uprobes module.
systemtap.spec (post,preun): Call rmmod uprobes.
-rw-r--r-- | systemtap.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/systemtap.spec b/systemtap.spec index c3f6ea09..a8e0d9da 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -265,10 +265,12 @@ exit 0 %post # Remove any previously-built uprobes.ko materials (make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true +(/sbin/rmmod uprobes) >/dev/null 3>&1 || true %preun # Ditto (make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true +(/sbin/rmmod uprobes) >/dev/null 3>&1 || true %files %defattr(-,root,root) |