mchehab/rasdaemon

contrib/edac-fake-inject does not exist in tarball

vt-alt opened this issue · 1 comments

You suggest to use contrib/edac-fake-inject to test rasdaemon but you do not package it into release tarball. Can you package it? This would be useful for users using tarballs to build rasdaemon (and also for downstream distributions that package from tarballs).

Perhaps, you just need to add it into EXTRA_DIST (and maybe other useful contrib scripts too).

ps. Btw, I also try to test it under qemu and it does not work:

root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# modprobe edac_core
[   25.735461] EDAC MC: Ver: 3.0.0
[   25.735926] EDAC DEBUG: edac_mc_sysfs_init: device mc created
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# modprobe i7core_edac
[   56.616752] EDAC DEBUG: i7core_init:
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# ls -la  /sys/devices/system/edac/mc /sys/kernel/debug/edac/
/sys/devices/system/edac/mc:
total 0
drwxr-xr-x 3 root root    0 Sep  1 04:22 .
drwxr-xr-x 4 root root    0 Sep  1 04:22 ..
drwxr-xr-x 2 root root    0 Sep  1 04:22 power
lrwxrwxrwx 1 root root    0 Sep  1 04:22 subsystem -> ../../../../bus/edac
-rw-r--r-- 1 root root 4096 Sep  1 04:22 uevent

/sys/kernel/debug/edac/:
total 0
drwxr-xr-x  2 root root 0 Sep  1 04:20 .
drwx------ 36 root root 0 Sep  1 04:20 ..
root@x86_64:~/RPM/BUILD/rasdaemon-0.8.1# ~/edac-fake-inject
ls: cannot access '/sys/devices/system/edac/mc/mc?': No such file or directory

pps. Well, perhaps it's not possible to test fake inject in VM.