From 5558dee22fd6f4ee8566adba6465734a15b69e8a Mon Sep 17 00:00:00 2001 From: Hang Date: Mon, 6 May 2024 15:35:04 +0800 Subject: [PATCH 1/2] Support noble --- azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index dd6a0daf615..76d4090cd02 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -971,6 +971,13 @@ jobs: arch: ${{ arch.value }} pool: ${{ arch.pool }} + Noble ${{ arch.name }}: + # 24.04 + deb_system: ubuntu + distro: noble + arch: ${{ arch.value }} + pool: ${{ arch.pool }} + # https://wiki.debian.org/DebianReleases Buster ${{ arch.name }}: # 10 @@ -1031,6 +1038,11 @@ jobs: distro: jammy arch: ${{ arch.value }} pool: ${{ arch.pool }} + Noble ${{ arch.name }}: + deb_system: ubuntu + distro: noble + arch: ${{ arch.value }} + pool: ${{ arch.pool }} Buster ${{ arch.name }}: deb_system: debian distro: buster From 4fb9e27f725a783e0f96570e7f306f6887c831ae Mon Sep 17 00:00:00 2001 From: Hang Date: Thu, 9 May 2024 11:45:30 +0800 Subject: [PATCH 2/2] Include __pycache__ --- scripts/release/debian/prepare.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/release/debian/prepare.sh b/scripts/release/debian/prepare.sh index 4648331f713..03cc7b36033 100755 --- a/scripts/release/debian/prepare.sh +++ b/scripts/release/debian/prepare.sh @@ -102,6 +102,9 @@ export DH_OPTIONS=-v %: ${TAB}dh \$@ --sourcedirectory $source_dir +override_dh_clean: +${TAB}dh_clean --exclude=__pycache__ + override_dh_install: ${TAB}mkdir -p debian/azure-cli/opt/az ${TAB}cp -a python_env/* debian/azure-cli/opt/az