From da8fdd3d1e50f4432574a307f07731bf6a62562d Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 21 Jul 2009 22:01:39 +0200 Subject: PR10182 systemtap.spec should try to clean up old leftover uprobes module. systemtap.spec (post,preun): Call rmmod uprobes. --- systemtap.spec | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit