Date: Tue, 3 Oct 2017 07:35:32 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Subject: Re: Status of portupgrade and portmaster? Message-ID: <59cf6911-ab70-d222-d4a3-e7106c242efb@FreeBSD.org> In-Reply-To: <alpine.BSF.2.21.1710022053440.2025@yokozuna> References: <201710021712.v92HCmdW033734@gw.catspoiler.org> <alpine.BSF.2.21.1710021956350.2025@yokozuna> <20171002180931.GC48518@gmail.com> <alpine.BSF.2.21.1710022053440.2025@yokozuna>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --J4XSBgM0O7R6AOebagqHCsAvP2dwRciwB Content-Type: multipart/mixed; boundary="3t8LgdsN2mqRUXeCQL4S3987vKxqXiQn6"; protected-headers="v1" From: Matthew Seaman <matthew@FreeBSD.org> To: freebsd-ports@freebsd.org Message-ID: <59cf6911-ab70-d222-d4a3-e7106c242efb@FreeBSD.org> Subject: Re: Status of portupgrade and portmaster? References: <201710021712.v92HCmdW033734@gw.catspoiler.org> <alpine.BSF.2.21.1710021956350.2025@yokozuna> <20171002180931.GC48518@gmail.com> <alpine.BSF.2.21.1710022053440.2025@yokozuna> In-Reply-To: <alpine.BSF.2.21.1710022053440.2025@yokozuna> --3t8LgdsN2mqRUXeCQL4S3987vKxqXiQn6 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 02/10/2017 19:58, Marco Beishuizen wrote: > On Mon, 2 Oct 2017, the wise Matt Smith wrote: >=20 >>> I'm running 11.1-STABLE now, upgrading every few months or when there= >>> is an important security fix. Do I have to build a new system twice >>> in that case (once my running system and once the poudriere jail)? >>> >> >> What I do is to initially create the jail using poudriere jail -c -j >> 11 -m src=3D/usr/src and then I upgrade the jail using poudriere jail = -u >> -j 11. >> >> These commands use the existing /usr/src and /usr/obj trees from the >> host system buildworld/kernel. It doesn't need to be rebuilt. >=20 > Did a make cleanworld last time I upgraded so /usr/obj is empty now, bu= t > next time I'll try this out. Didn't know poudriere could do this > (although it's in the manpage I see now). Thanks for the info! Even so, so long as your host system and your poudriere jail are ABI compatible, then you *don't* need to upgrade your pourdiere jail in lock-step with your host. The poudriere jail only needs to be binary compatible -- ie. the same major version of FreeBSD -- and not newer than the host system. Even the reason for having the same major version is just so that the packages you build will run where you want to deploy them -- you can run a jail of an earlier major version if you have older systems to support, or you can run an i386 jail on an amd64 server if you have 32bit machines to support. Not upgrading your poudriere jail has one big advantage -- as soon as you update the jail, poudriere will rebuild /all/ of your packages. Avoiding updating the jail means you can just carry on doing incremental updates and save some CPU cycles. Cheers, Matthew --3t8LgdsN2mqRUXeCQL4S3987vKxqXiQn6-- --J4XSBgM0O7R6AOebagqHCsAvP2dwRciwB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJZ0y+6XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATHQ4P/3IvLoEGIrpcCt93DfaNTYuH nShqW2rbwUAODIhNSh5H3ao24QOh2wxbPYkgz8s/cZxwqif7FK6g1hqREWbjDcn6 rK/5HM8Pn8z476MUdmOa440o6yHylljqgpAB0sSUWQ3lkTnSYAvE0jsNAP2KK+6U NbspoUa0fHMHzMPDDpJJIKp0BlF7tyYR3Hd15iGZVzslXF/0bu5VaWLaHe5BjAeL CTRwhnyJHpwK/AxQxZswqH4xy+zQ99CzCgy4bGT/cAlVgWcT/PzjdxylGq1bViLm vM+3uDAAuZTvPAEYeXPoe6N5fHvvD/M7osKCOBj4h9xAjNiDLk/sYj4w5AT7UmE3 ZSdhIbn8yLY/3vzWZ3A+GqNcmdB5Xj+anP6LPHapuqixzfNEQgx9h5ysdZeTrg3o 92jm6psmBTT4d+j/LONaOMfoIAgtwVypRIWAgxCpbFeX2Xe9srPi2p/6nVnSlR1P xuiapZvGOpo9jPnHCPlFyAXHp+SZsAZ2J4tOO4wbg3jcxUf7gOv4uuSvpbjyEMVf KiDmNvYv9QZLSm5/cvkK8BSHzfJUv8hDJh5kTST2Lg4zoVbHzkUY2HvNoyNcWXu8 5ijoWAXuYSTZZ2e1++SuBcQHAfeGXwgr4sWbDPkD0+0xUhlHwu23COyK5QMKcyuL ho9cFoaY/TXiI+QwJMo8 =VmCz -----END PGP SIGNATURE----- --J4XSBgM0O7R6AOebagqHCsAvP2dwRciwB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59cf6911-ab70-d222-d4a3-e7106c242efb>