Skip to content

Commit 4465ca5

Browse files
author
MochiOS Team
committed
fix: remove [mochi] repo from build-time pacman.conf (pacstrap was choking on missing db)
1 parent 2d91d38 commit 4465ca5

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

‎archiso-mochios/pacman.conf‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,4 @@ Include = /etc/pacman.d/mirrorlist
4949
[multilib]
5050
Include = /etc/pacman.d/mirrorlist
5151

52-
[mochi]
53-
SigLevel = Optional TrustAll
54-
Server = file:///opt/mochi-pkgs
52+
# [mochi] repo is added by the installer, not needed at build time

‎build.sh‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ mkdir -p "$ISO_DIR/airootfs/opt/mochi-pkgs"
7272
for pkg in mochi; do
7373
cp "$REPO_DIR/os/x86_64/"$pkg-[0-9]*.pkg.tar.zst "$ISO_DIR/airootfs/opt/mochi-pkgs/"
7474
done
75-
# also copy the repo database so pacman can resolve the custom repo in the chroot
76-
cp -L "$REPO_DIR/os/x86_64/mochi.db" "$ISO_DIR/airootfs/opt/mochi-pkgs/mochi.db" 2>/dev/null || true
7775

7876
echo "==> stamping build date into mochios-release..."
7977
BUILD_DATE=$(date +%Y-%m-%d)

0 commit comments

Comments
 (0)