sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
918 stars 126 forks source link

README: fix overlays copying command #122

Closed andrey-utkin closed 4 years ago

andrey-utkin commented 4 years ago

The original command fails because the path used is a symlink, and /boot is FAT filesystem which doesn't support symlinks:

cp -rv arch/arm64/boot/dts/overlays /boot/boo
'arch/arm64/boot/dts/overlays' -> '/boot/boo'
cp: cannot create symbolic link '/boot/boo': Operation not permitted

Appending a slash to the source path causes the symlink to be resolved rather than used intact.

sakaki- commented 4 years ago

Many thanks ^-^ sakaki