Generate certificates through package script

This commit is contained in:
2025-03-15 19:53:38 +02:00
parent 2e35bb1a2e
commit fc110b17b9
4 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: make-ca name: make-ca
description: PKI setup script for LFS (and others) description: PKI setup script for LFS (and others)
version: 1.13 version: 1.13
revision: 2 revision: 3
url: https://github.com/lfs-book/make-ca url: https://github.com/lfs-book/make-ca
license: GPL3 or MIT license: GPL3 or MIT
architecture: any architecture: any
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
/usr/sbin/make-ca -D "$BPM_ROOT" -g
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
rm -rf "$BPM_ROOT"/etc/ssl/*
-1
View File
@@ -17,7 +17,6 @@ prepare() {
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
install -vdm755 "$BPM_OUTPUT"/etc/ssl/local install -vdm755 "$BPM_OUTPUT"/etc/ssl/local
/usr/sbin/make-ca -D "$BPM_OUTPUT" -g
install -Dm644 LICENSE.MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE install -Dm644 LICENSE.MIT "$BPM_OUTPUT"/usr/share/licenses/LICENSE
} }