We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd0568 commit 62ee69fCopy full SHA for 62ee69f
1 file changed
ci_scripts/list-packages.sh
@@ -0,0 +1,19 @@
1
+#!/bin/bash
2
+
3
+# SPDX-FileCopyrightText: 2024 Rivos Inc.
4
5
+# SPDX-License-Identifier: Apache-2.0
6
7
+set -e
8
9
+if [ "$#" -ne 1 ]; then
10
+ echo "list-packages name-prefix"
11
+ exit 1
12
+fi
13
14
+apt-get update -qq && apt-get install -qq -y python3 python3-venv
15
+python3 -m venv packages-$1-venv
16
+. packages-$1-venv/bin/activate
17
+python -m pip install --upgrade pip
18
+pip install -r packages.txt
19
+pip list > $1-installed.txt
0 commit comments