[isar-cip-core][PATCH] initramfs-crypt-hook: Fixing comment on prereqs.

[email protected]
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
From: Alexander Heinisch <[email protected]>

Signed-off-by: Alexander Heinisch <[email protected]>
---
 .../initramfs-crypt-hook/files/local-top-complete           | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 mode change 100644 => 100755 recipes-initramfs/initramfs-crypt-hook/files/local-top-complete

diff --git a/recipes-initramfs/initramfs-crypt-hook/files/local-top-complete b/recipes-initramfs/initramfs-crypt-hook/files/local-top-complete
old mode 100644
new mode 100755
index 1044f2a..963f82f
--- a/recipes-initramfs/initramfs-crypt-hook/files/local-top-complete
+++ b/recipes-initramfs/initramfs-crypt-hook/files/local-top-complete
@@ -12,13 +12,13 @@
 prereqs()
 {
 	# Make sure that this script is run last in local-top
-	# If the abroofs or verity hooks are installed, this script
-	# should still come after them.
+	# but before abrootfs, verity and cryptroot
 	local req
 	for req in "${0%/*}"/*; do
 		script="${req##*/}"
 		if [ "$script" != "${0##*/}" ] &&
-		   [ "$script" != "abrootfs" ] && [ "$script" != "verity" ] &&
+		   [ "$script" != "abrootfs" ] &&
+		   [ "$script" != "verity" ] &&
 		   [ "$script" != "cryptroot" ]; then
 			printf '%s\n' "$script"
 		fi
-- 
2.47.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.