Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    t113 tina怎么在编译打包的时候修改sshd_config内容?

    MR Series
    3
    4
    2212
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      name_10____231 LV 3 last edited by

      t113 tina怎么在编译打包的时候修改sshd_config内容?
      微信图片_20230507104946.png

      如上图,sdk里busybox-init-base-files/etc里面没有ssh文件夹,编译完out/t113-mq_r/staging_dir/target/rootfs/etc/ssh就有sshd_config了,请问怎么在生成sshd_config的时候修改它的内容?

      whycan 1 Reply Last reply Reply Quote Share 0
      • whycan
        whycan晕哥 LV 9 @name_10____231 last edited by whycan

        @name_10____231 在 t113 tina怎么在编译打包的时候修改sshd_config内容? 中说:

        busybox-init-base-files/etc

        这里面新建 sshd_config,然后重新 make && pack 试一试

        N 1 Reply Last reply Reply Quote Share 0
        • N
          name_10____231 LV 3 @whycan last edited by

          @whycan 试了下,不行,我把out/t113-mq_r/staging_dir/target/rootfs删掉,再make,生成的sshd_config就是默认的内容,不是busybox-init-base-files/etc/ssh/sshd_config修改的内容。。。。

          但是给busybox-init-base-files/里面新建个空文件夹,它又能出现在out/t113-mq_r/staging_dir/target/rootfs,很神奇😖

          F 1 Reply Last reply Reply Quote Share 0
          • F
            flamebox LV 3 @name_10____231 last edited by

            @name_10____231 试试先放到里busybox-init-base-files/etc里,然后再在那个脚本里复制到ssh文件夹内?🙄

            1 Reply Last reply Reply Quote Share 0
            • 1 / 1
            • First post
              Last post

            Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

            行为准则 | 用户协议 | 隐私权政策