Skip to content

Commit

Permalink
Remove testing repo when not using edge
Browse files Browse the repository at this point in the history
  • Loading branch information
katadelos committed Feb 20, 2021
1 parent 49c49f6 commit a258595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-alpine-chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bootstrap_alpine() {

prepare_chroot() {
mkdir -p "$MNT_DIR/etc/apk"
echo -e "$REPO/$VERSION/main/\n$REPO/$VERSION/community/\n$REPO/$VERSION/testing/" > "$MNT_DIR/etc/apk/repositories"
echo -e "$REPO/$VERSION/main/\n$REPO/$VERSION/community/" > "$MNT_DIR/etc/apk/repositories"
cp /etc/resolv.conf $MNT_DIR/etc/resolv.conf
cp /usr/bin/qemu-arm-static $MNT_DIR/usr/bin/
cp provision/default.sh $MNT_DIR/tmp/default.sh
Expand All @@ -95,7 +95,7 @@ prepare_chroot() {

setup_chroot() {
chroot $MNT_DIR qemu-arm-static /bin/sh -C /tmp/default.sh /dev/null 2>/dev/null
echo -e "$CDN_REPO/$VERSION/main/\n$CDN_REPO/$VERSION/community/\n$CDN_REPO/$VERSION/testing/" > "$MNT_DIR/etc/apk/repositories"
echo -e "$CDN_REPO/$VERSION/main/\n$CDN_REPO/$VERSION/community/" > "$MNT_DIR/etc/apk/repositories"
}

unmount_system() {
Expand Down

0 comments on commit a258595

Please sign in to comment.