Update 05-remove-os-information.patch

Use the LTS Kernel version - 6.1.0
This commit is contained in:
Cezar Lungu 2025-03-01 17:52:06 +00:00 committed by GitHub
parent 96684b3567
commit 49727f17de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 10 deletions

View File

@ -34,9 +34,9 @@ index 10a80fa..9219f4f 100644
+ __module_os.release = () => {
+ const matcher = /(\d+\.\d+\.\d+)\.*/
+ var result = release.match(matcher);
+ if (result[1])
+ return result[1];
+ return "0.0.0";
+ //if (result[1])
+ // return result[1];
+ return "6.1.0";
+ }
+ module.exports = __module_os;
},
@ -56,8 +56,8 @@ index 9716411..ec603d0 100644
+ __module_os.release = () => {
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
+ var result = release.match(matcher);
+ if (result[1]) return result[1];
+ return "0.0.0";
+ //if (result[1]) return result[1];
+ return "6.1.0";
+ };
+ module.exports = __module_os;
},
@ -77,8 +77,8 @@ index 7241bcb..fb02453 100644
+ __module_os.release = () => {
+ const matcher = /(\d+\.\d+\.\d+)\.*/;
+ var result = release.match(matcher);
+ if (result[1]) return result[1];
+ return "0.0.0";
+ //if (result[1]) return result[1];
+ return "6.1.0";
+ };
+ module.exports = __module_os;
},
@ -98,9 +98,9 @@ index 65520fb..7919288 100644
+ __module_os.release = () => {
+ const matcher = /(\d+\.\d+\.\d+)\.*/
+ var result = release.match(matcher);
+ if (result[1])
+ return result[1];
+ return "0.0.0";
+ //if (result[1])
+ // return result[1];
+ return "6.1.0";
+ }
+ module.exports = __module_os;
},