On 1/7/2015 10:50 AM, Dag-Erling Smørgrav wrote:
Leif Pedersen <bi...@hobbiton.org> writes:
It seems like -b doesn't work for upgrades though,

Yes, it does.

     # env UNAME_r=10.1-RELEASE freebsd-update -b /j/test upgrade
     freebsd-update: Release target must be specified via -r option.

This doesn't work because you didn't specify the target.

     # freebsd-update -b /j/test -r 10.1 upgrade
     freebsd-update: Cannot upgrade from 10.1-RELEASE to itself

This doesn't work because you didn't specify the correct starting point.
You have to set UNAME_r to what the jail is currently running.

Is that to say

`env UNAME_r=A.B-RELEASE freebsd-update -b /jail/path -r C.D-RELEASE upgrade`

is the correct command?
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscr...@freebsd.org"

Reply via email to