jail update system files

Hi.
Am I doing this correctly?
After upgrading my system from FreeBSD 14.3 to 14.4, I do the following:
cd /usr/src/
# yes | make delete-old
# yes | make delete-old-libs
What about the jail environment, updating outdated system files in jail?
cd /usr/src
yes | make delete-old DESTDIR=/usr/jails/basejailyes
yes | make delete-old-libs DESTDIR=/usr/jails/basejail
Right?
 
ezjail-admin is obsolete and, anyway, never used make nor advised to use that. About the config files, as you use thin jails, it's a limitation of ezjail.

I use etcupdate in jails for that purpose in my my own scripts; it needs to have the sources in base. But, here, we are outside the use of ezjail.
 
Back
Top