initramfs-tools: add systemd hook, missed in previous.
This commit is contained in:
parent
ac0dde032d
commit
b524582278
1 changed files with 23 additions and 0 deletions
23
srcpkgs/initramfs-tools/files/hooks/systemd
Executable file
23
srcpkgs/initramfs-tools/files/hooks/systemd
Executable file
|
@ -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…
Add table
Add a link
Reference in a new issue