Good day friends!
I'm update host from 10.3 amd64 to 11-PRERELEASE amd64.
All as need from /usr/src/Makefile:
After that procedure I upgrade my jails:
but that command gives me some errors like:
And inside the jail I cannot upgrade ports because of:
This happens as i understand, because of inside jail not updated /usr/include/sys with file param.h with _FreeBSD_Version_ variable.
I'm of course can manually sync host /usr/include dir with basejail /usr/jails/basejail/usr/include dir, but this is not right way. How I can solve that issue in true way?
I'm update host from 10.3 amd64 to 11-PRERELEASE amd64.
All as need from /usr/src/Makefile:
Code:
# 1. `cd /usr/src' (or to the directory containing your source tree).
# 2. `make buildworld'
# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# [steps 3. & 4. can be combined by using the "kernel" target]
# 5. `reboot' (in single user mode: boot -s from the loader prompt).
# 6. `mergemaster -p'
# 7. `make installworld'
# 8. `mergemaster' (you may wish to use -i, along with -U or -F).
# 9. `make delete-old'
# 10. `reboot'
# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
After that procedure I upgrade my jails:
ezjail-admin update -i
but that command gives me some errors like:
Code:
/usr/jails/basejail/usr/lib32/libprivateheimipcc.so.11cpio: usr/lib32/libprivateheimipcc.so.11: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libprivateheimipcc.socpio: usr/lib32/libprivateheimipcc.so: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libprivateheimipcs.acpio: usr/lib32/libprivateheimipcs.a: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libprivateheimipcs_p.acpio: usr/lib32/libprivateheimipcs_p.a: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libprivateheimipcs.so.11cpio: usr/lib32/libprivateheimipcs.so.11: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libprivateheimipcs.socpio: usr/lib32/libprivateheimipcs.so: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libkafs5_p.acpio: usr/lib32/libkafs5_p.a: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libkafs5.so.11cpio: usr/lib32/libkafs5.so.11: Cannot extract through symlink /usr/jails
/usr/jails/basejail/usr/lib32/libkafs5.socpio: usr/lib32/libkafs5.so: Cannot extract through symlink /usr/jails
And inside the jail I cannot upgrade ports because of:
Code:
make: "/basejail/usr/ports/Mk/bsd.port.mk" line 1148: UNAME_r (11.0-PRERELEASE) and OSVERSION (1002509) do not agree on major version number.
I'm of course can manually sync host /usr/include dir with basejail /usr/jails/basejail/usr/include dir, but this is not right way. How I can solve that issue in true way?