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=3D205998 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 followi= ng `install` lines with `reinstall` (which effectively does -DFORCE_PKG_REGIST= ER). It might be a good idea to use similar logic with chroots that are used more than once.. $ svn diff release/=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Index: release/release.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- release/release.sh (revision 293115) +++ release/release.sh (working copy) @@ -275,7 +275,7 @@ PBUILD_FLAGS=3D"${PBUILD_FLAGS} OSREL=3D${REVISION}" chroot ${CHROOTDIR} make -C /usr/ports/textproc/doc= proj \ ${PBUILD_FLAGS} OPTIONS_UNSET=3D"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=3D1 FORCE_PKG_REGISTER=3D1 install cl= ean distclean + BATCH=3D1 FORCE_PKG_REGISTER=3D1 reinstall = clean distclean done fi --=20 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>