Skip to content

Commit 3edf630

Browse files
feat: install pv with apt instead
1 parent a63b2ee commit 3edf630

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/scripts/build-jammy.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,12 @@ EOF
6060

6161
# set up pv
6262
lshout "Setting up pv..."
63-
cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
64-
run_cmd "dpkg -i /pv-${t_arch}.deb"
65-
run_cmd "rm /pv-${t_arch}.deb"
63+
# cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
64+
# run_cmd "dpkg -i /pv-${t_arch}.deb"
65+
# run_cmd "rm /pv-${t_arch}.deb"
66+
run_cmd "apt update"
67+
run_cmd "apt install pv -y"
68+
run_cmd "apt clean"
6669

6770
# clean any archive if exits
6871
apt-get clean

build-jammy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ EOF
5454

5555
# set up pv
5656
lshout "Setting up pv..."
57-
cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
58-
run_cmd "dpkg -i /pv-${t_arch}.deb"
59-
run_cmd "rm /pv-${t_arch}.deb"
57+
run_cmd "apt update"
58+
run_cmd "apt install pv -y"
59+
run_cmd "apt clean"
6060

6161
}
6262

0 commit comments

Comments
 (0)