grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v16 02/20] libtasn1: import libtasn1-4.19.0


From: Daniel Kiper
Subject: Re: [PATCH v16 02/20] libtasn1: import libtasn1-4.19.0
Date: Wed, 5 Jun 2024 17:04:46 +0200

On Wed, May 15, 2024 at 01:06:54PM +0800, Gary Lin wrote:
> From: Daniel Axtens <dja@axtens.net>
>
> Import a very trimmed-down set of libtasn1 files:

I hope you merge the latest one...

> pushd /tmp

I would create tmp dir in the GRUB source code and extract libtasn1
there. Then I would remove the tmp dir.

> wget https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz
> tar -xf libtasn1-4.19.0.tar.gz

The "-" is not needed. Please drop it.

> popd
> pushd grub-core/lib
> rm -rf libtasn1
> mkdir libtasn1
> cp /tmp/libtasn1-4.19.0/{README.md,COPYING} libtasn1/
> mkdir libtasn1/lib
> cp 
> /tmp/libtasn1-4.19.0/lib/{coding.c,decoding.c,element.c,element.h,errors.c,gstr.c,gstr.h,int.h,parser_aux.c,parser_aux.h,structure.c,structure.h}
>  libtasn1/lib
> cp /tmp/libtasn1-4.19.0/lib/includes/libtasn1.h ../../include/grub/
> git add libtasn1/ ../../include/grub/libtasn1.h

I am not OK with adding libtasn1.h to the include/grub. Please do not do
that. I think good example how it should be done is in miniLZO lib.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]