Commit 3f2d43e3 authored by Maxime Hadjinlian's avatar Maxime Hadjinlian Committed by Peter Korsgaard
Browse files

iucode-tools: new package



iucode_tool is a program to manipulate Intel® X86 and X86-64 processor
microcode collections, and to use the kernel facilities to upgrade the
microcode on Intel system processors.
It was originally sent by Richard Braun <rbraun@sceen.net>

[Peter: drop 'sid' from upstream URL]
Signed-off-by: default avatarMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 170d526e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -304,6 +304,7 @@ source "package/input-tools/Config.in"
source "package/intel-microcode/Config.in"
source "package/iostat/Config.in"
source "package/irda-utils/Config.in"
source "package/iucode-tool/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
source "package/lm-sensors/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_IUCODE_TOOL
	bool "iucode-tool"
	depends on BR2_x86_64 || BR2_i386
	select BR2_PACKAGE_INTEL_MICROCODE
	help
	  Intel processor microcode tool

	  http://packages.debian.org/source/iucode-tool
+23 −0
Original line number Diff line number Diff line
#!/bin/sh
#
# Upload microcode into the processor.
#

microcode_file="/usr/share/misc/intel-microcode.dat"

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
esac

exit $?
+19 −0
Original line number Diff line number Diff line
################################################################################
#
# iucode-tool
#
################################################################################

IUCODE_TOOL_VERSION = v1.0.1
IUCODE_TOOL_SITE = git://git.debian.org/users/hmh/iucode-tool.git
IUCODE_TOOL_AUTORECONF = YES
IUCODE_TOOL_LICENSE = GPLv2+
IUCODE_TOOL_LICENSE_FILES = COPYING

define IUCODE_TOOL_INSTALL_INIT_SYSV
	[ -f $(TARGET_DIR)/etc/init.d/S00iucode-tool ] || \
		$(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \
			$(TARGET_DIR)/etc/init.d/S00iucode-tool
endef

$(eval $(autotools-package))