Commit e47d9653 authored by Christian Mohrbacher's avatar Christian Mohrbacher

general: make make-deb scripts compatible with deb9

(cherry picked from commit 3ab0d18f94b106b0d79f72313378fb3c6e092e5d)
parent cbb3ebd0
...@@ -49,7 +49,7 @@ chmod +x debian/rules ...@@ -49,7 +49,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -69,7 +69,7 @@ cd $builddir ...@@ -69,7 +69,7 @@ cd $builddir
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -53,7 +53,7 @@ chmod +x debian/rules ...@@ -53,7 +53,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -53,7 +53,7 @@ chmod +x debian/rules ...@@ -53,7 +53,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -52,7 +52,7 @@ chmod +x debian/rules ...@@ -52,7 +52,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -69,7 +69,7 @@ if [ ! -f ../*.deb ]; then ...@@ -69,7 +69,7 @@ if [ ! -f ../*.deb ]; then
fi fi
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -2,7 +2,7 @@ Source: beegfs-client ...@@ -2,7 +2,7 @@ Source: beegfs-client
Section: misc Section: misc
Priority: optional Priority: optional
Maintainer: BeeGFS Maintainers <packages@beegfs.com> Maintainer: BeeGFS Maintainers <packages@beegfs.com>
Build-Depends: debhelper (>= 7.0.0), lsb-release, module-init-tools Build-Depends: debhelper (>= 7.0.0), lsb-release, kmod
Standards-Version: 3.8.0 Standards-Version: 3.8.0
Package: beegfs-client Package: beegfs-client
......
...@@ -74,8 +74,8 @@ chmod +x debian/rules ...@@ -74,8 +74,8 @@ chmod +x debian/rules
# build the package and supress lintian warnings. Lintian in Lenny cannot # build the package and supress lintian warnings. Lintian in Lenny cannot
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
debuild -B -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -B -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || yes | debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR="/tmp/beegfs-debs-$BEEGFS_VERSION" DEBIAN_ARCHIVE_DIR="/tmp/beegfs-debs-$BEEGFS_VERSION"
......
...@@ -53,7 +53,7 @@ chmod +x debian/rules ...@@ -53,7 +53,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -62,7 +62,7 @@ chmod +x debian/rules ...@@ -62,7 +62,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -62,7 +62,7 @@ chmod +x debian/rules ...@@ -62,7 +62,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -62,7 +62,7 @@ chmod +x debian/rules ...@@ -62,7 +62,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -47,7 +47,7 @@ chmod +x debian/rules ...@@ -47,7 +47,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -62,7 +62,7 @@ chmod +x debian/rules ...@@ -62,7 +62,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -53,7 +53,7 @@ chmod +x debian/rules ...@@ -53,7 +53,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -49,7 +49,7 @@ chmod +x debian/rules ...@@ -49,7 +49,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
...@@ -64,7 +64,7 @@ chmod +x debian/rules ...@@ -64,7 +64,7 @@ chmod +x debian/rules
# do that itself yet # do that itself yet
# NOTE: package not signed yet! (-us -uc) # NOTE: package not signed yet! (-us -uc)
yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir" yes | debuild -us -uc 2>&1 | egrep -v "dir-or-file-in-opt | file-in-unusual-dir"
debuild clean [ "${DEBIAN_VERSION}" = "9" ] && yes | debuild -- clean || debuild clean
if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then if [ -z "$DEBIAN_ARCHIVE_DIR" ]; then
DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX` DEBIAN_ARCHIVE_DIR=`mktemp -d /tmp/debian_archive.XXXXXXXXX`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment