# Re: \[PATCH v4 3/3\] gen\_init\_cpio: add support for file metadata

- From: Mimi Zohar \<zohar@linux.ibm.com\>
- Date: 2019-06-30 15:28:06 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2019/06/158290
- Thread: https://ratatoskr.run/linux-security-module/2019/05/155850/t.md

```text
On Thu, 2019-05-23 at 14:18 +0200, Roberto Sassu wrote:

> diff --git a/usr/Kconfig b/usr/Kconfig
> index 43658b8a975e..8d9f54a16440 100644
> --- a/usr/Kconfig
> +++ b/usr/Kconfig
> @@ -233,3 +233,11 @@ config INITRAMFS_COMPRESSION
>  	default ".lzma" if RD_LZMA
>  	default ".bz2"  if RD_BZIP2
>  	default ""
> +
> +config INITRAMFS_FILE_METADATA
> +	string "File metadata type"
> +	default ""
> +	help
> +	  Specify xattr to include xattrs in the image.
> +
> +	  If you are not sure, leave it blank.
> 	fi

Instead of having to specify the metdata type, let's make this a
choice.

Mimi
```
