minimize-manual script takes an argument but is not used throughout script
Bug #2036198 reported by
Philip Roche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Philip Roche |
Bug Description
minimize-manual takes an argument of the path to the chroot but of the 3 commands that are run the argument is only used twice and with the third hardcoding "chroot" as the path to the chroot.
Thankfully "chroot" has been the patch passed in for the current uses of minimize-manual but this could cause issues later if that were to change.
```
chroot=$1
auto_packages=
if [ -n "$auto_packages" ]; then
chroot chroot apt-mark auto $auto_packages
fi
[ -z "$(/usr/
```
See https:/
Related branches
~philroche/livecd-rootfs/+git/livecd-rootfs:bugfix/minimize-manual-LP-2036198
- Steve Langasek: Approve
-
Diff: 33 lines (+10/-4)2 files modifieddebian/changelog (+6/-0)
minimize-manual (+4/-4)
To post a comment you must log in.
MP https:/ /code.launchpad .net/~philroche /livecd- rootfs/ +git/livecd- rootfs/ +merge/ 451438 resolves this bug