You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/pkg/deb/backports/bullseye

28 lines
533 B

#!/bin/bash
#
# Target dist: Debian Bullseye
DIST=bullseye
if [ ! -d ../../pkg/deb ] ; then
echo "script needs to be executed at pkg/deb dir" >&2
exit 1
fi
rm -rf ${DIST}
cp -r debian ${DIST}
# Update for bullseye debhelper
sed -i -e 's/debhelper-compat.*/debhelper-compat (= 12),/' ${DIST}/control
# Add dwz override
cat >> ${DIST}/rules <<'EOF'
override_dh_dwz:
# Disable, as dwz cannot cope with some of the plugins generated.
EOF
wrap-and-sort -sat -d ${DIST}
# clean backports scripts
rm -rf ${DIST}/backports
exit 0