Skip to content

Commit

Permalink
Merge pull request #22102 from dustinkirkland/openssh
Browse files Browse the repository at this point in the history
sshd won't start without a /var/empty directory
  • Loading branch information
xnox authored Jun 18, 2024
2 parents 1613647 + 720f740 commit c18a9e8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
16 changes: 15 additions & 1 deletion openssh.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: openssh
version: 9.7_p1
epoch: 1
epoch: 2
description: "the OpenBSD SSH implementation"
copyright:
- license: ISC
Expand Down Expand Up @@ -127,6 +127,10 @@ subpackages:
runtime:
- openssh-keygen
- openssh-server-config
scriptlets:
post-install: |
#!/bin/sh
ssh-keygen -A -q -N ""
- name: "openssh-server-config"
description: "OpenSSH server configuration"
Expand All @@ -140,3 +144,13 @@ update:
enabled: true
release-monitor:
identifier: 2565

test:
environment:
contents:
packages:
- openssh-server
pipeline:
- runs: |
ssh-keygen -A -q -N "" # This is unfortunate, but scriplets don't run in test environments, so force this here
/usr/sbin/sshd
5 changes: 4 additions & 1 deletion wolfi-baselayout.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: wolfi-baselayout
version: 20230201
epoch: 11
epoch: 12
description: "baselayout data for Wolfi"
copyright:
- license: MIT
Expand Down Expand Up @@ -59,5 +59,8 @@ pipeline:
chmod 0700 "${{targets.destdir}}"/root
mkdir -p "${{targets.destdir}}"/var/empty
chmod 755 "${{targets.destdir}}"/var/empty
update:
enabled: false

0 comments on commit c18a9e8

Please sign in to comment.