mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
[ubuntu] include apt vital pkgs in software report (#7845)
This commit is contained in:
@@ -322,7 +322,7 @@ function Get-CachedDockerImagesTableData {
|
||||
function Get-AptPackages {
|
||||
$apt = (Get-ToolsetContent).Apt
|
||||
$output = @()
|
||||
ForEach ($pkg in ($apt.common_packages + $apt.cmd_packages)) {
|
||||
ForEach ($pkg in ($apt.vital_packages + $apt.common_packages + $apt.cmd_packages)) {
|
||||
$version = $(dpkg-query -W -f '${Version}' $pkg)
|
||||
if ($Null -eq $version) {
|
||||
$version = $(dpkg-query -W -f '${Version}' "$pkg*")
|
||||
|
||||
Reference in New Issue
Block a user