profiling requires patching systemd during initramfs build; remove runtime profiling option

This commit is contained in:
Anderson Rosenberg 2025-10-22 19:01:39 -04:00
parent 501d68bf7e
commit 4ac936df5b
No known key found for this signature in database
GPG key ID: 7ACF448C0590AB9C
6 changed files with 65 additions and 24 deletions

View file

@ -33,11 +33,17 @@ install() {
inst_script /usr/local/sbin/surgeon-suture
inst_script /usr/local/sbin/reliant-mount
inst_script /usr/local/sbin/reliant-hash
inst_script /usr/local/sbin/reliant-seal
inst /etc/reliant.conf
# Other binaries
inst_multiple dmesg lsblk blockdev mount dd wc sed sleep md5sum find modprobe cut grep mkdir rm tail
inst_multiple dmesg lsblk blockdev mount dd wc sed sort sleep md5sum find modprobe cut grep mkdir rm tail
# Optional profiling
if [ "$RELIANT_PROFILING" = "true" ]; then
inst /usr/lib/systemd/systemd-volatile-root.reliant-profiling /usr/lib/systemd/systemd-volatile-root
fi
return 0
}