make bzImage && make modules && make modules_install
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
Kernel: arch/x86/boot/bzImage is ready (#1)
make[1]: Nothing to be done for `all'.
make[1]: Nothing to be done for `relocs'.
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC [M] drivers/scsi/lpfc/lpfc_scsi.o
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl':
drivers/scsi/lpfc/lpfc_scsi.c:1900:11: error: unused variable 'rc' [-Werror=unused-variable]
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_bpl_prot':
drivers/scsi/lpfc/lpfc_scsi.c:2037:11: error: unused variable 'rc' [-Werror=unused-variable]
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl':
drivers/scsi/lpfc/lpfc_scsi.c:2256:11: error: unused variable 'rc' [-Werror=unused-variable]
drivers/scsi/lpfc/lpfc_scsi.c: In function 'lpfc_bg_setup_sgl_prot':
drivers/scsi/lpfc/lpfc_scsi.c:2386:11: error: unused variable 'rc' [-Werror=unused-variable]
cc1: all warnings being treated as errors
Можно чуть «проще» :D
[console]
gentoo-laptop ~ # zegrep -i "$(lspci -k | grep -i ata -A 2 | awk -F ": " '/Kernel driver in use/ {print $2}')|$(awk '$2=="/" {print $3}' /etc/fstab)" /proc/config.gz | grep -v '^#'
CONFIG_ATA_PIIX=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
[/console]
P.S.
Да, и в ваших примерах zgrep не нужен, достаточно grep.[/quote]
Не че себе проще такую строчку на память не запомнишь те были проще.
p.s. А как обойтись только грепом? Можно пример переделанной моей команды
Не че себе проще такую строчку на память не запомнишь те были проще.
Зато она проверяет, включена ли в настройках ядра поддержка имеющегося в системе жёсткого диска и корневой файловой системы.
Хотя бесспорно, «костыль» ещё тот, да, и чтобы срабатывал в вашем случае, нужно «допиливать».