Skip to content

Commit c9fa5b4

Browse files
Merge pull request #22 from RandomCoderOrg/add-helper-for-pv
Add helper for pv
2 parents 7f34da1 + b08e01d commit c9fa5b4

File tree

8 files changed

+30
-0
lines changed

8 files changed

+30
-0
lines changed

.github/scripts/build-jammy.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5757
# deb-src $MIRROR $SUITE-backports main restricted universe multiverse
5858
5959
EOF
60+
61+
# set up pv
62+
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"
66+
6067
# clean any archive if exits
6168
apt-get clean
6269

.github/scripts/build-kinetic.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5757
# deb-src $MIRROR $SUITE-backports main restricted universe multiverse
5858
5959
EOF
60+
61+
# set up pv
62+
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"
66+
6067
# clean any archive if exits
6168
apt-get clean
6269

build-jammy.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5252
# deb-src $MIRROR $SUITE-backports main restricted universe multiverse
5353
EOF
5454

55+
# set up pv
56+
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"
60+
5561
}
5662

5763
shout "Bootstrapping $SUITE...."

build-kinetic.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ deb $MIRROR $SUITE-backports main restricted universe multiverse
5353
EOF
5454

5555
# TODO: FOLLOW latest udroid version system ( Add props to /etc/os-release )
56+
57+
# set up pv
58+
lshout "Setting up pv..."
59+
cp $ROOT_DIR/core/pv/pv-${t_arch}.deb $chroot_dir
60+
run_cmd "dpkg -i /pv-${t_arch}.deb"
61+
run_cmd "rm /pv-${t_arch}.deb"
62+
5663
}
5764

5865
shout "Bootstrapping $SUITE...."

core/pv/.cache

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pv_1.6.20-1_amd64.deb
2+
pv_1.6.20-1_arm64.deb
3+
pv_1.6.20-1_armhf.deb

core/pv/pv-aarch64.deb

57.2 KB
Binary file not shown.

core/pv/pv-arm.deb

50.8 KB
Binary file not shown.

core/pv/pv-x86_64.deb

52.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)