Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Razzi
karapace-debian
Commits
80f14faa
Commit
80f14faa
authored
Mar 24, 2022
by
Razzi
Browse files
Put karapace files in /usr/lib/karapace rather than overwriting system files
parent
6924fb6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
DEBIAN/README.debian
View file @
80f14faa
...
...
@@ -44,19 +44,17 @@ scp conda_dist_env.2022-03-15T15.56.43.tgz deneb.codfw.wmnet:
ssh deneb.codfw.wmnet
# If you have run the build process before, remove these directories first
mkdir karapace-
conda-env
karapace-d
ist
mkdir
-p
karapace-
dist
karapace-d
ebian-tree/usr/lib/karapace
tar -zxf conda_dist_env.2022-03-15T1
5.56.43
.tgz -C karapace-
conda-env
tar -zxf conda_dist_env.2022-03-15T1
9.34.31
.tgz -C karapace-
debian-tree/usr/lib/karapace
cp -r karapace-debian/DEBIAN/ karapace-conda-env/
mkdir karapace-debian-tree/DEBIAN
cp karapace-debian/DEBIAN/control karapace-debian-tree/DEBIAN
#
This is a hack to ge
t the copyright/changelog metadata into the distribution
cp -r karapace-debian/DEBIAN/extra/usr
karapace-conda-env
/
#
Pu
t the copyright/changelog metadata into the distribution
cp -r karapace-debian/DEBIAN/extra/usr
/share/doc/ karapace-debian-tree/usr/share
/
# Don'
t
need
these
files
in
the
debian
package
itself
rm
-
r
karapace
-
conda
-
env
/
DEBIAN
/
extra
fakeroot
dpkg
-
deb
--
build
karapace
-
conda
-
env
karapace
-
dist
fakeroot dpkg-deb --build karapace-debian-tree karapace-dist
```
The .deb file will be written to `karapace-dist/`.
...
...
DEBIAN/control
View file @
80f14faa
Package: karapace
Version: 2.1.3-py3.7-
1
Version: 2.1.3-py3.7-
2
Maintainer: Razzi Abuissa (WMF) <rabuissa@wikimedia.org>
Section: python
Priority: optional
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment