Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Yocto-尚未应用修补程序_Linux_Yocto_Patch_Bitbake - Fatal编程技术网

Linux Yocto-尚未应用修补程序

Linux Yocto-尚未应用修补程序,linux,yocto,patch,bitbake,Linux,Yocto,Patch,Bitbake,我正在使用用Yocto构建的Linux。我需要对/etc/ssh/sshd\u config文件添加一些更改。我使用meld创建了以下修补程序文件: --- a/sshd_config +++ b/sshd_config @@ -116,3 +116,8 @@ # AllowTcpForwarding no # PermitTTY no # ForceCommand cvs server + +#SFTP server configuration +Match Group root

我正在使用用Yocto构建的Linux。我需要对
/etc/ssh/sshd\u config
文件添加一些更改。我使用
meld
创建了以下修补程序文件:

--- a/sshd_config
+++ b/sshd_config
@@ -116,3 +116,8 @@
 #  AllowTcpForwarding no
 #  PermitTTY no
 #  ForceCommand cvs server
+
+#SFTP server configuration
+Match Group root
+ChrootDirectory /share
+ForceCommand internal-sftp
metamylayer/recipes connectivity/openssh
中,我创建了
openssh_8.2p1.bbappend
文件,其中包含以下内容:

FILESEXTRAPATHS_prepend := "${THISDIR}:"
SRC_URI += "file://configure_sftp_server.patch"
我把.patch文件放在同一个目录中。问题是Yocto在构建映像时既不显示错误也不显示警告,但它不应用我的补丁

创建补丁文件后,我更改了前两行,因为在meld版本中,它们包含到比较文件的绝对路径。我想这可能是问题所在,但我不知道该写什么

提前感谢您的帮助