-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFakelibpython.sh
More file actions
37 lines (33 loc) · 1.42 KB
/
Fakelibpython.sh
File metadata and controls
37 lines (33 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
cd /opt/rocmbuild/
sudo tee libpython-fake.equivs << EOF
### Commented entries have reasonable defaults.
### Uncomment to edit them.
# Source: <source package name; defaults to package name>
Section: misc
Priority: optional
# Homepage: <enter URL here; no default>
Standards-Version: 3.9.2
Package: libpython3.10-fake
Version: 3.10.12-1~22.04.3
# Maintainer: Your Name <yourname@example.com>
# Pre-Depends: <comma-separated list of packages>
Depends: libpython3-stdlib
# Recommends: <comma-separated list of packages>
# Suggests: <comma-separated list of packages>
Provides: libpython3.10
# Replaces: <comma-separated list of packages>
# Architecture: all
# Multi-Arch: <one of: foreign|same|allowed>
# Copyright: <copyright file; defaults to GPL2>
# Changelog: <changelog file; defaults to a generic changelog>
# Readme: <README.Debian file; defaults to a generic one>
# Extra-Files: <comma-separated list of additional files for the doc directory>
# Links: <pair of space-separated paths; First is path symlink points at, second is filename of link>
# Files: <pair of space-separated paths; First is file to include, second is destination>
# <more pairs, if there's more than one file to include. Notice the starting space>
Description: fake package to provide libpython3.10 for rocm
fake package to provide libpython3.10 for rocm
EOF
equivs-build libpython-fake.equivs
sudo apt install ./libpython3.10-fake_3.10.12-1~22.04.3_all.deb