Skip to content

Fails building on DietPi - no sshd_config #193

Open

Description

@calonmerc

/chroot_script: line 118: /etc/ssh/sshd_config: No such file or directory

After finally getting everything lined up for it to start building on DietPi, it fails at this line, shortly after adding the base Pi user.

The partition table from DietPi (may not matter):

"partitiontable": {
      "label": "dos",
      "id": "0xa0998a78",
      "device": "DietPi_RPi-ARMv8-Bullseye.img",
      "unit": "sectors",
      "sectorsize": 512,
      "partitions": [
         {
            "node": "DietPi_RPi-ARMv8-Bullseye.img1",
            "start": 2048,
            "size": 262144,
            "type": "c",
            "bootable": true
         },{
            "node": "DietPi_RPi-ARMv8-Bullseye.img2",
            "start": 264192,
            "size": 1920144,
            "type": "83"
         }
      ]
   }

Workflow run for reference: https://github.com/calonmerc/PiFireOS/actions/runs/4722075788/jobs/8376175376

Activity

  1. guysoft commented on Apr 17, 2023

    @guysoft
    Owner

    Hey,
    DietPi is not a disctubution I ever built for with CustomPiOS. CustomPiOS could be used to build on top of it, but you might need to maintantain your own variant. I can help a little but not support it long-term myself.

    The line is comming from here:
    https://github.com/guysoft/CustomPiOS/blob/devel/src/modules/base/start_chroot_script#L118

    Its part of the ssh stuff for raapbian/ubuntu that ship with ssh (which you might not have).

    You could set export BASE_SSH_ENABLE=no in your config file to disable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions