From 91e546cace58150059b190bd49b60160803e56da Mon Sep 17 00:00:00 2001 From: eichehome Date: Thu, 18 Jan 2024 01:27:26 +0100 Subject: [PATCH] Fixed Timer. Added Generators. --- manual-build/create-initramfs.sh | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/manual-build/create-initramfs.sh b/manual-build/create-initramfs.sh index fabbd53..4d041ab 100755 --- a/manual-build/create-initramfs.sh +++ b/manual-build/create-initramfs.sh @@ -383,12 +383,26 @@ echo "Link Timers..." targetdir="${buildroot}/usr/lib/systemd/system/timers.target.wants" mkdir -p "${targetdir}" -ld -s ../systemd-tmpfiles-clean.timer "${targetdir}"/systemd-tmpfiles-clean.timer +ln -s ../systemd-tmpfiles-clean.timer "${targetdir}"/systemd-tmpfiles-clean.timer # Copy Generators echo "Copy Generators..." +search_path="/usr/lib/systemd/system-generators" +targetdir="${buildroot}/usr/lib/systemd/system-generators/" + +cp "${search_path}"/systemd-bless-boot-generator "${targetdir}" +cp "${search_path}"/systemd-cryptsetup-generator "${targetdir}" +cp "${search_path}"/systemd-debug-generator "${targetdir}" +cp "${search_path}"/systemd-fstab-generator "${targetdir}" +cp "${search_path}"/systemd-getty-generator "${targetdir}" +cp "${search_path}"/systemd-gpt-auto-generator "${targetdir}" +cp "${search_path}"/systemd-hibernate-resume-generator "${targetdir}" +cp "${search_path}"/systemd-integritysetup-generator "${targetdir}" +cp "${search_path}"/systemd-run-generator "${targetdir}" +cp "${search_path}"/systemd-system-update-generator "${targetdir}" +cp "${search_path}"/systemd-veritysetup-generator "${targetdir}" exit 0