Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2026 13:41:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 295382] release.sh no longer builds with nullfs ${PORTS} and ${SRC} in ${CHROOTDIR}
Message-ID:  <bug-295382-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295382

            Bug ID: 295382
           Summary: release.sh no longer builds with nullfs ${PORTS} and
                    ${SRC} in ${CHROOTDIR}
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: agh@riseup.net

Recently on 16-CURRENT-n285947-ca67cfa5237f[1], ${SRC}/release.sh has stopped
working with a tmpfs mounted ${CHROOTDIR} loaded with nullfs mounted ${PORTS}
and ${SRC}.

To reproduce, copy ${SRC}/release.conf.sample to ${FOO} and edit:

> load_chroot_env() {
> 
>         (mkdir -p "${CHROOTDIR}/usr/ports")
>         (mount_nullfs -oro "/usr/ports" "${CHROOTDIR}/usr/ports")
>         (mkdir -p "${CHROOTDIR}/usr/src")
>         (mount_nullfs -oro "/usr/src" "${CHROOTDIR}/usr/src")
> }
> 
> PORTS_UPDATE_SKIP=YES
> SRC_UPDATE_SKIP=YES

> $ doas ./release.sh -c ${FOO}

1:
https://codeberg.org/FreeBSD/freebsd-src/commit/ca67cfa5237f7ac537ca8611054b5af2098e2d86

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295382-227>