Allow overriding xz(1) path.
Requested by: marck MFC After: 5 days X-MFC-With: r264027,r264028,r264029,r264030,r264046 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
4d1c5e039f
commit
3b485e461d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264073
@ -30,6 +30,7 @@ WORLDDIR?= ${.CURDIR}/..
|
||||
PORTSDIR?= /usr/ports
|
||||
DOCDIR?= /usr/doc
|
||||
RELNOTES_LANG?= en_US.ISO8859-1
|
||||
XZCMD?= /usr/bin/xz
|
||||
|
||||
.if !defined(TARGET) || empty(TARGET)
|
||||
TARGET= ${MACHINE}
|
||||
@ -259,7 +260,7 @@ install:
|
||||
.for I in ${IMAGES}
|
||||
cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
|
||||
. if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
|
||||
xz -k ${DESTDIR}/${OSRELEASE}-${I}
|
||||
${XZCMD} -k ${DESTDIR}/${OSRELEASE}-${I}
|
||||
. endif
|
||||
.endfor
|
||||
cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256
|
||||
|
Loading…
Reference in New Issue
Block a user