This update comprises patches for the following layers:
Includes hot patches to fix the following CVEs:
* Userspace (php),
* Kernel (linux-yocto):
This *.tar file comprises the following patch content.
WRLINUX_10_25_LTS_RCPL0012_HOTFIX.tar.xz file (attached), includes the following layer directories, with five patches in three layers, located in the projectDir:
Use this single *.tar file to install the patches to a single platform project directory and for the mirror installation directories.
Perform the following steps to apply the patch on your host system.
For platform project installations:
To update a platform project directory, you can apply the hotfix *.tar file directly or apply each patch separately.
$ cd <projectDir>
OR
$ tar xf /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX.tar.xz
* wrlinux layer (2 patches: php recipe-version pin + kernel CVE patch, apply in order)
$ cd <projectDir>/layers/wrlinux
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/wrlinux/0*.patch
* meta-openembedded layer
$ cd <projectDir>/layers/meta-openembedded
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/meta-openembedded/*.patch
* meta-openembedded-dl-5.2 layer
$ cd <projectDir>/layers/meta-openembedded-dl-5.2
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/meta-openembedded-dl-5.2/*.patch
For local mirror installations:
Applying these patches to a local product mirror works for all subsequent projects cloned from it, so you don't have to apply them to every project individually.
wrlinux layer
$ git clone --branch WRLINUX_10_25_LTS_RCPL0012 layers/wrlinux.git wrlinux-clone
$ cd wrlinux-clone
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/wrlinux/0*.patch
$ git push
$ cd ../; rm -fr wrlinux-clone
meta-openembedded layer
$ git clone --branch WRLINUX_10_25_LTS_RCPL0012 layers/meta-openembedded.git meta-openembedded-clone
$ cd meta-openembedded-clone
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/meta-openembedded/*.patch
$ git push
$ cd ../; rm -fr meta-openembedded-clone
meta-openembedded-dl-5.2 layer
$ git clone --branch WRLINUX_10_25_LTS_RCPL0012 layers/meta-openembedded-dl-5.2.git meta-openembedded-dl-5.2-clone
$ cd meta-openembedded-dl-5.2-clone
$ git am /path/to/WRLINUX_10_25_LTS_RCPL0012_HOTFIX/layers/meta-openembedded-dl-5.2/*.patch
$ git push
$ cd ../; rm -fr meta-openembedded-dl-5.2-clone