Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions scripts/release/debian/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ export DH_OPTIONS=-v
%:
${TAB}dh \$@ --sourcedirectory $source_dir

override_dh_clean:
${TAB}dh_clean --exclude=__pycache__

@bebound bebound May 9, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To ensure the pyc files are included in package, as they are excluded by default starting with debhelper version 13.10.10.
See #28888 (comment)

Ref: https://man7.org/linux/man-pages/man1/dh_clean.1.html

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


override_dh_install:
${TAB}mkdir -p debian/azure-cli/opt/az
${TAB}cp -a python_env/* debian/azure-cli/opt/az
Expand Down