[LTP] [PATCH v1] Ignore generated modules.livepatch in git repo

Andrea Cervesato andrea.cervesato@suse.de
Thu Sep 19 14:19:08 CEST 2024


From: Andrea Cervesato <andrea.cervesato@suse.com>

modules.livepatch files are generated during the build and they are not
needed inside the git repo. Ignore them so they are not added by
accident inside the git repository.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
 testcases/commands/insmod/.gitignore                       | 1 +
 testcases/commands/lsmod/.gitignore                        | 1 +
 testcases/kernel/device-drivers/pci/tpci_kernel/.gitignore | 1 +
 testcases/kernel/device-drivers/uaccess/.gitignore         | 1 +
 testcases/kernel/firmware/fw_load_kernel/.gitignore        | 1 +
 testcases/kernel/syscalls/delete_module/.gitignore         | 1 +
 testcases/kernel/syscalls/finit_module/.gitignore          | 1 +
 testcases/kernel/syscalls/init_module/.gitignore           | 1 +
 8 files changed, 8 insertions(+)

diff --git a/testcases/commands/insmod/.gitignore b/testcases/commands/insmod/.gitignore
index 0e19fb3fd..e568d92b6 100644
--- a/testcases/commands/insmod/.gitignore
+++ b/testcases/commands/insmod/.gitignore
@@ -7,3 +7,4 @@
 .built-in.a.cmd
 Module.symvers
 modules.order
+modules.livepatch
diff --git a/testcases/commands/lsmod/.gitignore b/testcases/commands/lsmod/.gitignore
index 0e19fb3fd..e568d92b6 100644
--- a/testcases/commands/lsmod/.gitignore
+++ b/testcases/commands/lsmod/.gitignore
@@ -7,3 +7,4 @@
 .built-in.a.cmd
 Module.symvers
 modules.order
+modules.livepatch
diff --git a/testcases/kernel/device-drivers/pci/tpci_kernel/.gitignore b/testcases/kernel/device-drivers/pci/tpci_kernel/.gitignore
index 3e100ad5e..ed4712e3a 100644
--- a/testcases/kernel/device-drivers/pci/tpci_kernel/.gitignore
+++ b/testcases/kernel/device-drivers/pci/tpci_kernel/.gitignore
@@ -5,3 +5,4 @@
 /.*.ko
 /.*.cmd
 /Module.symvers
+modules.livepatch
diff --git a/testcases/kernel/device-drivers/uaccess/.gitignore b/testcases/kernel/device-drivers/uaccess/.gitignore
index cf59b68df..c42a3fbe5 100644
--- a/testcases/kernel/device-drivers/uaccess/.gitignore
+++ b/testcases/kernel/device-drivers/uaccess/.gitignore
@@ -6,3 +6,4 @@
 /.*.ko
 /.*.cmd
 /Module.symvers
+modules.livepatch
diff --git a/testcases/kernel/firmware/fw_load_kernel/.gitignore b/testcases/kernel/firmware/fw_load_kernel/.gitignore
index 180072a72..6fc82952c 100644
--- a/testcases/kernel/firmware/fw_load_kernel/.gitignore
+++ b/testcases/kernel/firmware/fw_load_kernel/.gitignore
@@ -4,3 +4,4 @@
 /Module.symvers
 /ltp_fw_load.mod.c
 /.tmp_versions/
+modules.livepatch
diff --git a/testcases/kernel/syscalls/delete_module/.gitignore b/testcases/kernel/syscalls/delete_module/.gitignore
index 1a774a6d5..161aac4a2 100644
--- a/testcases/kernel/syscalls/delete_module/.gitignore
+++ b/testcases/kernel/syscalls/delete_module/.gitignore
@@ -10,3 +10,4 @@
 /.built-in.a.cmd
 /Module.symvers
 /modules.order
+modules.livepatch
diff --git a/testcases/kernel/syscalls/finit_module/.gitignore b/testcases/kernel/syscalls/finit_module/.gitignore
index 5fcafdb37..59026b25c 100644
--- a/testcases/kernel/syscalls/finit_module/.gitignore
+++ b/testcases/kernel/syscalls/finit_module/.gitignore
@@ -1,3 +1,4 @@
 /finit_module01
 /finit_module02
 /*.ko
+modules.livepatch
diff --git a/testcases/kernel/syscalls/init_module/.gitignore b/testcases/kernel/syscalls/init_module/.gitignore
index 23baeb651..437c79d94 100644
--- a/testcases/kernel/syscalls/init_module/.gitignore
+++ b/testcases/kernel/syscalls/init_module/.gitignore
@@ -9,3 +9,4 @@
 /.built-in.a.cmd
 /Module.symvers
 /modules.order
+modules.livepatch
-- 
2.43.0



More information about the ltp mailing list