[PATCH] config-tools: Missing tqdm python package in board_inspector.deb


Li, Ziheng
 

From 60d698156e542b518d75d6e2f2c494372a5511a3 Mon Sep 17 00:00:00 2001
From: zihengL1 <ziheng.li@...>
Date: Thu, 29 Sep 2022 15:08:01 +0800
Subject: [PATCH] config-tools: Missing tqdm python package in board_inspector.deb

Added python3-tqdm depend in gen_acrn_deb.py

Tracked-On: #8155
Signed-off-by: Ziheng Li <ziheng.li@...>
---
misc/packaging/gen_acrn_deb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/packaging/gen_acrn_deb.py b/misc/packaging/gen_acrn_deb.py
index eb57e7e00..de3cbd64b 100644
--- a/misc/packaging/gen_acrn_deb.py
+++ b/misc/packaging/gen_acrn_deb.py
@@ -162,7 +162,7 @@ def create_acrn_board_inspector_deb(version, build_dir):
'Architecture: amd64 \n',
'Maintainer: acrn-dev@... \n',
'Description: ACRN board inspector tools \n',
- 'Depends: cpuid, msr-tools, pciutils, dmidecode, python3, python3-pip, python3-lxml \n',
+ 'Depends: cpuid, msr-tools, pciutils, dmidecode, python3, python3-pip, python3-lxml, python3-tqdm \n',
'\n'
]
with open(deb_dir + '/DEBIAN/control', 'w', encoding='utf-8') as fr:
--
2.35.1.windows.2


Junjie Mao
 

-----Original Message-----
From: Li, Ziheng <ziheng.li@...>
Sent: Thursday, September 29, 2022 3:12 PM
To: acrn-dev@...; Mao, Junjie <junjie.mao@...>
Subject: [PATCH] config-tools: Missing tqdm python package in board_inspector.deb

From 60d698156e542b518d75d6e2f2c494372a5511a3 Mon Sep 17 00:00:00 2001
From: zihengL1 <ziheng.li@...>
Date: Thu, 29 Sep 2022 15:08:01 +0800
Subject: [PATCH] config-tools: Missing tqdm python package in board_inspector.deb

Added python3-tqdm depend in gen_acrn_deb.py

Tracked-On: #8155
Signed-off-by: Ziheng Li <ziheng.li@...>
Reviewed-by: Junjie Mao <junjie.mao@...>

BTW, do you know if the legacy packaging script is still to be maintained for the next release? I remember the GSG will soon be updated to use the dpkg-buildpackage based scripts for building debian packages.

---
Best Regards
Junjie Mao

---
misc/packaging/gen_acrn_deb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/misc/packaging/gen_acrn_deb.py b/misc/packaging/gen_acrn_deb.py
index eb57e7e00..de3cbd64b 100644
--- a/misc/packaging/gen_acrn_deb.py
+++ b/misc/packaging/gen_acrn_deb.py
@@ -162,7 +162,7 @@ def create_acrn_board_inspector_deb(version, build_dir):
'Architecture: amd64 \n',
'Maintainer: acrn-dev@... \n',
'Description: ACRN board inspector tools \n',
- 'Depends: cpuid, msr-tools, pciutils, dmidecode, python3, python3-pip, python3-
lxml \n',
+ 'Depends: cpuid, msr-tools, pciutils, dmidecode, python3, python3-pip, python3-
lxml, python3-tqdm \n',
'\n'
]
with open(deb_dir + '/DEBIAN/control', 'w', encoding='utf-8') as fr:
--
2.35.1.windows.2