6 Commits

Author SHA1 Message Date
Philip Roche
0a1e1cc0a7 fix: ensure minimize-manual script uses passed in argument for all commands (LP: #2036198)
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.

This commit resolves the problem preventing future issues.
2023-09-15 11:59:12 +01:00
Balint Reczey
2a68f1312a Mark packages as autoinstalled using apt-mark in the chroot
instead of using python-apt that potentially starts talking to the build
system's dbus causing various problems.

LP: #1835406
2019-11-13 19:12:03 +01:00
Julian Andres Klode
4c053597b4 Change minimize-manual to read package section from version
Change minimize-manual to read package section from version instead of
package objects, fixing compatibility with (python-)apt 1.9.0.
2019-06-24 17:54:39 +02:00
Julian Andres Klode
b0684bbeee Fix change to ignore ubiquity packages, it failed to mark anything as automatic. 2019-02-27 09:02:10 +01:00
Julian Andres Klode
b2db5bf365 Do not mark direct dependencies of ubiquity as auto installed
This caused cryptsetup to remain auto on the installed system

LP: #1801629
2019-02-22 11:00:14 +01:00
Julian Andres Klode
1746e65953 Reorganize minimal-manual file location.
This also gets rid of the change to debian/rules
2018-09-18 11:44:06 +02:00