initramfs-tools: add systemd hook, missed in previous.
This commit is contained in:
parent
ac0dde032d
commit
b524582278
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREREQ=""
|
||||
|
||||
prereqs()
|
||||
{
|
||||
echo "$PREREQ"
|
||||
}
|
||||
|
||||
case $1 in
|
||||
# get pre-requisites
|
||||
prereqs)
|
||||
prereqs
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
. ${ROOTDIR}/usr/share/initramfs-tools/hook-functions
|
||||
|
||||
# we need systemd-timestamp
|
||||
copy_exec ${ROOTDIR}/lib/systemd/systemd-timestamp /bin
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue