Репозитории ALT
5.1: | 0.37-alt2.132638.14 |
4.1: | 0.37-alt1.132633.8.M41.5 |
4.0: | 0.30-alt4.132626.12.M40.3 |
+updates: | 0.30-alt4.132626.12.M40.3 |
Группа :: Система/Ядро и оборудование
Пакет: kernel-modules-tp_smapi-std-pae
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: tp_smapi-0.30-alt-makefile.patch
Скачать
Скачать
diff --git a/tp_smapi/Makefile b/tp_smapi/Makefile
index d901264..80da7fb 100644
--- a/tp_smapi/Makefile
+++ b/tp_smapi/Makefile
@@ -82,14 +82,15 @@ endif
# Ugly kludge for kernels that can't report OEM Strings DMI information:
ifeq ($(shell grep -q DMI_DEV_TYPE_OEM_STRING $(KSRC)/include/linux/dmi.h || echo 1),1)
-ifeq ($(shell sudo /usr/sbin/dmidecode | grep -q dmidecode || echo 1),1)
-$(error Could not run /usr/sbin/dmidecode. Must be root or get sudo password to do that.)
-endif
+#ifeq ($(shell sudo /usr/sbin/dmidecode | grep -q dmidecode || echo 1),1)
+#$(error Could not run /usr/sbin/dmidecode. Must be root or get sudo password to do that.)
+#endif
GEN_DMI_DECODE_PATCH= \
cat $(PWD)/diff/dmi-decode-and-save-oem-string-information.patch | \
{ [ -f $(KSRC)/drivers/firmware/dmi_scan.c ] && cat || \
perl -pe 's@drivers/firmware/dmi_scan.c@arch/i386/kernel/dmi_scan.c@g'; }
-DMI_EC_OEM_STRING:=$(shell sudo /usr/sbin/dmidecode | grep 'IBM ThinkPad Embedded Controller')
+#DMI_EC_OEM_STRING:=$(shell sudo /usr/sbin/dmidecode | grep 'IBM ThinkPad Embedded Controller')
+DMI_EC_OEM_STRING:=IBM ThinkPad Embedded Controller
dmi_ec_oem_string.h: $(KSRC)/include/linux/dmi.h
@echo 'WARNING: Your kernel does not have this patch applied:' >&2
@echo ' dmi-decode-and-save-oem-string-information.patch' >&2