Build meta-packages before others

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2023-04-26 16:33:56 +02:00
parent 525aeb102f
commit 22c7178561
3 changed files with 49 additions and 6 deletions

View File

@@ -16,6 +16,10 @@ function package_type() {
;;
ubuntu*) pkg_type=deb
;;
deb) pkg_type=deb
;;
rpm) pkg_type=rpm
;;
*) exit 1
;;
esac
@@ -39,5 +43,13 @@ function get_package_target() {
local target=$1
local dist=${target%-*}
local arch=${target##*-}
echo "${dist}/${arch}"
case ${target} in
deb) echo ""
;;
rpm) echo ""
;;
*) echo "${dist}/${arch}"
;;
esac
}