From caa260edd5b9b49f1f4c3d78022805ceee38a0e3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 21 Jan 2023 14:40:30 +0000 Subject: Fix mirror layout and add keychain --- src/mirror.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/mirror.sh') diff --git a/src/mirror.sh b/src/mirror.sh index 7a2a672..b2b7c80 100644 --- a/src/mirror.sh +++ b/src/mirror.sh @@ -18,12 +18,16 @@ create_deps_graph () { mirror () { local MIRROR_DIR=${SYSROOT}${1:-$MIRROR_DIR} - mkdir -p $MIRROR_DIR - create_deps_graph > $MIRROR_DIR/deps.graph + mkdir -p $MIRROR_DIR/repo + create_deps_graph > $MIRROR_DIR/repo/deps.graph + + mkdir -p $MIRROR_DIR/keychain + cp -r $KEYCHAIN_DIR/* $MIRROR_DIR/keychain/ local packages=$(list) - cd $MIRROR_DIR + cd $MIRROR_DIR/repo fetch $packages cd - + } -- cgit v1.2.1