Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Nov 2012 10:25:38 +0000 (UTC)
From:      jb <jb.1234abcd@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: freebsd-update and sources of 9.1-RC3
Message-ID:  <loom.20121104T111825-994@post.gmane.org>
References:  <50952210.7060000@grosbein.net> <loom.20121103T162713-254@post.gmane.org> <50953CD5.7010902@grosbein.net> <loom.20121103T165235-720@post.gmane.org> <50961FF1.9010605@ose.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Bas Smeelen <b.smeelen <at> ose.nl> writes:

> ... 
> Can't this be accomplished by setting
> StrictComponents yes
> in /etc/freebsd-update.conf ?
> 
> Then feebsd-update does not try to figure out the components to update 
> by itself, but updates the components mentioned in
> Components src world kernel
> 
> I didn't try what happens if no source is installed.

Good shot, that could be the "override" option ...

I did the test and it did not work out for me.

# cat /etc/freebsd-update.conf
...
Components src world kernel
...
StrictComponents yes
...
#

# freebsd-update rollback
# shutdown -r now

# rm -rf /usr/src/

# freebsd-update upgrade -r 9.1-RC3
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 9.1-RC2 from update4.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Fetching metadata signature for 9.1-RC3 from update4.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be added as part of updating to 9.1-RC3-p0:
/usr/src/release/doc/de_DE.ISO8859-1/early-adopter/article.xml
...
The following files will be updated as part of updating to 9.1-RC3-p0:
/boot/kernel/hpt27xx.ko
/boot/kernel/kernel
...
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
#
# freebsd-update install
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
#
# shutdown -r now
 
# freebsd-update install
Installing updates...install: ///usr/src/release/doc/de_DE.ISO8859-1/early-adopt
er/article.xml: No such file or directory
...
#
# ls -al /usr/src/
total 12
drwxr-xr-x   3 root  wheel  512 Nov  4 10:17 .
drwxr-xr-x  16 root  wheel  512 Nov  4 10:17 ..
drwxr-xr-x   3 root  wheel  512 Nov  4 10:17 release
# ls -al /usr/src/release/doc/
total 36
drwxr-xr-x  9 root  wheel  512 Nov  4 10:17 .
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 ..
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 de_DE.ISO8859-1
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 en_US.ISO8859-1
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 fr_FR.ISO8859-1
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 ja_JP.eucJP
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 ru_RU.KOI8-R
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 share
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 zh_CN.GB2312
# ls -al /usr/src/release/doc/de_DE.ISO8859-1/
total 12
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 .
drwxr-xr-x  9 root  wheel  512 Nov  4 10:17 ..
drwxr-xr-x  3 root  wheel  512 Nov  4 10:17 share
#
# shutdown -r now

# uname -a
FreeBSD localhost.localdomain 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:
18:27 UTC 2012     root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i38
6

No luck. Should we file a PR# (there are some error msgs anyway) ?
jb





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?loom.20121104T111825-994>