Skip to content

Commit

Permalink
Fix debugging info for deb build. Ignore some shlibs
Browse files Browse the repository at this point in the history
  • Loading branch information
hipek8 committed Feb 5, 2025
1 parent 3231979 commit afa3d19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ override_dh_virtualenv:
dh_virtualenv --python /usr/bin/python3.8 --upgrade-pip-to 19.3.1 --requirements requirements/prod.txt

override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params="--ignore-missing-info" --exclude=PIL --exclude=_cffi_backend
dh_shlibdeps --dpkg-shlibdeps-params="--ignore-missing-info" --exclude=pillow --exclude=gnureadline --exclude=psycopg2_binary --exclude=PIL --exclude=_cffi_backend

override_dh_strip:
dh_strip --exclude=_cffi_backend --exclude=PIL
Expand Down
2 changes: 0 additions & 2 deletions docker/Dockerfile-deb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ RUN apt-get update && \
libcom-err2 libkeyutils-dev libxau-dev libfreetype6-dev libpcre3-dev libselinux1-dev libtinfo-dev libpng-dev \
python3.8 python3.8-dev libffi-dev nodejs npm git-buildpackage vim-tiny git && \
rm -rf /var/lib/apt/lists/* && \
ldconfig && \
ldconfig -p && \
git config --global user.name "$GIT_USER_NAME" && \
git config --global user.email "$GIT_USER_EMAIL"

Expand Down
2 changes: 2 additions & 0 deletions scripts/build_deb_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ set -uex
SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
cd "${SCRIPT_DIR}/.."

ldconfig
ldconfig -p
dpkg-buildpackage -us -uc

0 comments on commit afa3d19

Please sign in to comment.