diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-05-21 10:28:55 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-05-21 10:28:55 -0400 |
commit | 1208cc21f63fff917e7817487d727d4cbe12d0ea (patch) | |
tree | 1e74102ef1a3dc8bc6505ad6c7277f5b0c649a52 | |
parent | d79591b3274ba961600d387f41277626608b02af (diff) | |
download | systemtap-steved-1208cc21f63fff917e7817487d727d4cbe12d0ea.tar.gz systemtap-steved-1208cc21f63fff917e7817487d727d4cbe12d0ea.tar.xz systemtap-steved-1208cc21f63fff917e7817487d727d4cbe12d0ea.zip |
PR10182: clean uprobes.ko during rpm upgrade
-rw-r--r-- | systemtap.spec | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/systemtap.spec b/systemtap.spec index d3b3f237..c0864657 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -252,6 +252,13 @@ exit 0 chkconfig --del systemtap exit 0 +%post +# Remove any previously-built uprobes.ko materials +(make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true + +%preun +# Ditto +(make -C /usr/share/systemtap/runtime/uprobes clean) >/dev/null 3>&1 || true %files %defattr(-,root,root) |