Brian Ginsbach
7292f0f179
KRNL-5677 add NetBSD
...
It is possible that NetBSD has the `proc` filesystem mounted. When
`/proc` is mounted there will be a `/proc/cpuinfo`. Handle the simple
case first (`proc` filesystem mounted). There are multiple other means
to determine PAE/NX without `/proc/cpuinfo`.
2020-12-31 21:02:04 -06:00
Stéphane
4cf9660185
Adding and improvement translated strings
2020-12-16 01:07:27 +01:00
Josh Soref
9d0e1938aa
spelling: therefore
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-11-08 23:56:31 -05:00
Josh Soref
a007ad2fe0
spelling: explicitly
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-11-08 23:38:46 -05:00
Michael Boelen
1fe12c0023
Merge pull request #1008 from kolenichsj/master
...
Alpine Improvements
2020-10-22 13:28:05 +02:00
Stéphane
67d04f2536
Add translate function for all sections
...
+ add EN and FR up to date languages files
2020-10-22 00:13:42 +02:00
Michael Boelen
71c474f455
[KRNL-5830] ignore rescue kernel on systems such as CentOS
2020-10-21 14:40:30 +02:00
Michael Boelen
ba1cff941f
Improved detection of kernel by ignoring known incorrect values
2020-10-16 13:02:01 +02:00
Steve Kolenich
f65f4d011b
Improve detecting kernel version on disk
...
Improve handling of kenrel files
/boot/vmlinuz-linux-lts
/boot/vmlinuz-linux
/boot/vmlinuz-lts
by updateing RegEx and adding elif
this corrects issue where version is identified
as 'linux' or 'lts' causing false report that a
reboot is needed
2020-08-10 12:27:30 -04:00
Michael Boelen
8a5b2a4099
Merge pull request #920 from jsrc27/Fix-KRNL-5730
...
Fix KRNL-5730 to properly check /proc/config.gz
2020-06-24 09:21:32 +02:00
Michael Boelen
6d9b530bf4
[KRNL-5830] improved detection for non-symlinked kernel on disk
2020-06-21 13:14:08 +02:00
Jeremias Cordoba
f081a9ed7e
Fix KRNL-5730 to properly check /proc/config.gz
...
When KRNL-5728 locates the kernel config it does not properly set LINUXCONFIGFILE
if config is found as /proc/config.gz. This causes KRNL-5730 to fail due to missing prereqs,
despite a kernel config existing.
Signed-off-by: Jeremias Cordoba <js.cordoba8321@gmail.com>
2020-05-04 15:51:03 -07:00
Michael Boelen
1163648d89
Merge pull request #896 from Schmuuu/feature/raspi-detect-required-reboot
...
extended test KRNL-5830 to detect required reboots on Raspbian
2020-04-09 09:58:48 +02:00
Brian Ginsbach
95b1ae044b
KRNL-5677 use platform instead of preqs-met
2020-04-08 15:55:45 -05:00
Kristian S
52b72e7b0f
extended test KRNL-5830 to detect required reboots on Raspbian
2020-04-02 21:45:40 +02:00
Topi Miettinen
e98fcb9b73
Fix developer profile
...
Initialialize a few variables to let --profile developer.prf pass.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-20 22:26:51 +02:00
Michael Boelen
38310223a6
Updated date/year
2020-03-20 14:50:25 +01:00
Topi Miettinen
f15fbfa6ed
Check if /vmlinuz is missing due to /etc/kernel-img.conf
...
If /etc/kernel-img.conf has the line do_symlinks=No, Debian (probably
also Ubuntu) kernel packages will not update /vmlinuz
etc. symlinks. In that case, guess the kernel from uname -r.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
2020-03-19 15:16:37 +02:00
Michael Boelen
b523352a59
Merge pull request #830 from Schmuuu/fix/vmlinuz-check
...
restructered test and fixed vmlinuz detection
2020-03-19 10:58:27 +01:00
Michael Boelen
8a42643373
Merge pull request #822 from pyllyukko/vmlinuz-raspbian
...
KRNL-5788 in Raspi: don't complain about missing /vmlinuz
2020-03-18 11:39:58 +01:00
Kristian Schuster
79a29381a4
restructered test and fixed vmlinuz detection
2020-01-26 19:13:26 +01:00
Michael Boelen
232b1cdc3f
[KRNL-5820] allow dash to define hard/soft value
2020-01-11 11:27:37 +01:00
pyllyukko
618a843017
KRNL-5788 in Raspi: don't complain about missing /vmlinuz
...
The Raspberry Pi kernels reside within raspberrypi-kernel package[1].
[1] https://www.raspberrypi.org/documentation/linux/kernel/updating.md
2020-01-07 22:27:27 +02:00
Michael Boelen
b7da40c6ae
[KRNL-5830] derive kernel version from filename after obtaining symlink target
2019-12-23 15:41:26 +01:00
Michael Boelen
ab4291242d
[KRNL-5830] check for symlink
2019-12-23 15:36:26 +01:00
Michael Boelen
e5091772c5
Removed -o which had no purpose
2019-12-23 13:59:06 +01:00
Michael Boelen
09f29a5e64
Code style improvement: quote argument
2019-12-18 12:17:46 +01:00
Michael Boelen
11f8ce2361
[KRNL-5830] Use symlink, only test for 'version' keyword if needed, adjusted exception message
2019-12-17 08:03:51 +01:00
Michael Boelen
4e255617d3
[KRNL-5830] Fetch target for symlinked kernel
2019-12-16 09:47:40 +01:00
Michael Boelen
bf4374bb19
[KRNL-5830] skip test partially if non-privileged
2019-12-13 12:35:38 +01:00
Michael Boelen
65f88e148b
Merge pull request #804 from Schmuuu/krnl/fix-wrong-limits-subfolder
...
fix left over test folder with correct folder from variable
2019-11-25 15:23:47 +01:00
Michael Boelen
f81ff3d7d6
Removed empty lines
2019-11-18 10:20:31 +01:00
Kristian Schuster
32ee016810
fix: forgot to replace test folder with correct folder from variable
2019-10-23 23:06:03 +02:00
Kristian Schuster
4eeb2899cc
add missing variables and replace '\s' to be posix conform
2019-10-15 21:52:53 +02:00
Kristian Schuster
3bc70b425e
fix old limits check not working in a few cases
2019-10-13 23:08:19 +02:00
Kristian Schuster
7b52ff52c7
add check for disabled coredumps in etc/profile and systemd
2019-10-13 22:06:50 +02:00
Kristian Schuster
001cd85183
kernel-test: additional improvements for required reboot detection
2019-09-29 17:42:07 +02:00
Kristian Schuster
364b770c64
kernel-test: determine reboot requirement for more distros. Plus a few fixes
2019-09-28 00:39:12 +02:00
Kristian Schuster
b38031803d
kernel-test: avoid grep errors if etc/security/limits.d does not exist
2019-09-27 00:07:45 +02:00
Kristian Schuster
07084501b6
kernel-test: add linux-lts detection for arch
2019-09-26 23:26:08 +02:00
Michael Boelen
fa8bad20db
Use -n instead of ! -z
2019-07-16 13:20:30 +02:00
Michael Boelen
b025b3301a
Define relative or absolute path, depending on directory/file or being a binary
2019-07-14 13:36:45 +02:00
Capashenn
06cdf6c50f
fix issue #659
2019-03-25 14:48:43 +01:00
Michael Boelen
95c11f8270
[KRNL-5820] Changed color for default value - fixes GitHub #655
2019-03-11 14:06:17 +01:00
silentcreek
fb567465c9
[KRNL-5788] Fix false positive warning on missing /vmlinuz ( #650 )
...
Not all architectures use a /vmlinuz symlink in Debian. For instance,
armhf systems may only provide a symlink in /boot/vmlinuz. Fall back to
testing /boot/vmlinuz if /vmlinuz is not found.
Signed-off-by: Timo Sigurdsson <public_timo.s@silentcreek.de>
2019-03-07 10:05:12 +01:00
Michael Boelen
66066ae226
Changed year and preparing for new release
2019-01-31 14:47:35 +01:00
Michael Boelen
f0c84e3d01
[KRNL-5788] ignore exception when no vmlinuz file was discovered
2018-09-17 11:46:36 +02:00
Michael Boelen
7181b94382
[KRNL-5677] Limit PAE and no-execute test to AMD64 hardware only
2018-07-25 12:25:00 +02:00
Michael Boelen
1bf09ad60a
[KRNL-5830] improved text in log
2018-07-02 14:52:29 +02:00
Michael Boelen
66f8cb2441
Changed year
2018-01-11 09:50:26 +01:00