mirror of
https://github.com/systemd/systemd
synced 2025-10-02 18:24:46 +02:00
Compare commits
3 Commits
998bb9600e
...
3e14d02500
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3e14d02500 | ||
![]() |
13358b7ce2 | ||
![]() |
5e4115e59e |
@ -269,7 +269,7 @@
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><option>kernel-identify</option> <replaceable>kernel</replaceable></term>
|
||||
<term><option>kernel-identify</option> <replaceable>KERNEL-IMAGE</replaceable></term>
|
||||
|
||||
<listitem><para>Takes a kernel image as argument. Checks what kind of kernel the image is. Returns
|
||||
one of <literal>uki</literal>, <literal>addon</literal>, <literal>pe</literal>, and
|
||||
@ -280,7 +280,7 @@
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>kernel-inspect</option> <replaceable>kernel</replaceable></term>
|
||||
<term><option>kernel-inspect</option> <replaceable>KERNEL-IMAGE</replaceable></term>
|
||||
|
||||
<listitem><para>Takes a kernel image as argument. Prints details about the image.</para>
|
||||
|
||||
|
@ -475,6 +475,13 @@ Virtualization detect_vm(void) {
|
||||
VIRTUALIZATION_ORACLE,
|
||||
VIRTUALIZATION_XEN,
|
||||
VIRTUALIZATION_AMAZON,
|
||||
/* Unable to distinguish a GCE machine from a VM to bare-metal
|
||||
* for non-x86 architectures due to its necessity for cpuid
|
||||
* detection, which functions solely on x86 platforms. Report
|
||||
* as a VM for other architectures. */
|
||||
#if !defined(__i386__) && !defined(__x86_64__)
|
||||
VIRTUALIZATION_GOOGLE,
|
||||
#endif
|
||||
VIRTUALIZATION_PARALLELS)) {
|
||||
v = dmi;
|
||||
goto finish;
|
||||
|
@ -280,8 +280,10 @@ static int help(int argc, char *argv[], void *userdata) {
|
||||
" random-seed Initialize or refresh random seed in ESP and EFI\n"
|
||||
" variables\n"
|
||||
"\n%3$sKernel Image Commands:%4$s\n"
|
||||
" kernel-identify Identify kernel image type\n"
|
||||
" kernel-inspect Prints details about the kernel image\n"
|
||||
" kernel-identify KERNEL-IMAGE\n"
|
||||
" Identify kernel image type\n"
|
||||
" kernel-inspect KERNEL-IMAGE\n"
|
||||
" Prints details about the kernel image\n"
|
||||
"\n%3$sBlock Device Discovery Commands:%4$s\n"
|
||||
" -p --print-esp-path Print path to the EFI System Partition mount point\n"
|
||||
" -x --print-boot-path Print path to the $BOOT partition mount point\n"
|
||||
|
@ -24,6 +24,9 @@ function check_validity() {
|
||||
|
||||
function check() {
|
||||
for _ in {1..2}; do
|
||||
# To make journal not rotated during checking journals below.
|
||||
journalctl --rotate
|
||||
|
||||
systemctl reset-failed systemd-udevd.service
|
||||
systemctl restart systemd-udevd.service
|
||||
udevadm settle --timeout=30
|
||||
|
Loading…
x
Reference in New Issue
Block a user