freebsd-update and sources of 9.1-RC3
jb
jb.1234abcd at gmail.com
Sun Nov 4 10:25:51 UTC 2012
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 at 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
More information about the freebsd-stable
mailing list