Bump buildroot to 2019.02

This commit is contained in:
2019-03-28 22:49:48 +01:00
parent 5598b1b762
commit 920d307141
5121 changed files with 78550 additions and 46132 deletions

View File

@@ -3,21 +3,26 @@
# Upload microcode into the processor.
#
microcode_file="/usr/share/misc/intel-microcode.dat"
MICROCODE_DIR="/lib/firmware/intel-ucode"
start() {
printf 'Starting iucode-tool: '
/usr/sbin/iucode_tool -q -k "$MICROCODE_DIR"
status="$?"
if [ "$status" = 0 ]; then
echo "OK"
else
echo "FAIL"
fi
return "$status"
}
case "$1" in
start)
echo "Starting iucode-tool:"
/usr/sbin/iucode_tool -k $microcode_file
echo "done"
;;
stop)
;;
restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
start)
start;;
stop|restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac
exit $?

View File

@@ -1,3 +1,3 @@
# Locally computed
sha256 9810daf925b8a9ca244adc4e1916bcab65601c9ebe87e91c2281f78055982971 iucode-tool_2.2.tar.xz
sha256 12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95 iucode-tool_2.3.1.tar.xz
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING

View File

@@ -4,7 +4,7 @@
#
################################################################################
IUCODE_TOOL_VERSION = 2.2
IUCODE_TOOL_VERSION = 2.3.1
IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz
IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/master
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
@@ -18,4 +18,12 @@ define IUCODE_TOOL_INSTALL_INIT_SYSV
$(TARGET_DIR)/etc/init.d/S00iucode-tool
endef
define IUCODE_TOOL_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/iucode-tool/iucode.service \
$(TARGET_DIR)/usr/lib/systemd/system/iucode.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/iucode.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/iucode.service
endef
$(eval $(autotools-package))

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Upload microcode into the processor
[Service]
Type=oneshot
ExecStart=/usr/sbin/iucode_tool -k /usr/share/misc/intel-microcode.dat
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target