Switch from Systemd to Enit
This commit is contained in:
@@ -35,16 +35,19 @@ check() {
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
make DESTDIR="$BPM_OUTPUT" install
|
||||
install -v -m755 contrib/ssh-copy-id "$BPM_OUTPUT"/usr/bin
|
||||
install -v -m644 contrib/ssh-copy-id.1 "$BPM_OUTPUT"/usr/share/man/man1
|
||||
mkdir -p "$BPM_OUTPUT"/etc/pam.d
|
||||
cp ../sshd-pam "$BPM_OUTPUT"/etc/pam.d/sshd
|
||||
cp ../sshd_config "$BPM_OUTPUT"/etc/ssh/sshd_config
|
||||
mkdir -p "$BPM_OUTPUT"/usr/lib/systemd/system/
|
||||
cp ../sshd.service "$BPM_OUTPUT"/usr/lib/systemd/system/sshd.service
|
||||
cp ../sshd-keygen.service "$BPM_OUTPUT"/usr/lib/systemd/system/sshd-keygen.service
|
||||
|
||||
install -m755 contrib/ssh-copy-id "$BPM_OUTPUT"/usr/bin
|
||||
install -m644 contrib/ssh-copy-id.1 "$BPM_OUTPUT"/usr/share/man/man1
|
||||
|
||||
install -Dm644 "$BPM_WORKDIR"/sshd-pam "$BPM_OUTPUT"/etc/pam.d/sshd
|
||||
|
||||
install -Dm644 "$BPM_WORKDIR"/sshd_config "$BPM_OUTPUT"/etc/ssh/sshd_config
|
||||
|
||||
install -Dm644 "$BPM_WORKDIR"/sshd.esv "$BPM_OUTPUT"/etc/esvm/services/sshd.esv
|
||||
install -Dm644 "$BPM_WORKDIR"/ssh-keygen.esv "$BPM_OUTPUT"/etc/esvm/services/ssh-keygen.esv
|
||||
|
||||
install -v -m755 -d "$BPM_OUTPUT"/usr/share/doc/openssh
|
||||
install -v -m644 INSTALL LICENCE OVERVIEW README* "$BPM_OUTPUT"/usr/share/doc/openssh
|
||||
mkdir -p "$BPM_OUTPUT"/usr/share/licenses/openssh
|
||||
cp LICENCE "$BPM_OUTPUT"/usr/share/licenses/openssh/LICENSE
|
||||
|
||||
install -Dm644 LICENCE "$BPM_OUTPUT"/usr/share/licenses/openssh/LICENSE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user