diff --git a/.github/scripts/build-jammy.sh b/.github/scripts/build-jammy.sh index 2c888d4..43a78e2 100755 --- a/.github/scripts/build-jammy.sh +++ b/.github/scripts/build-jammy.sh @@ -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 diff --git a/build-jammy.sh b/build-jammy.sh index 87ecbe1..5decf53 100755 --- a/build-jammy.sh +++ b/build-jammy.sh @@ -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" }