From 3282b74627c580c0c352ca8a0f3c6f600def1a55 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Tue, 15 Apr 2025 22:21:38 -0500 Subject: [PATCH] [pkgselectprocess] Explicitly log all apt commands in the debug logs. --- common/modules/pkgselectprocess/PackageSelectProcess.cpp | 1 + debian/changelog | 1 + 2 files changed, 2 insertions(+) diff --git a/common/modules/pkgselectprocess/PackageSelectProcess.cpp b/common/modules/pkgselectprocess/PackageSelectProcess.cpp index 6056ae6..f163106 100644 --- a/common/modules/pkgselectprocess/PackageSelectProcess.cpp +++ b/common/modules/pkgselectprocess/PackageSelectProcess.cpp @@ -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 }); diff --git a/debian/changelog b/debian/changelog index e035cbe..ed31534 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Tue, 15 Apr 2025 22:15:17 -0500