Message ID | 20230823140521.1013898-1-Quirin.Gylstorff@siemens.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | [isar-cip-core] initramfs-abrootfs-hook: Ensure sync on rebuild | expand |
diff --git a/recipes-initramfs/initramfs-abrootfs-hook/initramfs-abrootfs-hook_0.1.bb b/recipes-initramfs/initramfs-abrootfs-hook/initramfs-abrootfs-hook_0.1.bb index 17c60da..d16d06e 100644 --- a/recipes-initramfs/initramfs-abrootfs-hook/initramfs-abrootfs-hook_0.1.bb +++ b/recipes-initramfs/initramfs-abrootfs-hook/initramfs-abrootfs-hook_0.1.bb @@ -32,6 +32,9 @@ do_install[cleandirs] += " \ ${D}/usr/share/abrootfs \ ${D}/usr/share/initramfs-tools/scripts/local-top" +# Ensure IMAGE_UUID_ENV_FILE is updated also when rebuilding initramfs-abrootfs-hook +do_install[nostamp] = "1" + do_install() { if [ -f "${IMAGE_UUID_ENV_FILE}" ]; then install -m 0600 "${IMAGE_UUID_ENV_FILE}" "${D}/usr/share/abrootfs/image-uuid.env"