[PATCH 2/3] livepatch: add extra efi/ objects to be ignored

Roger Pau Monne posted 3 patches 3 years, 11 months ago
[PATCH 2/3] livepatch: add extra efi/ objects to be ignored
Posted by Roger Pau Monne 3 years, 11 months ago
The contents of this objects is init only, and cannot be patched.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
 livepatch-gcc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/livepatch-gcc b/livepatch-gcc
index fe782e0..b0b9ce4 100755
--- a/livepatch-gcc
+++ b/livepatch-gcc
@@ -66,6 +66,8 @@ elif [[ "$TOOLCHAINCMD" =~ $OBJCOPY_RE ]] ; then
         version.o|\
         debug.o|\
         check.o|\
+        boot.o|\
+        *.init.o|\
         .*.o)
             ;;
         *.o)
-- 
2.34.1


Re: [PATCH 2/3] livepatch: add extra efi/ objects to be ignored
Posted by Doebel, Bjoern 3 years, 11 months ago

On 10.03.22 16:08, Roger Pau Monne wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
> 
> 
> 
> The contents of this objects is init only, and cannot be patched.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
> ---
>   livepatch-gcc | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/livepatch-gcc b/livepatch-gcc
> index fe782e0..b0b9ce4 100755
> --- a/livepatch-gcc
> +++ b/livepatch-gcc
> @@ -66,6 +66,8 @@ elif [[ "$TOOLCHAINCMD" =~ $OBJCOPY_RE ]] ; then
>           version.o|\
>           debug.o|\
>           check.o|\
> +        boot.o|\
> +        *.init.o|\
>           .*.o)
>               ;;
>           *.o)
> --
> 2.34.1
> 

Reviewed-by: Bjoern Doebel <doebel@amazon.de>



Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879