setup: compute gitrev from outside of chroot
Together with previous commit, `xbps-src` is able to support git-worktree and shared repository by now.
This commit is contained in:
parent
2cd2b99e41
commit
2af30cdd78
3 changed files with 17 additions and 6 deletions
|
@ -175,6 +175,7 @@ chroot_handler() {
|
|||
${HTTP_PROXY_AUTH:+HTTP_PROXY_AUTH="${HTTP_PROXY_AUTH}"} \
|
||||
${FTP_RETRIES:+FTP_RETRIES="${FTP_RETRIES}"} \
|
||||
SOURCE_DATE_EPOCH="$SOURCE_DATE_EPOCH" \
|
||||
XBPS_GIT_REVS="$XBPS_GIT_REVS" \
|
||||
XBPS_ALLOW_CHROOT_BREAKOUT="$XBPS_ALLOW_CHROOT_BREAKOUT" \
|
||||
$XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \
|
||||
$XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" "$XBPS_CHROOT_CMD_ARGS" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue