mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
mcelog: Update to 181
No changelog or release notes are provided. Please refer to https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/log/ for the source code history since the 175 release of mcelog. Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
11
lfs/mcelog
11
lfs/mcelog
@@ -1,7 +1,7 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
|
||||
# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# This program is free software: you can redistribute it and/or modify #
|
||||
# it under the terms of the GNU General Public License as published by #
|
||||
@@ -26,7 +26,7 @@ include Config
|
||||
|
||||
SUMMARY = Log Machine Check Events
|
||||
|
||||
VER = 175
|
||||
VER = 181
|
||||
|
||||
THISAPP = mcelog-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.gz
|
||||
@@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = mcelog
|
||||
PAK_VER = 2
|
||||
PAK_VER = 3
|
||||
SUP_ARCH = x86_64
|
||||
|
||||
DEPS =
|
||||
@@ -49,7 +49,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_BLAKE2 = a324af0f4961fb0f6f2af1b198e07a34c24fb5874edd550ca9bdfe452d84cf48d9565530a290a3cdba51eb4ad57f3bbe3d3c9b2beb6d3411195d6dccdb9dfd64
|
||||
$(DL_FILE)_BLAKE2 = 4e182c84ae15abf3673e0210940830c66377b275e05c0bf88ff2199ef1b87bf1e9bcff12ebd9c07e5af00d763369c96aae37c274174563fb3ae0db7bbd7306de
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -83,6 +83,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
# Fix Python interpreter call in genconfig.py script
|
||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/mcelog-181-fix-Python-call.patch
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
|
||||
8
src/patches/mcelog-181-fix-Python-call.patch
Normal file
8
src/patches/mcelog-181-fix-Python-call.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- mcelog-181.orig/genconfig.py 2022-04-23 14:54:26.721031777 +0000
|
||||
+++ mcelog-181/genconfig.py 2022-04-23 14:54:35.577658935 +0000
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/python
|
||||
+#!/usr/bin/python3
|
||||
# generate man config documentation from mcelog.conf example
|
||||
# genconfig.py mcelog.conf intro.html
|
||||
from __future__ import print_function
|
||||
Reference in New Issue
Block a user