x86: Release the ramdisks too.

This way we will get cgdroot.fs (and zfsroot.fs too) in the release.

PR misc/57534
This commit is contained in:
riastradh 2024-03-20 13:51:35 +00:00
parent 3cdf638023
commit 9a55048f5c
4 changed files with 14 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ramdisk,v 1.16 2022/04/10 11:56:28 martin Exp $
# $NetBSD: Makefile.ramdisk,v 1.17 2024/03/20 13:51:35 riastradh Exp $
NOSANITIZER= # defined
@ -49,6 +49,8 @@ ${CRUNCHBIN}: libhack.o
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
release:
release: ${IMAGE}
${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.ramdisk,v 1.15 2024/02/10 09:21:51 andvar Exp $
# $NetBSD: Makefile.ramdisk,v 1.16 2024/03/20 13:51:35 riastradh Exp $
NOSANITIZER= # defined
@ -56,6 +56,8 @@ ${CRUNCHBIN}: libhack.o
.include "${DISTRIBDIR}/common/Makefile.makedev"
.include "${DISTRIBDIR}/common/Makefile.image"
release:
release: ${IMAGE}
${HOST_INSTALL_FILE} -m ${NONBINMODE} ${IMAGE} \
${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk/
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.16 2018/08/02 16:26:09 maxv Exp $
# $NetBSD: Makefile.inc,v 1.17 2024/03/20 13:51:35 riastradh Exp $
#
# etc.amd64/Makefile.inc -- amd64-specific etc Makefile targets
#
@ -16,9 +16,11 @@ BUILD_KERNELS= INSTALL INSTALL_XEN3_DOMU
INSTALLATION_DIRS+= installation/cdrom
INSTALLATION_DIRS+= installation/misc
INSTALLATION_DIRS+= installation/miniroot
INSTALLATION_DIRS+= installation/ramdisk
snap_md_post:
cd ${KERNSRCDIR}/arch/i386/stand/pxeboot && ${MAKE} release
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom '*.iso'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.*'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc '*.*'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk '*.*'

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.69 2018/07/26 16:22:49 maxv Exp $
# $NetBSD: Makefile.inc,v 1.70 2024/03/20 13:51:35 riastradh Exp $
#
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
#
@ -26,6 +26,7 @@ INSTALLATION_DIRS+= installation/misc
INSTALLATION_DIRS+= installation/cdrom
INSTALLATION_DIRS+= installation/floppy
INSTALLATION_DIRS+= installation/miniroot
INSTALLATION_DIRS+= installation/ramdisk
# i386 specific distrib stuff
snap_md_post:
@ -36,3 +37,4 @@ snap_md_post:
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/floppy '*.fs'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/miniroot '*.*'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/misc '*.*'
${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/ramdisk '*.*'