Skip to content

Commit

Permalink
fix: install er apt repo in chroot as well
Browse files Browse the repository at this point in the history
  • Loading branch information
effective-range committed Nov 23, 2024
1 parent 0a8b3cb commit 1d4dafb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/build_steps_armhf/06-erapt_setup
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@ source "$(dirname $0)/../build_common"


#FIXME: we should be also using $DEBOOTSTRAP_TARGET instead of stable!!!

# Setup in host container
echo "deb http://aptrepo.effective-range.com stable main" > /etc/apt/sources.list.d/er.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C1AEE2EDBAEC37595801DDFAE15BC62117A4E0F3
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C1AEE2EDBAEC37595801DDFAE15BC62117A4E0F3

# Setup in chroot as well
if [ -d /var/chroot/buildroot ]
then
echo "deb http://aptrepo.effective-range.com stable main" > /var/chroot/buildroot/etc/apt/sources.list.d/er.list
chroot /var/chroot/buildroot apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv C1AEE2EDBAEC37595801DDFAE15BC62117A4E0F3
fi

0 comments on commit 1d4dafb

Please sign in to comment.