File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ host_packages=(
119
119
haveged
120
120
parted
121
121
psmisc
122
+ zstd
122
123
)
123
124
124
125
arch_packages=(
@@ -404,16 +405,16 @@ stage1_install() {
404
405
405
406
log " Downloading bootstrap tarball ..."
406
407
set -- $( wget -qO- ${archlinux_mirror} /iso/latest/sha1sums.txt |
407
- grep " archlinux-bootstrap-[^-]*-${target_architecture} .tar.gz " )
408
+ grep " archlinux-bootstrap-[^-]*-${target_architecture} .tar.zst " )
408
409
local expected_sha1=$1
409
410
local bootstrap_filename=$2
410
411
download_and_verify \
411
412
${archlinux_mirror} /iso/latest/${bootstrap_filename} \
412
- /d2a/bootstrap.tar.gz \
413
+ /d2a/bootstrap.tar.zst \
413
414
${expected_sha1}
414
415
415
416
log " Extracting bootstrap tarball ..."
416
- tar -xzf /d2a/bootstrap.tar.gz \
417
+ tar -xf /d2a/bootstrap.tar.zst \
417
418
--directory=/d2a/work/archroot \
418
419
--strip-components=1
419
420
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ host_packages=(
119
119
haveged
120
120
parted
121
121
psmisc
122
+ zstd
122
123
)
123
124
124
125
arch_packages=(
@@ -407,16 +408,16 @@ stage1_install() {
407
408
408
409
log " Downloading bootstrap tarball ..."
409
410
set -- $( wget -qO- ${archlinux_mirror} /iso/latest/sha256sums.txt |
410
- grep " archlinux-bootstrap-[^-]*-${target_architecture} .tar.gz " )
411
+ grep " archlinux-bootstrap-[^-]*-${target_architecture} .tar.zst " )
411
412
local expected_sha256=$1
412
413
local bootstrap_filename=$2
413
414
download_and_verify \
414
415
${archlinux_mirror} /iso/latest/${bootstrap_filename} \
415
- /d2a/bootstrap.tar.gz \
416
+ /d2a/bootstrap.tar.zst \
416
417
${expected_sha256}
417
418
418
419
log " Extracting bootstrap tarball ..."
419
- tar -xzf /d2a/bootstrap.tar.gz \
420
+ tar -xf /d2a/bootstrap.tar.zst \
420
421
--directory=/d2a/work/archroot \
421
422
--strip-components=1
422
423
You can’t perform that action at this time.
0 commit comments