These notes are based on:

# poudriere version
poudriere-git-3.4.99.20251127_1

The following illustrates the original code vs. a possible
update:

# diff -u ~/poud-originals_news/image.sh.orig ~/poud-originals_news/image.sh.new
--- /root/poud-originals_news/image.sh.orig     2025-11-28 16:45:04.000000000 
-0800
+++ /root/poud-originals_news/image.sh.new      2025-11-28 17:08:59.608339000 
-0800
@@ -225,6 +225,9 @@
        # repo.conf always.
        cat > "${REPOS_DIR:?}/repo.conf" <<-EOF
        FreeBSD: { enabled: false }
+       FreeBSD-ports: { enabled: false }
+       FreeBSD-ports-kmods: { enabled: false }
+       FreeBSD-base: { enabled: false }
        local: { url: file:///${WRKDIR}/world/tmp/packages }
        EOF
 
@@ -566,6 +569,9 @@
        if [ "${arch}" == "${host_arch}" ]; then
                cat > "${WRKDIR:?}/world/tmp/repo.conf" <<-EOF
                FreeBSD: { enabled: false }
+               FreeBSD-ports: { enabled: false }
+               FreeBSD-ports-kmods: { enabled: false }
+               FreeBSD-base: { enabled: false }
                local: { url: file:///tmp/packages }
                EOF
                convert_package_list "${PACKAGELIST}" | \
@@ -575,6 +581,9 @@
        else
                cat > "${WRKDIR:?}/world/tmp/repo.conf" <<-EOF
                FreeBSD: { enabled: false }
+               FreeBSD-ports: { enabled: false }
+               FreeBSD-ports-kmods: { enabled: false }
+               FreeBSD-base: { enabled: false }
                local: { url: file:///${WRKDIR}/world/tmp/packages }
                EOF
                (

(As far as I can tell, any place in poudriere-devel's scripts
that lists only the one "FreeBSD: { enabled: false }" is
likely suspect now.)

===
Mark Millard
marklmi at yahoo.com


Reply via email to