Mailinglist Archive: opensuse-bugs (4510 mails)

< Previous Next >
[Bug 966057] New: RPM pacakges won't regenerate initrd on removal
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 10 Feb 2016 14:34:03 +0000
  • Message-id: <>

Bug ID: 966057
Summary: RPM pacakges won't regenerate initrd on removal
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: 2015*
Hardware: All
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: fvogt@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

Currently there are two macros in /etc/rpm/macros.initrd:

%regenerate_initrd_post, to be called in the %post and %postun sections
and %regenerate_initrd_posttrans, to be called in %posttrans.

%regenerate_initrd_post simply sets a flag that the initrd has to be rebuilt
after the transaction. The posttrans macros takes care of that.

Now, that works fine for installation (%post -> %posttrans) and upgrades
(%postun -> %post -> %posttrans), but on removal, %posttrans is never run.

How could that be implemented properly?

You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >