[pkgselectprocess] Explicitly log all apt commands in the debug logs.

This commit is contained in:
Simon Quigley 2025-04-15 22:21:38 -05:00
parent 6b2555c998
commit 3282b74627
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ Calamares::JobResult PackageSelectProcess::runAptCommand(const QString& command,
double endProgress,
bool verboseProgress)
{
qDebug() << "Running apt command:" << command;
QProcess aptProcess(this);
aptProcess.setProgram("/usr/sbin/chroot");
aptProcess.setArguments({ rootMountPoint, "/bin/bash", "-c", command });

1
debian/changelog vendored
View File

@ -6,6 +6,7 @@ calamares-settings-ubuntu (1:25.04.26) UNRELEASED; urgency=medium
file to a dedicated shellprocess module. This will be re-factored next
cycle, ideally being worked directly into a dedicated C++ module instead
of several, miscellaneous shell scripts wrapped in YAML.
* [pkgselectprocess] Explicitly log all apt commands in the debug logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 15 Apr 2025 22:15:17 -0500