This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 4a5fadbb72 GH-34082: [Packaging][deb] Follow Debian bookworm image
change (#34091)
4a5fadbb72 is described below
commit 4a5fadbb7200ae71a151841bac3cbf35dac10258
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Feb 9 16:17:32 2023 +0900
GH-34082: [Packaging][deb] Follow Debian bookworm image change (#34091)
### Rationale for this change
Sources file was moved to /etc/apt/sources.list.d/debian.sources from
/etc/apt/sources.list.
### What changes are included in this PR?
Follow the change.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
No.
* Closes: #34082
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/verify-apt.sh | 6 ++++++
.../linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dev/release/verify-apt.sh b/dev/release/verify-apt.sh
index 7503c0df7b..c25c5fecf4 100755
--- a/dev/release/verify-apt.sh
+++ b/dev/release/verify-apt.sh
@@ -68,6 +68,12 @@ have_plasma=yes
have_python=yes
workaround_missing_packages=()
case "${distribution}-${code_name}" in
+ debian-bookworm)
+ sed \
+ -i"" \
+ -e "s/ main$/ main contrib non-free/g" \
+ /etc/apt/sources.list.d/debian.sources
+ ;;
debian-*)
sed \
-i"" \
diff --git
a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
index aee005726a..e7d53d410f 100644
--- a/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
+++ b/dev/tasks/linux-packages/apache-arrow/apt/debian-bookworm/Dockerfile
@@ -26,7 +26,11 @@ RUN \
echo 'APT::Install-Recommends "false";' > \
/etc/apt/apt.conf.d/disable-install-recommends
-RUN sed -i'' -e 's/main$/main contrib non-free/g' /etc/apt/sources.list
+RUN \
+ sed \
+ -i'' \
+ -e 's/main$/main contrib non-free/g' \
+ /etc/apt/sources.list.d/debian.sources
ARG DEBUG
RUN \