Skip to content

Commit

Permalink
mcelog: Install systemd service unit
Browse files Browse the repository at this point in the history
Start mcelog during boot by systemd.

The unit still needs to be enabled though with `systemctl enable
mcelog`.
  • Loading branch information
pmenzel committed May 7, 2017
1 parent 37fef84 commit 0f36884
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mcelog.be0
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ SRCURL[0]="https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/snapshot/mcel
# bee_build
#}

#mee_install() {
# bee_install
#}
mee_install() {
bee_install
install -v -m755 -d ${D}/lib/systemd/system
start_cmd install -v -m644 ${S}/mcelog.service ${D}/lib/systemd/system
}
## by default this may be 'make install DESTDIR="${D}"'

###############################################################################
Expand Down

0 comments on commit 0f36884

Please sign in to comment.