diff mbox series

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

Message ID 20220310150834.98815-3-roger.pau@citrix.com (mailing list archive)
State New, archived
Headers show
Series livepatch: further fixes | expand

Commit Message

Roger Pau Monné March 10, 2022, 3:08 p.m. UTC
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(+)

Comments

Doebel, Bjoern March 10, 2022, 5:23 p.m. UTC | #1
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
diff mbox series

Patch

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)