git: 2b5c62494df9 - main - release: Add pkg .conf to METALOG on dvd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Oct 2025 21:00:37 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=2b5c62494df95cdb844b5f6f852412f2178f66dd
commit 2b5c62494df95cdb844b5f6f852412f2178f66dd
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-10-19 16:59:08 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-20 21:00:26 +0000
release: Add pkg .conf to METALOG on dvd
We're correctly recording all of the packages in the dvd METALOG file,
but if we don't record ./packages/repos/FreeBSD_install_cdrom.conf then
users won't be able to install them very easily.
Reviewed by: markj
Reported by: Lars Tunkrans
MFC after: 3 days
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D53199
---
release/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/release/Makefile b/release/Makefile
index 13532097d56c..a777ded3c429 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -430,6 +430,8 @@ pkg-stage: dvd
mkdir -p ${.OBJDIR}/dvd/packages/repos/
cp ${.CURDIR}/scripts/FreeBSD_install_cdrom.conf \
${.OBJDIR}/dvd/packages/repos/
+ echo "./packages/repos type=dir uname=root gname=wheel mode=0755" >> dvd/METALOG
+ echo "./packages/repos/FreeBSD_install_cdrom.conf type=file uname=root gname=wheel mode=0644" >> dvd/METALOG
.endif
touch ${.TARGET}