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 61ebe62 commit a669024Copy full SHA for a669024
src/OVAL/probes/unix/runlevel_probe.c
@@ -408,6 +408,11 @@ static int is_openembedded(void)
408
return parse_os_release("cpe:/o:openembedded:nodistro");
409
}
410
411
+static int is_poky(void)
412
+{
413
+ return parse_os_release("cpe:/o:openembedded:poky");
414
+}
415
+
416
static int is_common (void)
417
{
418
return (1);
@@ -430,7 +435,8 @@ const distro_tbl_t distro_tbl[] = {
430
435
{ &is_solaris, &get_runlevel_redhat },
431
436
{ &is_wrlinux, &get_runlevel_wrlinux },
432
437
{ &is_common, &get_runlevel_common },
433
- { &is_openembedded, &get_runlevel_common }
438
+ { &is_openembedded, &get_runlevel_common },
439
+ { &is_poky, &get_runlevel_common }
434
440
};
441
442
#define DISTRO_TBL_SIZE ((sizeof distro_tbl)/sizeof (distro_tbl_t))
0 commit comments