Copy resulting images to top level /R directory of the chroot
to match behavior of 'make install' target of src/release/. Generate sha256 and md5 checksums while here. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
3da8636145
commit
416b6e64c4
@ -75,6 +75,10 @@ main() {
|
||||
install_uboot
|
||||
eval chroot ${CHROOTDIR} /bin/sh /tmp/crochet/crochet.sh \
|
||||
-c /tmp/external/${XDEV}/crochet-${KERNEL}.conf
|
||||
mkdir -p ${CHROOTDIR}/R/
|
||||
cp -p ${CHROOTDIR}/usr/obj/*.img ${CHROOTDIR}/R/
|
||||
cd ${CHROOTDIR}/R/ && sha256 FreeBSD*.img > CHECKSUM.SHA256
|
||||
cd ${CHROOTDIR}/R/ && md5 FreeBSD*.img > CHECKSUM.MD5
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user