aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch')
-rw-r--r--meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch
new file mode 100644
index 00000000000..fe54284939e
--- /dev/null
+++ b/meta-oe/recipes-bsp/microcode-ctl/files/0001-add-support-for-other-distributions.patch
@@ -0,0 +1,27 @@
+Subject: [PATCH] add support for other distributions
+
+Upstream-Status: Inappropriate [OE specific]
+
+Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
+---
+ microcode_ctl.start | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/microcode_ctl.start b/microcode_ctl.start
+index 6fa9d72..e9321d0 100755
+--- a/microcode_ctl.start
++++ b/microcode_ctl.start
+@@ -47,8 +47,8 @@ elif [ -f /etc/slackware-version ]; then
+ END=slack_end
+ fi
+ else
+- echo "$0: Can't guess distribution, aborting!"
+- exit 1
++ START=
++ END=
+ fi
+
+ # Lets just be sure we have a device file...
+--
+2.11.0
+