packages: microcode-data-intel/microcode-data-intel.spec - restore gibberis...
glen
glen at pld-linux.org
Mon Aug 17 14:27:16 CEST 2009
Author: glen Date: Mon Aug 17 12:27:16 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- restore gibberish check from microcode_ctl.spec
---- Files affected:
packages/microcode-data-intel:
microcode-data-intel.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/microcode-data-intel/microcode-data-intel.spec
diff -u packages/microcode-data-intel/microcode-data-intel.spec:1.2 packages/microcode-data-intel/microcode-data-intel.spec:1.3
--- packages/microcode-data-intel/microcode-data-intel.spec:1.2 Sat Aug 15 22:16:03 2009
+++ packages/microcode-data-intel/microcode-data-intel.spec Mon Aug 17 14:27:10 2009
@@ -12,19 +12,27 @@
ExclusiveArch: i686 pentium2 pentium3 pentium4 x86_64 ia32e
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# nothing to put there
+%define _enable_debug_packages 0
+
%description
The microcode data file for Linux contains the latest microcode
definitions for all Intel processors.
%prep
%setup -q -c
+mv microcode*.dat microcode.dat
%build
+if ! grep -q 0x00000000 microcode.dat; then
+ echo >&2 microcode.dat contains giberrish
+ exit 1
+fi
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/lib/firmware
-
-install microcode*.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
+cp -a microcode.dat $RPM_BUILD_ROOT/lib/firmware/microcode.dat
%clean
rm -rf $RPM_BUILD_ROOT
@@ -39,9 +47,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2009/08/17 12:27:10 glen
+- restore gibberish check from microcode_ctl.spec
+
Revision 1.2 2009/08/15 20:16:03 arekm
- install microcode into /lib/firmware
Revision 1.1 2009/08/15 18:15:17 arekm
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/microcode-data-intel/microcode-data-intel.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list