Skip to content

Commit

Permalink
Only pin the ubuntu rockchip ppa on noble and jammy
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Riek committed Sep 22, 2024
1 parent 77a9b2e commit a581baa
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions scripts/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,18 @@ lb config \
--keyring-packages ubuntu-keyring \
--linux-flavours "${KERNEL_FLAVOR}"

# Pin rockchip package archives
(
echo "Package: *"
echo "Pin: release o=LP-PPA-jjriek-rockchip"
echo "Pin-Priority: 1001"
echo ""
echo "Package: *"
echo "Pin: release o=LP-PPA-jjriek-rockchip-multimedia"
echo "Pin-Priority: 1001"
) > config/archives/extra-ppas.pref.chroot
if [ "${SUITE}" == "noble" ] || [ "${SUITE}" == "jammy" ]; then
# Pin rockchip package archives
(
echo "Package: *"
echo "Pin: release o=LP-PPA-jjriek-rockchip"
echo "Pin-Priority: 1001"
echo ""
echo "Package: *"
echo "Pin: release o=LP-PPA-jjriek-rockchip-multimedia"
echo "Pin-Priority: 1001"
) > config/archives/extra-ppas.pref.chroot
fi

if [ "${SUITE}" == "noble" ]; then
# Ignore custom ubiquity package (mistake i made, uploaded to wrong ppa)
Expand Down

0 comments on commit a581baa

Please sign in to comment.