Index: general/prog/rust.xml
===================================================================
--- general/prog/rust.xml (revision 25997c4a3df7e2827e0eecf32e8f65a942234a78)
+++ general/prog/rust.xml (revision 62f58c7acdd0e940c8e16082bf165950d97bb6fa)
@@ -80,4 +80,12 @@
installation before updating. You may wish to do the same to save space.
+
+
+ One alternative when working with multiple versions or just updating
+ to a new version is to place the files in the
+ /opt directory. The instructions
+ below provide optional commands to support better control of
+ new package versions or reinstallation of the current version.
+
@@ -97,7 +105,6 @@
Rustc defaults to building for ALL supported architectures, using a
shipped copy of LLVM. In BLFS the build is only for the X86 architecture.
- If you
- intend to develop rust crates, this build may not be good enough for your
- purposes.
+ If you intend to develop rust crates, this build may not be good
+ enough for your purposes.
@@ -181,5 +188,14 @@
- First create a suitable config.toml file which will
+ If you are going to install into the
+ /opt directory, remove
+ conflicting entries. As the root
+ user:
+
+
+rm -rf /opt/rustc /opt/rustc-&rust-version;
+
+
+ Create a suitable config.toml file which will
configure the build. Unlike with previous releases, where even quite old
system versions of LLVMworked well, this
@@ -202,5 +218,5 @@
[build]
-# omiti HTML docs to save time and space (comment this to build them)
+# omit HTML docs to save time and space (comment this to build them)
docs = false
@@ -296,4 +312,13 @@
+ If installing in the /opt
+ directory, adjust the locations in the DESTDIR directory:
+
+
+mkdir -p install/opt/rustc-&rust-version; &&
+mv install/usr/* install/opt/rustc-&rust-version; &&
+rmdir install/usr
+
+
Now, as the root user
install the files from the DESTDIR:
@@ -302,4 +327,22 @@
chown -R root:root install &&
cp -a install/* /
+
+
+ Finally, if the application is installed in the /opt directory, create a symbolic link to
+ access the current version:
+
+
+ln -sfnv rustc-&rust-version; /opt/rustc
+
+
+
+ If multiple versions of Rust are installed
+ in /opt, changing to another
+ version only requires changing the /opt/rustc
+ symbolic link.
+
+
+
@@ -389,4 +432,59 @@
+
+
+ Configuring Rust
+
+
+ Configuration Information
+
+
+ If you installed rustc in
+ /opt, you need to update the
+ following configuration files so that ruxtc is
+ correctly found by other packages and system processes.
+
+
+
+ As the root user, update
+ the /etc/ld.so.conf file and the dynamic linker's
+ run-time cache file:
+
+
+cat >> /etc/ld.so.conf << EOF
+# Begin rustc addition
+
+/opt/rustc/lib
+
+# End rustc addition
+EOF
+
+ldconfig
+
+
+ /etc/ld.so.conf
+
+
+
+ As the root user, create
+ the /etc/profile.d/rustc.sh file:
+
+
+cat > /etc/profile.d/rustc.sh << "EOF"
+# Begin /etc/profile.d/rustc.sh
+
+pathprepend /opt/rustc/bin PATH
+
+# End /etc/profile.d/rustc.sh
+EOF
+
+ Immediately after installation, update the current PATH
+ for your current shell as a normal user:
+
+source /etc/profile.d/rustc.sh
+
+
+
+
Index: introduction/welcome/changelog.xml
===================================================================
--- introduction/welcome/changelog.xml (revision 25997c4a3df7e2827e0eecf32e8f65a942234a78)
+++ introduction/welcome/changelog.xml (revision 62f58c7acdd0e940c8e16082bf165950d97bb6fa)
@@ -45,4 +45,12 @@
January 24th, 2019
+
+ [bdubbs] - Update to btrfs-progs-v4.20.1. Fixes
+ #11582.
+
+
+ [bdubbs] - Update to x265_3.0. Fixes
+ #11584.
+
[ken] - Update to rustc-1.32.0, needed for the forthcoming
Index: multimedia/libdriv/x265.xml
===================================================================
--- multimedia/libdriv/x265.xml (revision 25997c4a3df7e2827e0eecf32e8f65a942234a78)
+++ multimedia/libdriv/x265.xml (revision 62f58c7acdd0e940c8e16082bf165950d97bb6fa)
@@ -7,5 +7,5 @@
-
+
Index: packages.ent
===================================================================
--- packages.ent (revision 25997c4a3df7e2827e0eecf32e8f65a942234a78)
+++ packages.ent (revision 62f58c7acdd0e940c8e16082bf165950d97bb6fa)
@@ -48,5 +48,5 @@
-
+
@@ -948,5 +948,5 @@
-
+
Index: postlfs/filesystems/btrfs-progs.xml
===================================================================
--- postlfs/filesystems/btrfs-progs.xml (revision 25997c4a3df7e2827e0eecf32e8f65a942234a78)
+++ postlfs/filesystems/btrfs-progs.xml (revision 62f58c7acdd0e940c8e16082bf165950d97bb6fa)
@@ -7,8 +7,8 @@
-
+
-
-
+
+
]>