You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1.1 KiB
25 lines
1.1 KiB
#!/bin/sh -e
|
|
#
|
|
# Copyright (C) 2020 Johannes Kepler University Linz, Institute of Networks and Security
|
|
# Copyright (C) 2020 CDL Digidow <https://www.digidow.eu/>
|
|
#
|
|
# Licensed under the EUPL, Version 1.2 or – as soon they will be approved by
|
|
# the European Commission - subsequent versions of the EUPL (the "Licence").
|
|
# You may not use this work except in compliance with the Licence.
|
|
#
|
|
# You should have received a copy of the European Union Public License along
|
|
# with this program. If not, you may obtain a copy of the Licence at:
|
|
# <https://joinup.ec.europa.eu/software/page/eupl>
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the Licence is distributed on an "AS IS" basis,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the Licence for the specific language governing permissions and
|
|
# limitations under the Licence.
|
|
#
|
|
|
|
if [ "$1" = "prereqs" ]; then exit 0; fi
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
copy_exec /usr/bin/tpm2_unseal
|
|
copy_exec /usr/lib/x86_64-linux-gnu/libtss2-tcti-device.so.0
|
|
copy_exec /usr/sbin/passphrase-from-tpm.sh
|
|
|