2016-08-15 18:12:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Copyright 2015 Johannes Schauer <josch@mister-muffin.de>
|
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
# all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
|
|
|
if [ "amd64" != "$(dpkg --print-architecture)" ]; then
|
|
|
|
echo "This script must be run on amd64." >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $# -ne 8 ]; then
|
|
|
|
echo "usage: $0 pkgtype provides pkgaarch pkgbarch pkgama pkgbma debrel debvpkg" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
cleanup() {
|
|
|
|
# don't do anything if workdir doesn't exist
|
|
|
|
if [ ! -e "$workdir" ]; then
|
|
|
|
return
|
|
|
|
fi
|
|
|
|
|
|
|
|
# the only way to clean /var/lib/apt/lists using apt is to set
|
|
|
|
# Dir::Etc::Sourcelist and Dir::Etc::Sourceparts to /dev/null and then
|
|
|
|
# update and clean
|
|
|
|
if [ -e "$workdir/aptroot/etc/apt/apt.conf" -a \( -d "$workdir/aptroot/var/lib/apt/lists" -o -d "$workdir/aptroot/var/cache/apt" \) ]; then
|
|
|
|
APTOPTS="-o Dir::Etc::Sourcelist=/dev/null -o Dir::Etc::Sourceparts=/dev/null"
|
|
|
|
APT_CONFIG="$workdir/aptroot/etc/apt/apt.conf" apt-get update $APTOPTS >&2
|
|
|
|
APT_CONFIG="$workdir/aptroot/etc/apt/apt.conf" apt-get clean $APTOPTS >&2
|
|
|
|
fi
|
|
|
|
|
|
|
|
rm -f "$workdir/aptroot/var/lib/apt/lists/lock"
|
|
|
|
rm -f "$workdir/aptroot/var/cache/apt/archives/lock"
|
|
|
|
rm -fd "$workdir/aptroot/var/cache/apt/archives/partial"
|
|
|
|
rm -fd "$workdir/aptroot/var/cache/apt/archives"
|
|
|
|
rm -fd "$workdir/aptroot/var/cache/apt"
|
|
|
|
rm -fd "$workdir/aptroot/var/cache"
|
|
|
|
rm -fd "$workdir/aptroot/var/lib/apt/lists/partial"
|
|
|
|
rm -fd "$workdir/aptroot/var/lib/apt/lists"
|
|
|
|
rm -fd "$workdir/aptroot/var/lib/apt"
|
|
|
|
rm -f "$workdir/aptroot/var/lib/dpkg/status"
|
|
|
|
rm -f "$workdir/aptroot/var/lib/dpkg/lock"
|
|
|
|
rm -fd "$workdir/aptroot/var/lib/dpkg"
|
|
|
|
rm -fd "$workdir/aptroot/var/lib"
|
|
|
|
rm -fd "$workdir/aptroot/var"
|
|
|
|
rm -fd "$workdir/aptroot/etc/apt/preferences.d"
|
|
|
|
rm -fd "$workdir/aptroot/etc/apt/apt.conf.d"
|
|
|
|
rm -fd "$workdir/aptroot/etc/apt/trusted.gpg.d"
|
|
|
|
rm -fd "$workdir/aptroot/etc/apt/sources.list.d"
|
|
|
|
rm -f "$workdir/aptroot/etc/apt/sources.list"
|
|
|
|
rm -f "$workdir/aptroot/etc/apt/apt.conf"
|
|
|
|
rm -fd "$workdir/aptroot/etc/apt"
|
|
|
|
rm -fd "$workdir/aptroot/etc"
|
|
|
|
rm -fd "$workdir/aptroot"
|
|
|
|
rm -f "$workdir/repo/pkga.deb"
|
|
|
|
rm -f "$workdir/repo/pkgb.deb"
|
|
|
|
rm -f "$workdir/repo/pkga/DEBIAN/control"
|
|
|
|
rm -f "$workdir/repo/pkgb/DEBIAN/control"
|
|
|
|
rm -fd "$workdir/repo/pkga/DEBIAN"
|
|
|
|
rm -f "$workdir/repo/pkga/debian/changelog"
|
|
|
|
rm -f "$workdir/repo/pkga/debian/control"
|
|
|
|
rm -fd "$workdir/repo/pkga/debian"
|
|
|
|
rm -fd "$workdir/repo/pkga"
|
|
|
|
rm -fd "$workdir/repo/pkgb/DEBIAN"
|
|
|
|
rm -fd "$workdir/repo/pkgb"
|
|
|
|
rm -f "$workdir/repo/Packages"
|
|
|
|
rm -f "$workdir/repo/Sources"
|
|
|
|
rm -f "$workdir/repo/Release"
|
|
|
|
rm -f "$workdir/repo/pkga_1.tar.gz"
|
|
|
|
rm -f "$workdir/repo/pkga_1.dsc"
|
|
|
|
rm -f "$workdir/repo/crossbuild-essential-i386/DEBIAN/control"
|
|
|
|
rm -fd "$workdir/repo/crossbuild-essential-i386/DEBIAN"
|
|
|
|
rm -fd "$workdir/repo/crossbuild-essential-i386"
|
|
|
|
rm -f "$workdir/repo/build-essential.deb"
|
|
|
|
rm -f "$workdir/repo/build-essential/DEBIAN/control"
|
|
|
|
rm -fd "$workdir/repo/build-essential/DEBIAN"
|
|
|
|
rm -fd "$workdir/repo/build-essential"
|
|
|
|
rm -f "$workdir/repo/crossbuild-essential-i386.deb"
|
|
|
|
rm -f "$workdir/dpkgroot/info/format"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb:amd64.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb:amd64.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb:i386.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkgb:i386.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga:amd64.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga:amd64.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga:i386.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/pkga:i386.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/crossbuild-essential-i386.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/crossbuild-essential-i386.list"
|
|
|
|
rm -f "$workdir/dpkgroot/info/build-essential.md5sums"
|
|
|
|
rm -f "$workdir/dpkgroot/info/build-essential.list"
|
|
|
|
rm -fd "$workdir/dpkgroot/info"
|
|
|
|
rm -f "$workdir/dpkgroot/triggers/Lock"
|
|
|
|
rm -f "$workdir/dpkgroot/triggers/Unincorp"
|
|
|
|
rm -fd "$workdir/dpkgroot/triggers"
|
|
|
|
rm -f "$workdir/dpkgroot/updates/0001"
|
|
|
|
rm -f "$workdir/dpkgroot/updates/0000"
|
|
|
|
rm -f "$workdir/dpkgroot/updates/0002"
|
|
|
|
rm -f "$workdir/dpkgroot/updates/tmp.i"
|
|
|
|
rm -fd "$workdir/dpkgroot/updates"
|
|
|
|
rm -f "$workdir/dpkgroot/available"
|
|
|
|
rm -f "$workdir/dpkgroot/diversions"
|
|
|
|
rm -f "$workdir/dpkgroot/lock"
|
|
|
|
rm -f "$workdir/dpkgroot/statoverride"
|
|
|
|
rm -f "$workdir/dpkgroot/status"
|
|
|
|
rm -f "$workdir/dpkgroot/status-old"
|
|
|
|
rm -f "$workdir/dpkgroot/triggers/Lock"
|
|
|
|
rm -f "$workdir/dpkgroot/triggers/Unincorp"
|
|
|
|
rm -f "$workdir/dpkgroot/arch"
|
|
|
|
rm -fd "$workdir/dpkgroot"
|
|
|
|
rm -fd "$workdir/aptroot"
|
|
|
|
rm -fd "$workdir/repo"
|
|
|
|
rm -fd "$workdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
# make sure that the working directory is removed upon exit
|
|
|
|
trap cleanup EXIT HUP INT TERM
|
|
|
|
|
|
|
|
workdir=$(mktemp --directory --suffix=.deb-m-a-dep-check)
|
|
|
|
|
|
|
|
pkgtype=$1
|
|
|
|
provides=$2
|
|
|
|
pkgaarch=$3
|
|
|
|
pkgbarch=$4
|
|
|
|
pkgama=$5
|
|
|
|
pkgbma=$6
|
|
|
|
debrel=$7
|
|
|
|
debvpkg=$8
|
|
|
|
|
2016-08-16 07:11:28 +00:00
|
|
|
echo "testcase: $pkgtype $provides $pkgaarch $pkgbarch $pkgama $pkgbma $debrel $debvpkg" >&2
|
|
|
|
|
2016-08-15 18:12:09 +00:00
|
|
|
# apt needs a package repository
|
|
|
|
# dose needs Packages/Sources files
|
|
|
|
# dpkg needs a .deb or an unpacked source tree
|
|
|
|
#
|
|
|
|
# Thus, we start with creating a Packages (and optionally a Sources
|
|
|
|
# file) and test dose3 with it.
|
|
|
|
#
|
|
|
|
# Then we turn that into a repository, let apt update from it and apt
|
|
|
|
# simulate a package installation
|
|
|
|
#
|
|
|
|
# Finally we use dpkg to simulate an installation
|
|
|
|
|
|
|
|
mkdir "$workdir/repo"
|
|
|
|
|
|
|
|
mkdir -p "$workdir/repo/pkgb/DEBIAN"
|
|
|
|
|
|
|
|
# write package b (has to be binary)
|
|
|
|
cat << END > "$workdir/repo/pkgb/DEBIAN/control"
|
|
|
|
Package: pkgb
|
|
|
|
Version: 1
|
|
|
|
Architecture: $pkgbarch
|
|
|
|
Multi-arch: $pkgbma
|
|
|
|
Description: pkgb
|
|
|
|
Maintainer: pkgb maintainers
|
|
|
|
END
|
|
|
|
|
|
|
|
if [ "$provides" != "none" ]; then
|
|
|
|
echo "Provides: $provides" >> "$workdir/repo/pkgb/DEBIAN/control"
|
|
|
|
fi
|
|
|
|
|
|
|
|
dpkg-deb --build "$workdir/repo/pkgb" "$workdir/repo/pkgb.deb" >&2
|
|
|
|
|
|
|
|
# write package a (can be source or binary)
|
|
|
|
if [ "$pkgtype" = binary ]; then
|
|
|
|
mkdir -p "$workdir/repo/pkga/DEBIAN"
|
|
|
|
cat << END >> "$workdir/repo/pkga/DEBIAN/control"
|
|
|
|
Package: pkga
|
|
|
|
Version: 1
|
|
|
|
Architecture: $pkgaarch
|
|
|
|
Multi-Arch: $pkgama
|
|
|
|
Description: pkga
|
|
|
|
Maintainer: pkga maintainers
|
|
|
|
END
|
|
|
|
case $debrel in
|
|
|
|
depends)
|
|
|
|
echo "Depends: $debvpkg" >> "$workdir/repo/pkga/DEBIAN/control"
|
|
|
|
;;
|
|
|
|
conflicts)
|
|
|
|
echo "Conflicts: $debvpkg" >>"$workdir/repo/pkga/DEBIAN/control"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "unexpected value for t7 $debrel"
|
|
|
|
exit 1
|
|
|
|
esac
|
|
|
|
|
|
|
|
dpkg-deb --build "$workdir/repo/pkga" "$workdir/repo/pkga.deb" >&2
|
|
|
|
else
|
|
|
|
mkdir -p "$workdir/repo/build-essential/DEBIAN"
|
|
|
|
cat << END > "$workdir/repo/build-essential/DEBIAN/control"
|
|
|
|
Package: build-essential
|
|
|
|
Version: 1
|
|
|
|
Architecture: amd64
|
|
|
|
Description: build-essential dummy
|
|
|
|
Maintainer: build-essential dummy maintainers
|
|
|
|
END
|
|
|
|
dpkg-deb --build "$workdir/repo/build-essential" "$workdir/repo/build-essential.deb" >&2
|
|
|
|
|
|
|
|
mkdir -p "$workdir/repo/crossbuild-essential-i386/DEBIAN"
|
|
|
|
cat << END > "$workdir/repo/crossbuild-essential-i386/DEBIAN/control"
|
|
|
|
Package: crossbuild-essential-i386
|
|
|
|
Version: 1
|
|
|
|
Architecture: amd64
|
|
|
|
Description: crossbuild-essential-i386 dummy
|
|
|
|
Maintainer: crossbuild-essential-i386 dummy maintainers
|
|
|
|
END
|
|
|
|
dpkg-deb --build "$workdir/repo/crossbuild-essential-i386" "$workdir/repo/crossbuild-essential-i386.deb" >&2
|
|
|
|
|
|
|
|
mkdir -p "$workdir/repo/pkga/debian"
|
|
|
|
cat << END > "$workdir/repo/pkga/debian/control"
|
|
|
|
Source: pkga
|
|
|
|
END
|
|
|
|
case $debrel in
|
|
|
|
depends)
|
|
|
|
echo "Build-Depends: $debvpkg" >> "$workdir/repo/pkga/debian/control"
|
|
|
|
;;
|
|
|
|
conflicts)
|
|
|
|
echo "Build-Conflicts: $debvpkg" >> "$workdir/repo/pkga/debian/control"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "unexpected value for t7 $debrel"
|
|
|
|
exit 1
|
|
|
|
esac
|
|
|
|
cat << END >> "$workdir/repo/pkga/debian/control"
|
|
|
|
|
|
|
|
Package: dummy
|
|
|
|
Architecture: all
|
|
|
|
END
|
|
|
|
|
|
|
|
cat << END >> "$workdir/repo/pkga/debian/changelog"
|
|
|
|
pkga (1) UNRELEASED; urgency=low
|
|
|
|
|
|
|
|
* Entry. Closes: #12345
|
|
|
|
|
|
|
|
-- pkga maintainers <foo@bar.com> $(date -R)
|
|
|
|
END
|
|
|
|
|
|
|
|
( cd "$workdir/repo" && dpkg-source -b ./pkga >&2 )
|
|
|
|
fi
|
|
|
|
|
|
|
|
dpkg-scanpackages "$workdir/repo" /dev/null ./ > "$workdir/repo/Packages"
|
2016-08-16 08:13:04 +00:00
|
|
|
if [ "$pkgtype" != binary ]; then
|
|
|
|
dpkg-scansources "$workdir/repo" /dev/null ./ > "$workdir/repo/Sources"
|
|
|
|
fi
|
2016-08-15 18:12:09 +00:00
|
|
|
|
2016-08-16 07:11:28 +00:00
|
|
|
if [ "$pkgtype" = binary ]; then
|
|
|
|
tail -n 999999 "$workdir/repo/Packages" >&2
|
|
|
|
else
|
|
|
|
tail -n 999999 "$workdir/repo/Packages" "$workdir/repo/Sources" >&2
|
|
|
|
fi
|
2016-08-15 18:12:09 +00:00
|
|
|
|
|
|
|
# write a Release file
|
|
|
|
cat << END > "$workdir/repo/Release"
|
|
|
|
Date: $(date -R)
|
|
|
|
SHA512:
|
|
|
|
$(sha512sum "$workdir/repo/Packages") $(stat -c %s "$workdir/repo/Packages") ./Packages
|
|
|
|
END
|
|
|
|
if [ "$pkgtype" != binary ]; then
|
|
|
|
echo " $(sha512sum "$workdir/repo/Sources") $(stat -c %s "$workdir/repo/Sources") ./Sources" >> "$workdir/repo/Release"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set up apt
|
|
|
|
|
|
|
|
for dir in /etc/apt /etc/apt/apt.conf.d /etc/apt/preferences.d \
|
|
|
|
/etc/apt/trusted.gpg.d /etc/apt/sources.list.d \
|
|
|
|
/var/lib/apt/lists/partial /var/cache/apt/archives/partial \
|
|
|
|
/var/lib/dpkg; do
|
|
|
|
mkdir -p "$workdir/aptroot/$dir"
|
|
|
|
done
|
|
|
|
|
|
|
|
cat << END > "$workdir/aptroot/etc/apt/sources.list"
|
|
|
|
deb [trusted=yes] file://$workdir/repo ./
|
|
|
|
END
|
|
|
|
if [ "$pkgtype" != binary ]; then
|
|
|
|
echo "deb-src [trusted=yes] file://$workdir/repo ./" >> "$workdir/aptroot/etc/apt/sources.list"
|
|
|
|
fi
|
|
|
|
|
|
|
|
touch "$workdir/aptroot/var/lib/dpkg/status"
|
|
|
|
|
|
|
|
# We create an apt.conf and pass it to apt via the APT_CONFIG
|
|
|
|
# environment variable instead of passing all options via the command
|
|
|
|
# line because otherwise apt will read the system's config first and
|
|
|
|
# might get unwanted configuration options from there. See apt.conf(5)
|
|
|
|
# for the order in which configuration options are read.
|
|
|
|
#
|
|
|
|
# While we are at it, we also set all other options through our custom
|
|
|
|
# apt.conf.
|
|
|
|
#
|
|
|
|
# Apt::Architecture has to be set because otherwise apt will default to
|
|
|
|
# the architecture apt was compiled for.
|
|
|
|
#
|
|
|
|
# Apt::Architectures has to be set or otherwise apt will use dpkg to
|
|
|
|
# find all foreign architectures of the system running apt.
|
|
|
|
#
|
|
|
|
# Dir::State::status has to be set even though Dir is set because
|
|
|
|
# Dir::State is set to var/lib/apt, so Dir::State::status would be
|
|
|
|
# below that but really isn't and without an absolute path,
|
|
|
|
# Dir::State::status would be constructed from Dir + Dir::State +
|
|
|
|
# Dir::State::status. This has been fixed in apt commit
|
|
|
|
# 475f75506db48a7fa90711fce4ed129f6a14cc9a.
|
|
|
|
#
|
|
|
|
# Acquire::Check-Valid-Until has to be set to false because the
|
|
|
|
# snapshot timestamps might be too far in the past to still be valid.
|
|
|
|
#
|
|
|
|
# Acquire::Languages has to be set to prevent downloading of
|
|
|
|
# translations from the mirrors.
|
|
|
|
#
|
|
|
|
# Binary::apt-get::Acquire::AllowInsecureRepositories has to be set to
|
|
|
|
# false so that apt-get update fails if repositories cannot be
|
|
|
|
# authenticated. The default value of this option will change to true
|
|
|
|
# with apt from Debian Buster.
|
|
|
|
|
|
|
|
cat << END > "$workdir/aptroot/etc/apt/apt.conf"
|
|
|
|
Apt {
|
|
|
|
Architecture "amd64";
|
|
|
|
Architectures { "amd64"; "i386" };
|
|
|
|
};
|
|
|
|
|
|
|
|
Dir "$workdir/aptroot";
|
|
|
|
Dir::State::status "$workdir/aptroot/var/lib/dpkg/status";
|
|
|
|
Acquire::Check-Valid-Until "false";
|
|
|
|
Acquire::Languages "none";
|
|
|
|
Binary::apt-get::Acquire::AllowInsecureRepositories "false";
|
|
|
|
END
|
|
|
|
|
|
|
|
APT_CONFIG="$workdir/aptroot/etc/apt/apt.conf" apt-get update >&2
|
|
|
|
|
|
|
|
# set up dpkg
|
|
|
|
|
|
|
|
mkdir "$workdir/dpkgroot"
|
|
|
|
mkdir "$workdir/dpkgroot/info"
|
|
|
|
mkdir "$workdir/dpkgroot/triggers"
|
|
|
|
mkdir "$workdir/dpkgroot/updates"
|
|
|
|
touch "$workdir/dpkgroot/available"
|
|
|
|
touch "$workdir/dpkgroot/diversions"
|
|
|
|
touch "$workdir/dpkgroot/lock"
|
|
|
|
touch "$workdir/dpkgroot/statoverride"
|
|
|
|
touch "$workdir/dpkgroot/status"
|
|
|
|
touch "$workdir/dpkgroot/status-old"
|
|
|
|
touch "$workdir/dpkgroot/triggers/Lock"
|
|
|
|
touch "$workdir/dpkgroot/triggers/Unincorp"
|
|
|
|
|
|
|
|
dpkg --admindir="$workdir/dpkgroot" --add-architecture amd64
|
|
|
|
dpkg --admindir="$workdir/dpkgroot" --add-architecture i386
|
|
|
|
|
|
|
|
# test dose3
|
|
|
|
dosestatus=0
|
|
|
|
if [ "$pkgtype" = binary ]; then
|
|
|
|
dose-deb-coinstall --deb-native-arch=amd64 --deb-foreign-archs=i386 "$workdir/repo/Packages" >/dev/null || dosestatus=1
|
|
|
|
else
|
|
|
|
dose-builddebcheck --deb-native-arch=amd64 --deb-foreign-archs=i386 --checkonly=pkga "$workdir/repo/Packages" "$workdir/repo/Sources" >/dev/null || dosestatus=1
|
|
|
|
fi
|
2016-08-16 07:11:28 +00:00
|
|
|
echo "dosestatus: $dosestatus" >&2
|
2016-08-15 18:12:09 +00:00
|
|
|
|
|
|
|
# test apt
|
|
|
|
aptstatus=0
|
|
|
|
if [ "$pkgtype" = binary ]; then
|
|
|
|
APT_CONFIG="$workdir/aptroot/etc/apt/apt.conf" apt-get install --simulate "pkga:$pkgaarch" "pkgb:$pkgbarch" >&2 || aptstatus=1
|
|
|
|
else
|
|
|
|
APT_CONFIG="$workdir/aptroot/etc/apt/apt.conf" apt-get build-dep --simulate pkga >&2 || aptstatus=1
|
|
|
|
fi
|
2016-08-16 07:11:28 +00:00
|
|
|
echo "aptstatus: $aptstatus" >&2
|
2016-08-15 18:12:09 +00:00
|
|
|
|
|
|
|
# test dpkg
|
|
|
|
dpkgstatus=0
|
|
|
|
if [ "$pkgtype" = binary ]; then
|
|
|
|
PATH=$PATH:/sbin dpkg --log=/dev/null --force-unsafe-io --force-not-root --admindir="$workdir/dpkgroot" -i "$workdir/repo/pkga.deb" "$workdir/repo/pkgb.deb" >&2 || dpkgstatus=1
|
|
|
|
else
|
|
|
|
PATH=$PATH:/sbin dpkg --log=/dev/null --force-unsafe-io --force-not-root --admindir="$workdir/dpkgroot" -i "$workdir/repo/pkgb.deb" "$workdir/repo/build-essential.deb" "$workdir/repo/crossbuild-essential-i386.deb" >&2
|
|
|
|
dpkg-checkbuilddeps --admindir="$workdir/dpkgroot" "$workdir/repo/pkga/debian/control" >&2 || dpkgstatus=1
|
|
|
|
fi
|
2016-08-16 07:11:28 +00:00
|
|
|
echo "dpkgstatus: $dpkgstatus" >&2
|
2016-08-15 18:12:09 +00:00
|
|
|
|
|
|
|
echo "$pkgtype $provides $pkgaarch $pkgbarch $pkgama $pkgbma $debrel $debvpkg $dosestatus $aptstatus $dpkgstatus"
|
|
|
|
|
|
|
|
cleanup
|