[Bug 2072699] Re: SRU: add a postinst script to rm livecd-rootfs' unminimize
Utkarsh Gupta
2072699 at bugs.launchpad.net
Fri Aug 2 06:50:46 UTC 2024
Hello,
I've tested an image built via ubuntu-bartender and using livecd-rootfs
from proposed -
$ ubuntu-bartender --build-provider gce --hook-extras-dir
"$(pwd)/cpc_packaging.extra" --livecd-rootfs-branch ubuntu/noble --
--series noble --project ubuntu-cpc --image-target qcow2 --subproject
minimized
I ran unminimize on that and could confirm that there's only one script
that was installed on the disk which is /usr/bin/unminimize. The postrm
seems to be working as intended.
** Tags removed: verification-needed-noble
** Tags added: verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unminimize in Ubuntu.
https://bugs.launchpad.net/bugs/2072699
Title:
SRU: add a postinst script to rm livecd-rootfs' unminimize
Status in unminimize package in Ubuntu:
Fix Released
Status in unminimize source package in Noble:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unminimize/+bug/2072699/+subscriptions
More information about the foundations-bugs
mailing list