mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 07:01:13 +02:00
fix(build_image): Replace two lingering pbzip2 references with lbzip2
This commit is contained in:
parent
e2b35bbae1
commit
e15457054a
@ -169,7 +169,7 @@ create_base_image() {
|
||||
# Empty lib dirs, replaced by symlinks
|
||||
'lib'
|
||||
)
|
||||
pbzip2 -dc --ignore-trailing-garbage=1 "${LIBC_PATH}" | \
|
||||
lbzip2 -dc "${LIBC_PATH}" | \
|
||||
sudo tar xpf - -C "${root_fs_dir}" ./usr/${CHOST} \
|
||||
--strip-components=3 "${libc_excludes[@]/#/--exclude=}"
|
||||
|
||||
|
@ -25,7 +25,7 @@ install_dev_packages() {
|
||||
# Copy over the libc debug info so that gdb
|
||||
# works with threads and also for a better debugging experience.
|
||||
sudo mkdir -p "${root_fs_dir}/usr/lib/debug"
|
||||
pbzip2 -dc --ignore-trailing-garbage=1 "${LIBC_PATH}" | \
|
||||
lbzip2 -dc "${LIBC_PATH}" | \
|
||||
sudo tar xpf - -C "${root_fs_dir}/usr/lib/debug" \
|
||||
./usr/lib/debug/usr/${CHOST} --strip-components=6
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user