Skip to content

Commit cc93f01

Browse files
renatoaguiarJuan RP
authored andcommitted
Prefer repositories from '-r' in mkplatformfs
This allows replacing existing packages with custom built ones and makes mkplatformfs behavior consistent with mkrootfs.
1 parent 2b1aa4f commit cc93f01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mkplatformfs.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ while getopts "b:p:k:c:C:r:x:o:nhV" opt; do
8282
k) POST_CMD="$OPTARG" ;;
8383
c) XBPS_CACHEDIR="--cachedir=$OPTARG" ;;
8484
C) XBPS_CONFFILE="-C $OPTARG" ;;
85-
r) XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=$OPTARG" ;;
85+
r) XBPS_REPOSITORY="--repository=$OPTARG $XBPS_REPOSITORY" ;;
8686
x) COMPRESSOR_THREADS="$OPTARG" ;;
8787
o) FILENAME="$OPTARG" ;;
8888
n) COMPRESSION="n" ;;

0 commit comments

Comments
 (0)