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

Jan Kiszka <[email protected]>
Newsgroups org.cip-project.lists.cip-dev
Message-ID <[email protected]>
On 07.08.26 16:38, [email protected] wrote:
> 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

Thanks, applied.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center
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.