We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f6aa3 commit 61ebe62Copy full SHA for 61ebe62
src/OVAL/probes/unix/runlevel_probe.c
@@ -403,6 +403,11 @@ static int is_wrlinux(void)
403
return parse_os_release("cpe:/o:windriver:wrlinux");
404
}
405
406
+static int is_openembedded(void)
407
+{
408
+ return parse_os_release("cpe:/o:openembedded:nodistro");
409
+}
410
+
411
static int is_common (void)
412
{
413
return (1);
@@ -424,7 +429,8 @@ const distro_tbl_t distro_tbl[] = {
424
429
{ &is_suse, &get_runlevel_suse },
425
430
{ &is_solaris, &get_runlevel_redhat },
426
431
{ &is_wrlinux, &get_runlevel_wrlinux },
427
- { &is_common, &get_runlevel_common }
432
+ { &is_common, &get_runlevel_common },
433
+ { &is_openembedded, &get_runlevel_common }
428
434
};
435
436
#define DISTRO_TBL_SIZE ((sizeof distro_tbl)/sizeof (distro_tbl_t))
0 commit comments