Updating /src with Git, and "src" Components in the freebsd-update.conf

vigole

Daemon

Reaction score: 1,422
Messages: 1,242

CQ HALLO.

SVN era:
In the past, I could choose to extract the base source code in the /usr/src during the installation, or download it afterward and extract it after installation.
In case of RELEASE, it was possible to update the /usr/src with freebsd-update(8), i.e. without using subversion.

Git era (Question):
Is the src "Components" in the freebsd-update.conf(5) still relevant to the FreeBSD Release.
i.e. is it possible to update /usr/src (RELEASE) with freebsd-update(8)

73 30 EOT
 

Mjölnir

Daemon

Reaction score: 1,510
Messages: 2,114

FMLU: yes. IMHO should that change someday, it will be mentioned in the resp. manpages (in advance, like was & is the case with other deprecated stuff).
 

Mjölnir

Daemon

Reaction score: 1,510
Messages: 2,114

Addendum: Let's check: ls -ltr /var/db/freebsd-update/
Code:
...
drwxr-xr-x   2 root  wheel   113K 26 März 11:41 files
lrwxr-xr-x   1 root  wheel    14B 26 März 11:41 f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-rollback -> install.VmmlvO
drwx------   2 root  wheel     6B 26 März 15:05 install.VmmlvO
...
root@t450s:~ # find /usr/src -type f -newer /var/db/freebsd-update/files
Code:
/usr/src/crypto/openssl/crypto/x509/x509_vfy.c
/usr/src/crypto/openssl/ssl/ssl_lib.c
/usr/src/crypto/openssl/ssl/s3_lib.c
/usr/src/crypto/openssl/ssl/statem/statem_clnt.c
/usr/src/crypto/openssl/ssl/statem/extensions.c
/usr/src/crypto/openssl/ssl/statem/extensions_clnt.c
/usr/src/crypto/openssl/ssl/statem/statem_srvr.c
/usr/src/sys/conf/newvers.sh
 

Mjölnir

Daemon

Reaction score: 1,510
Messages: 2,114

Unfortunately, duplicate posts are kind of a running joke for me... :( I'm still suffering from that horrible variety of latency @my WWAN 3G (HSDPA+) Weltnetz connection... 1-2 weeks, then I will have been upgraded to LTE/4G & hopefully those duplicate posts will eventually be history forever.
 
Top