File tree 3 files changed +2
-124
lines changed
3 files changed +2
-124
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -49,11 +49,6 @@ proot_args+=("-w" "/root")
49
49
rootfs_part_uuid=" 4f1bfa20-73e8-4885-ab4b-1f9e67332f79"
50
50
efi_part_uuid=" F41A-23A6"
51
51
52
- run_cmd_in_rootfs () {
53
- echo " Run cmd $* "
54
- sudo -E proot " ${proot_args[@]} " \
55
- -0 /bin/su -c " $* "
56
- }
57
52
58
53
mount_image () {
59
54
kpartx -av " $bootable_img "
@@ -137,7 +132,7 @@ pack_rootfs() {
137
132
echo " pack rootfs"
138
133
losetup -a
139
134
cd " $output "
140
- zstd --stdout --force " $bootable_img " > " $bootable_img_zst "
135
+ zstd -10 - -stdout --force " $bootable_img " > " $bootable_img_zst "
141
136
sha256sum " $bootable_img_zst " | tee " $bootable_img_zst .sha256sum"
142
137
cd " $workspace "
143
138
}
Original file line number Diff line number Diff line change @@ -49,11 +49,6 @@ proot_args+=("-w" "/root")
49
49
rootfs_part_uuid=" d1e46927-eb5d-4fbf-986a-7e5581f37a16"
50
50
efi_part_uuid=" 6729-82AB"
51
51
52
- run_cmd_in_rootfs () {
53
- echo " Run cmd $* "
54
- sudo -E proot " ${proot_args[@]} " \
55
- -0 /bin/su -c " $* "
56
- }
57
52
58
53
mount_image () {
59
54
kpartx -av " $bootable_img "
@@ -137,7 +132,7 @@ pack_rootfs() {
137
132
echo " pack rootfs"
138
133
losetup -a
139
134
cd " $output "
140
- zstd --stdout --force " $bootable_img " > " $bootable_img_zst "
135
+ zstd -10 - -stdout --force " $bootable_img " > " $bootable_img_zst "
141
136
sha256sum " $bootable_img_zst " | tee " $bootable_img_zst .sha256sum"
142
137
cd " $workspace "
143
138
}
You can’t perform that action at this time.
0 commit comments