Skip to content

Commit bd59b72

Browse files
Yury-MonZonalchark
authored andcommitted
Use zstd for the ospack archive
1 parent a209748 commit bd59b72

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

build-rootfs-img.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020

2121
mkdir -p "$IMG_OUT"
2222

23-
if [ ! -f "$IMG_OUT"/debian-ospack.tar.gz -o "$UPDATE_OSPACK" ]; then
23+
if [ ! -f "$IMG_OUT"/debian-ospack.tar.zst -o "$UPDATE_OSPACK" ]; then
2424
./build-ospack.sh
2525
fi
2626

debian-rk3576-img.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ architecture: arm64
1414
sectorsize: {{ $sectorsize }}
1515
actions:
1616
- action: unpack
17-
description: Load a tarball of the root filesystem
18-
file: debian-ospack.tar.gz
17+
description: Load the ospack archive
18+
file: debian-ospack.tar.zst
1919

2020
# debos formats btrfs (default flags, random FSUUID), mounts the top level at
2121
# $IMAGEMNTDIR, and records the standard root fstab line + root=UUID.

debian-rk3576-ospack.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,5 +263,6 @@ actions:
263263
command: chown -R user:user /home/user
264264

265265
- action: pack
266-
description: Save a tarball of the root filesystem
267-
file: debian-ospack.tar.gz
266+
description: Save the ospack archive
267+
file: debian-ospack.tar.zst
268+
compression: zstd

0 commit comments

Comments
 (0)