Skip to contentSkip to conversation

arm64/setjmp: Add missing license macro

PATCH In review dann frazier 4 participants 5 messages May 21, 2015 – Jun 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64/setjmp: Add missing license macro

Including the setjmp module in an arm64-efi image will cause it to immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by declaring a GPLv3+ license using the GRUB_MOD_LICENSE macro.

---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)
grub-core/lib/arm64/setjmp.S +2 -0
index adaafe4..eabfd99 100644
@@ -17,8 +17,10 @@
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
 	.file	"setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
 	.text
 
 /*
Signature · 1 line
2.1.4
#1 lore raw

Leif, any comments? You are the author of it, was GRUB_MOD_LICENSE omission intentional or by accident?

В Thu, 21 May 2015 10:28:48 -0600
dann frazier <[email protected]> пишет:

Quoted 26 lines

Including the setjmp module in an arm64-efi image will cause it to immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by declaring a GPLv3+ license using the GRUB_MOD_LICENSE macro.

---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)
grub-core/lib/arm64/setjmp.S +2 -0
index adaafe4..eabfd99 100644
@@ -17,8 +17,10 @@
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
 	.file	"setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
 	.text
 
 /*
#2 lore raw
Quoted 2 lines · Andrei Borzenkov

Leif, any comments? You are the author of it, was GRUB_MOD_LICENSE omission intentional or by accident?

Apologies - entirely accidental.

Can I push Dann's fix?

Quoted 30 lines

В Thu, 21 May 2015 10:28:48 -0600
dann frazier <[email protected]> пишет:

Quoted 26 lines

Including the setjmp module in an arm64-efi image will cause it to immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by declaring a GPLv3+ license using the GRUB_MOD_LICENSE macro.

---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)
grub-core/lib/arm64/setjmp.S +2 -0
index adaafe4..eabfd99 100644
@@ -17,8 +17,10 @@
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
 	.file	"setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
 	.text
 
 /*
#3 lore raw

Go ahead

Quoted 46 lines · Leif Lindholm
Quoted 2 lines · Andrei Borzenkov

Leif, any comments? You are the author of it, was GRUB_MOD_LICENSE omission intentional or by accident?

Apologies - entirely accidental.

Can I push Dann's fix?

Quoted 7 lines

В Thu, 21 May 2015 10:28:48 -0600
dann frazier <[email protected]> пишет:

Quoted 4 lines

Including the setjmp module in an arm64-efi image will cause it to immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by

declaring a

Quoted 8 lines

Review

Quoted 8 lines

GPLv3+ license using the GRUB_MOD_LICENSE macro.

---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/grub-core/lib/arm64/setjmp.S

Quoted 6 lines
Quoted 6 lines

index adaafe4..eabfd99 100644

grub-core/lib/arm64/setjmp.S +0 -0
@@ -17,8 +17,10 @@
  */
 
Quoted 9 lines

grub-core/lib/arm64/setjmp.S line 26

Quoted 8 lines
grub-core/lib/arm64/setjmp.S +2 -0
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
    .file   "setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
    .text
 
 /*

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

#4 lore raw
Quoted 1 line · Vladimir 'phcoder' Serbinenko

Go ahead

Thanks, done.

Apologies for the delay, caused by some toolchains issues I encountered when doing a test build before pushing. I will follow up regarding these later.

Quoted 53 lines · Leif Lindholm
Quoted 39 lines · Andrei Borzenkov
Quoted 2 lines

Leif, any comments? You are the author of it, was GRUB_MOD_LICENSE omission intentional or by accident?

Apologies - entirely accidental.

Can I push Dann's fix?

Quoted 7 lines

В Thu, 21 May 2015 10:28:48 -0600
dann frazier <[email protected]> пишет:

Quoted 4 lines

Including the setjmp module in an arm64-efi image will cause it to immediately exit with an "incompatible license" error.

The source file includes a GPLv3+ boilerplate, so fix this by

declaring a

Quoted 8 lines

Review

Quoted 8 lines

GPLv3+ license using the GRUB_MOD_LICENSE macro.

---
 grub-core/lib/arm64/setjmp.S | 2 ++
 1 file changed, 2 insertions(+)
(quoted diff) +0 -0

b/grub-core/lib/arm64/setjmp.S

Quoted 13 lines
Quoted 13 lines

index adaafe4..eabfd99 100644

grub-core/lib/arm64/setjmp.S +2 -0
@@ -17,8 +17,10 @@
  */
 
 #include <grub/symbol.h>
+#include <grub/dl.h>
 
    .file   "setjmp.S"
+GRUB_MOD_LICENSE "GPLv3+"
    .text
 
Quoted 8 lines
Quoted 2 lines

grub-core/lib/arm64/setjmp.S line 26

Quoted 1 line
grub-core/lib/arm64/setjmp.S +0 -0
 /*

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel