Skip to content

Commit

Permalink
feat: install pv with apt instead
Browse files Browse the repository at this point in the history
  • Loading branch information
SaicharanKandukuri committed Apr 9, 2024
1 parent a63b2ee commit 3edf630
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/scripts/build-jammy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ EOF

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

# clean any archive if exits
apt-get clean
Expand Down
6 changes: 3 additions & 3 deletions build-jammy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ EOF

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

}

Expand Down

0 comments on commit 3edf630

Please sign in to comment.