* [PATCH] datetime: Specify license in emu module
@ 2025-04-05 17:45 Vladimir Serbinenko
2025-04-10 14:53 ` Daniel Kiper
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Serbinenko @ 2025-04-05 17:45 UTC (permalink / raw)
To: grub-devel; +Cc: Vladimir Serbinenko
Other platforms specify license in platform-specific files but corresponding
code for emu is in kernel, so datetime ends up without license section.
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
---
grub-core/lib/datetime.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/grub-core/lib/datetime.c b/grub-core/lib/datetime.c
index 9120128ca..8f0922fb0 100644
--- a/grub-core/lib/datetime.c
+++ b/grub-core/lib/datetime.c
@@ -21,6 +21,11 @@
#include <grub/i18n.h>
#include <grub/misc.h>
#include <grub/mm.h>
+#ifdef GRUB_MACHINE_EMU
+#include <grub/dl.h>
+
+GRUB_MOD_LICENSE ("GPLv3+");
+#endif
static const char *const grub_weekday_names[] =
{
--
2.49.0
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] datetime: Specify license in emu module
2025-04-05 17:45 [PATCH] datetime: Specify license in emu module Vladimir Serbinenko
@ 2025-04-10 14:53 ` Daniel Kiper
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Kiper @ 2025-04-10 14:53 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: Vladimir Serbinenko
On Sat, Apr 05, 2025 at 08:45:23PM +0300, Vladimir Serbinenko wrote:
> Other platforms specify license in platform-specific files but corresponding
> code for emu is in kernel, so datetime ends up without license section.
>
> Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-10 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-05 17:45 [PATCH] datetime: Specify license in emu module Vladimir Serbinenko
2025-04-10 14:53 ` Daniel Kiper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.