Skip to content

Commit

Permalink
noble: update fenix apt source
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Xie <[email protected]>
  • Loading branch information
numbqq committed May 10, 2024
1 parent 6247240 commit df80276
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/functions/build-board-deb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,11 @@ build_board_deb() {
if [ "$BUILD_TYPE" == "release" ]; then
mkdir -p $pkgdir/etc/apt/sources.list.d
if [ "$VENDOR" == "Amlogic" ] && [ "$LINUX" == "5.15" ]; then
echo "deb http://dl.khadas.com/repos/${KHADAS_BOARD,,}-${LINUX}/ ${DISTRIB_RELEASE} main" > $pkgdir/etc/apt/sources.list.d/fenix.list
if [ "$DISTRIB_RELEASE" == "jammy" ]; then
echo "deb http://dl.khadas.com/repos/${KHADAS_BOARD,,}-${LINUX}/ ${DISTRIB_RELEASE} main" > $pkgdir/etc/apt/sources.list.d/fenix.list
else
echo "deb http://dl.khadas.com/repos/${KHADAS_BOARD,,}/ ${DISTRIB_RELEASE} main" > $pkgdir/etc/apt/sources.list.d/fenix.list
fi
else
echo "deb http://dl.khadas.com/repos/${KHADAS_BOARD,,}/ ${DISTRIB_RELEASE} main" > $pkgdir/etc/apt/sources.list.d/fenix.list
fi
Expand Down

0 comments on commit df80276

Please sign in to comment.