Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails building on DietPi - no sshd_config #193

Open
calonmerc opened this issue Apr 17, 2023 · 1 comment
Open

Fails building on DietPi - no sshd_config #193

calonmerc opened this issue Apr 17, 2023 · 1 comment

Comments

@calonmerc
Copy link

/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

@guysoft
Copy link
Owner

guysoft commented Apr 17, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants