git: 74cd979bcbac - releng/15.0 - release: Add pkg .conf to METALOG on dvd
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 18:32:40 UTC
The branch releng/15.0 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=74cd979bcbaccd8a606704ccdad5bb040e4e5795
commit 74cd979bcbaccd8a606704ccdad5bb040e4e5795
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-10-19 16:59:08 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-22 18:32:29 +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.
Approved by: re (cperciva)
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
(cherry picked from commit 2b5c62494df95cdb844b5f6f852412f2178f66dd)
(cherry picked from commit 52ea1ca18a0674e5085d6d0ddbc3c13bf0850429)
---
release/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/release/Makefile b/release/Makefile
index 6b5b0c1b975c..c142bc35a45c 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -427,6 +427,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}