diff options
author | xsmile | 2021-05-31 23:07:05 +0200 |
---|---|---|
committer | xsmile | 2021-05-31 23:07:05 +0200 |
commit | 598dcf572319df3599f88b5160a57bf54d636906 (patch) | |
tree | 2f17c1c319b0a9fd1ec733feb72c779b06d78f17 /sedutil-rescue.install | |
download | aur-598dcf572319df3599f88b5160a57bf54d636906.tar.gz |
init
Diffstat (limited to 'sedutil-rescue.install')
-rw-r--r-- | sedutil-rescue.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sedutil-rescue.install b/sedutil-rescue.install new file mode 100644 index 000000000000..12a9c189e339 --- /dev/null +++ b/sedutil-rescue.install @@ -0,0 +1,27 @@ +#!/bin/bash + +build() { + add_binary sedutil-cli + add_file "$SEDUTIL_PBA_IMG" /usr/sedutil/uefi64.img + cat << EOF > "$BUILDROOT"/usr/bin/linuxrescue +cat << EOM +* ********************************** * +* DTA sedutil rescue image * +* * +* The following tools are available: * +* - sedutil-cli * +* - PBA image in /usr/sedutil/ * +* * +* ********************************** * +EOM +EOF + chmod 755 "$BUILDROOT"/usr/bin/linuxrescue + + add_runscript +} + +help() { + cat <<HELPEOF +This hook creates a rescue environment to manage self-encrypting drives that comply with the TCG OPAL 2.00 standard. +HELPEOF +} |