fix: install lbzip2 in trixie-slim Dockerfiles to unblock libusb extraction#1
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/maikebing/PowerfulCrossCompilationToolchain/sessions/d983e423-2f7f-4b7d-a4ef-4a3bb9c6f943 Co-authored-by: maikebing <3445167+maikebing@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
maikebing
April 9, 2026 12:10
View session
There was a problem hiding this comment.
Pull request overview
Adds the missing lbzip2 dependency to Debian trixie-slim build images so that tar can successfully extract .tar.bz2 sources (notably libusb-1.0.23.tar.bz2) under Trixie’s /etc/tar/default.cfg defaults.
Changes:
- Install
lbzip2in the build-stageapt-get installpackage list for all Trixie-based targets (x86, x64, arm64, loongson). - Unblocks
tarextraction failures caused by missinglbzip2in those images.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| x86/Dockerfile | Adds lbzip2 to Trixie-based build dependencies so .bz2 extraction works. |
| x64/Dockerfile | Adds lbzip2 to Trixie-based build dependencies so .bz2 extraction works. |
| arm64/Dockerfile | Adds lbzip2 to Trixie-based build dependencies so .bz2 extraction works. |
| loongson/Dockerfile | Adds lbzip2 to Trixie-based bootstrap dependencies so .bz2 extraction works. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Debian trixie's
tarpackage ships with/etc/tar/default.cfgthat routes.bz2decompression throughlbzip2. Sincelbzip2was absent from the build images, extractinglibusb-1.0.23.tar.bz2failed across all trixie-based targets:Changes
x64/Dockerfile,x86/Dockerfile,arm64/Dockerfile,loongson/Dockerfile: addlbzip2to theapt-get installlist in the build stagearmandx86Legacywere unaffected — they usei386/debian:wheezy, which predates this tar/lbzip2 default.