From cc93f013b0e49506eff03cd8c07453ee0bef474a Mon Sep 17 00:00:00 2001 From: Renato Aguiar Date: Wed, 19 Feb 2020 19:04:16 -0800 Subject: [PATCH] Prefer repositories from '-r' in mkplatformfs This allows replacing existing packages with custom built ones and makes mkplatformfs behavior consistent with mkrootfs. --- mkplatformfs.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkplatformfs.sh.in b/mkplatformfs.sh.in index 9653daa..44d7a06 100644 --- a/mkplatformfs.sh.in +++ b/mkplatformfs.sh.in @@ -82,7 +82,7 @@ while getopts "b:p:k:c:C:r:x:o:nhV" opt; do k) POST_CMD="$OPTARG" ;; c) XBPS_CACHEDIR="--cachedir=$OPTARG" ;; C) XBPS_CONFFILE="-C $OPTARG" ;; - r) XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=$OPTARG" ;; + r) XBPS_REPOSITORY="--repository=$OPTARG $XBPS_REPOSITORY" ;; x) COMPRESSOR_THREADS="$OPTARG" ;; o) FILENAME="$OPTARG" ;; n) COMPRESSION="n" ;;