diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-01 15:43:13 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-08-01 22:34:59 +0200 |
commit | 0a29fabd3246599c3b5884440c3dfa8afac0c277 (patch) | |
tree | c6d01eda1eeea159fddcfa5b1dd1a9881b6fc893 /genkernel | |
parent | gen_initramfs.sh: create_initramfs(): set_initramfs_compression_method() must... (diff) | |
download | genkernel-0a29fabd3246599c3b5884440c3dfa8afac0c277.tar.gz genkernel-0a29fabd3246599c3b5884440c3dfa8afac0c277.tar.bz2 genkernel-0a29fabd3246599c3b5884440c3dfa8afac0c277.zip |
genkernel: Move grep/zgrep check to determine_real_args()
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel')
-rwxr-xr-x | genkernel | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -112,16 +112,6 @@ print_info 1 "Using genkernel configuration from '${_GENKERNEL_CONF}' ..." unset _GENKERNEL_CONF print_info 1 "Running with options: ${GK_OPTIONS}" -if ! hash grep &>/dev/null -then - gen_die "grep not found. Is sys-apps/grep installed?" -fi - -if ! hash zgrep &>/dev/null -then - print_warning 1 "zgrep not found. Is app-arch/gzip installed? You will be unable to use compressed config files!" -fi - # Save any customizations of MODULES_* first. override_module_vars="$(compgen -A variable |grep '^MODULES_')" for v in ${override_module_vars} |