Date: Thu, 07 Jan 2016 08:10:36 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 205998] release/release.sh fails if packages are already installed in chroot Message-ID: <bug-205998-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205998 Bug ID: 205998 Summary: release/release.sh fails if packages are already installed in chroot Product: Base System Version: 10.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: ngie@FreeBSD.org I used release/release.sh in a chroot more than once, and unfortunately it failed when installing packages in the chroot, until I replaced the following `install` lines with `reinstall` (which effectively does -DFORCE_PKG_REGISTER). It might be a good idea to use similar logic with chroots that are used more than once.. $ svn diff release/ Index: release/release.sh =================================================================== --- release/release.sh (revision 293115) +++ release/release.sh (working copy) @@ -275,7 +275,7 @@ PBUILD_FLAGS="${PBUILD_FLAGS} OSREL=${REVISION}" chroot ${CHROOTDIR} make -C /usr/ports/textproc/docproj \ ${PBUILD_FLAGS} OPTIONS_UNSET="FOP IGOR" \ - install clean distclean + reinstall clean distclean fi fi @@ -282,7 +282,7 @@ if [ ! -z "${EMBEDDEDPORTS}" ]; then for _PORT in ${EMBEDDEDPORTS}; do eval chroot ${CHROOTDIR} make -C /usr/ports/${_PORT} \ - BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean + BATCH=1 FORCE_PKG_REGISTER=1 reinstall clean distclean done fi -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205998-8>
