similarity index 100%
rename from recipes-support/initramfs-config/files/secure-boot-debian-local-patch
rename to recipes-initramfs/initramfs-abrootfs-hook/files/debian-local-patch
similarity index 100%
rename from recipes-support/initramfs-config/files/initramfs.image_uuid.hook
rename to recipes-initramfs/initramfs-abrootfs-hook/files/initramfs.image_uuid.hook
similarity index 100%
rename from recipes-support/initramfs-config/files/initramfs.lsblk.hook
rename to recipes-initramfs/initramfs-abrootfs-hook/files/initramfs.lsblk.hook
similarity index 73%
rename from recipes-support/initramfs-config/files/postinst
rename to recipes-initramfs/initramfs-abrootfs-hook/files/postinst
@@ -1,6 +1,6 @@
#!/bin/sh
# patch local script
-patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/secureboot/secure-boot-debian-local.patch
+patch -s -p0 /usr/share/initramfs-tools/scripts/local /usr/share/initramfs-abrootfs-hook/debian-local.patch
update-initramfs -v -u
similarity index 74%
rename from recipes-support/initramfs-config/initramfs-abrootfs-secureboot_0.1.bb
rename to recipes-initramfs/initramfs-abrootfs-hook/initramfs-abrootfs-hook_0.1.bb
@@ -16,13 +16,13 @@ DEBIAN_DEPENDS += ", busybox, patch"
SRC_URI += "file://postinst \
file://initramfs.lsblk.hook \
file://initramfs.image_uuid.hook \
- file://secure-boot-debian-local-patch"
+ file://debian-local-patch"
do_install() {
- # add patch for local to /usr/share/secure boot
- TARGET=${D}/usr/share/secureboot
+ # add patch for local to /usr/share/initramfs-abrootfs-hook
+ TARGET=${D}/usr/share/initramfs-abrootfs-hook
install -m 0755 -d ${TARGET}
- install -m 0644 ${WORKDIR}/secure-boot-debian-local-patch ${TARGET}/secure-boot-debian-local.patch
+ install -m 0644 ${WORKDIR}/debian-local-patch ${TARGET}/debian-local.patch
# add hooks for secure boot
HOOKS=${D}/etc/initramfs-tools/hooks