teoberi
42f0b05d10
Update tests_kernel -> KRNL-5622
...
Fix runlevel detection for SO without systemd (eg. Slackware)
2024-10-01 10:09:43 +03:00
Michael Boelen
03168113ca
[KRNL-5622] test if systemctl binary is set
2024-09-30 11:53:13 +00:00
Michael Boelen
699ec384d2
[FILE-6398] Only perform test if we know if Linux kernel is monolithic/modular
2024-09-30 10:00:55 +00:00
Michael Boelen
672d1fce23
Merge pull request #1364 from pyllyukko/ulimit-fix
...
KRNL-5820: Accept ulimit with -H parameter also
2024-05-16 08:49:17 +02:00
Michael Boelen
1773db0bef
Merge pull request #1296 from konstruktoid/issue1286
...
use systemctl get-default instead of following link
2024-05-14 14:30:11 +02:00
Thomas Sjögren
df2e839c2c
Merge branch 'master' into issue1286
2023-12-21 23:29:54 +01:00
Xavier Noguer
bc36b3ec63
Avoiding warning because of hyphen. Due to changes in grep 3.8
2023-09-19 16:12:52 +00:00
xnoguer
6f1797fb59
Using grep -E
2023-04-23 17:38:21 -04:00
pyllyukko
91ff939d19
KRNL-5820: Accept ulimit with -H parameter also
2023-01-03 17:53:23 +02:00
Thomas Sjögren
225338a923
use systemctl get-default instead of following links
...
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
2022-05-18 18:02:34 +02:00
Michael Boelen
0664dea946
Merge branch 'master' into symlink_file
2022-03-14 11:54:03 +01:00
Michael Boelen
e2781677ba
[KRNL-5820] small changes to prevent using ROOTDIR and resetting it, also showing additional paths in screen output
2022-03-14 11:48:30 +01:00
Wojciech Banaś
4098236412
#1270 added finding configuration files in the "etc" directory, even if they are symlinks
2022-02-14 13:23:20 +01:00
Robert Frohl
14fd7dabc8
[KRNL-5820] additional path for security/limits.conf
...
Changes the user facing output to display a full path, allowing the user to
better grasp which security/limits.conf file is affected.
fix issue #1264
2022-02-04 13:51:36 +01:00
Michael Boelen
b0ca58895b
[KRNL-5788] Only run relevant tests and improved logging
2022-01-31 17:07:41 +01:00
Michael Boelen
8604431e19
Merge pull request #1261 from jsegitz/reboot_test
...
check /boot/vmlinuz as a symlink in the reboot test
2022-01-31 16:38:38 +01:00
pyllyukko
12ad1ca6bd
KRNL-5830: Check for /var/run/needs_restarting
...
Creating this file was introduced in slackpkg version 15.0.10.
2022-01-25 18:59:36 +02:00
Johannes Segitz
521487310f
check /boot/vmlinuz as a symlink in the reboot test
2022-01-25 09:55:52 +01:00
Michael Boelen
b0bee65843
KRNL-5830: sort kernels by version (ls -v) instead of date on disk (ls -t)
2021-07-21 15:26:48 +02:00
Michael Boelen
da1c1eca10
Preparation for release 3.0.3
2021-01-07 15:22:19 +01:00
Michael Boelen
c38c89ae4e
Merge pull request #1004 from Varbin/1003-os-detection
...
Test for LINUX_VERSION before setting it again
2021-01-07 11:30:51 +01:00
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
Simon Biewald
4a03c61343
Check LINUX_VERSION_LIKE in various tests
...
This affects:
BOOT-5180, KRNL-5622, KRNL-5788, PKGS-7388, PKGS-7390, PKGS-7394,
PKGS-7366, and PKGS-7420.
2020-08-15 16:44:34 +01: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