diff options
-rw-r--r-- | setup-disk.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-disk.in b/setup-disk.in index 53ccee6..90c9c2d 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -693,7 +693,7 @@ install_mounted_root() { if is_rpi; then pkgs="$pkgs dosfstools" fi - local repos="$(sed -e 's/\#.*//' /etc/apk/repositories)" + local repos="$(sed -e 's/\#.*//' "$ROOT"/etc/apk/repositories 2>/dev/null)" local repoflags= for i in $repos; do repoflags="$repoflags --repository $i" |