mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
gen-pacman-repo: create the seed root before invoking pacman
pacman resolves the --root path before doing any work and errors out when it does not exist, so the seed always failed after the cleanup rm.
This commit is contained in:
@@ -194,7 +194,7 @@ fi
|
||||
echo "gen-pacman-repo: seeding installed (local) db..."
|
||||
seed_dbpath="${OUT_DIR}/.seed-dbpath"
|
||||
rm -rf "${seed_dbpath}" "${OUT_DIR}/.seed-root"
|
||||
mkdir -p "${seed_dbpath}/local" "${seed_dbpath}/sync"
|
||||
mkdir -p "${seed_dbpath}/local" "${seed_dbpath}/sync" "${OUT_DIR}/.seed-root"
|
||||
cp "${local_db}" "${seed_dbpath}/sync/${REPO_NAME}.db"
|
||||
# The host pacman runs with the host architecture and signature policy,
|
||||
# which rejects our unsigned aarch64 payload; give it a minimal config
|
||||
|
||||
Reference in New Issue
Block a user