The branch main has been updated by cperciva:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=2b5c62494df95cdb844b5f6f852412f2178f66dd

commit 2b5c62494df95cdb844b5f6f852412f2178f66dd
Author:     Colin Percival <[email protected]>
AuthorDate: 2025-10-19 16:59:08 +0000
Commit:     Colin Percival <[email protected]>
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}
 

Reply via email to