SRU: add a postinst script to rm livecd-rootfs' unminimize

Bug #2072699 reported by Utkarsh Gupta
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unminimize (Ubuntu)
Fix Released

Bug Description

[ Impact ]

Right now, livecd-rootfs ships an unminimize script in /usr/local/sbin/unminimize. With unminimize now separately packaged and available in Noble+, we'd like to ensure there's only 1 unminimize script installed in a cloud image or a ubuntu-server minimal setup. This means, we'd like to drop the unminimize that is being shipped via livecd-rootfs.

[ Test Plan ]

Build cloud and server minimal image and confirm there's only unminimize in /usr/bin/unminimize and not in /usr/local/sbin/unminimize.

[ Where problems could occur ]

The problems could occur if the user has their own set up in /usr/local/sbin/unminimize or if we accidentally delete something in /usr/local/* but we try and take care of this edge case by grepping a string in the unminimize script and only then delete the file.

Utkarsh Gupta (utkarsh)
Changed in unminimize (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.