From 144ee9da1b86d00db87861bb908f4ac8d3bf3bde Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Sat, 10 Apr 2021 17:15:57 +0200 Subject: [PATCH] Install hook for systemd-volatile-root.service --- install/sd-volatile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 install/sd-volatile diff --git a/install/sd-volatile b/install/sd-volatile new file mode 100644 index 0000000..d1a8e36 --- /dev/null +++ b/install/sd-volatile @@ -0,0 +1,19 @@ +#!/bin/bash + +build() { + # volatile root: + add_systemd_unit "systemd-volatile-root.service" + add_symlink "/usr/lib/systemd/system/initrd.target.wants/systemd-volatile-root.service" \ + "../systemd-volatile-root.service" + add_binary "/usr/lib/systemd/systemd-volatile-root" +} + +help() { + cat <