• Updated /usr/local/share/poudriere/image.sh vs. modern FreeBSD-*: { enabled: false } handling?

    From Mark Millard@marklmi@yahoo.com to muc.lists.freebsd.ports on Sat Nov 29 08:59:15 2025
    From Newsgroup: muc.lists.freebsd.ports

    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
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2