aboutsummaryrefslogtreecommitdiffstats
path: root/dracut-functions.sh
AgeCommit message (Expand)AuthorFilesLines
2022-02-04fix(dracut-functions.sh): ip route parsingMartin Wilck1-2/+18
2021-11-24fix(dracut-functions.sh): get block device driver if in a virtual subsystemAntonio Alvarez Feijoo1-1/+25
2021-08-13fix(kernel-modules): detect block device's hardware driverPingfan Liu1-0/+21
2021-05-21fix(dracut-functions): get_maj_min without get_maj_min_cache_file setHarald Hoyer1-5/+12
2021-05-06fix(dracut-functions): implement a cache for get_maj_minRenaud Métrich1-2/+7
2021-04-12fix(dracut-functions): word splitting issue for sed in get_ucode_fileKairui Song1-3/+3
2021-03-29fix: shellcheck for dracut*.shHarald Hoyer1-53/+57
2021-03-13style: shfmt -s reformatHarald Hoyer1-25/+25
2021-03-13style: shfmt reformatHarald Hoyer1-123/+128
2021-02-15fix: shellcheck for dracut-functions.shHarald Hoyer1-8/+19
2021-01-21fix(dracut-functions.sh): check kernel config from $dracutsysrootdirZoltán Böszörményi1-1/+1
2020-10-30dracut-init.sh: Add a helper for detect device kernel modulesKairui Song1-0/+5
2020-10-30dracut-functions.sh: Fix check_block_and_slaves_allKairui Song1-2/+0
2020-10-21dracut-functions: add a helper to check if kernel module is availableKairui Song1-0/+5
2020-08-0495resume: Do not resume on iSCSI, FCoE or NBDDaniel Molkentin1-0/+44
2020-08-04dracut-functions: add ip_params_for_remote_addr() helperMartin Wilck1-0/+114
2020-05-29dracut-functions: fix find_binary() to return full pathAlexander Tsoy1-8/+13
2019-10-25Allow running on a cross-compiled rootfsBöszörményi Zoltán1-5/+29
2019-10-23dracut: check_vol_slaves_all must return 1 when lvm vgs failedgaoyi1-0/+6
2019-10-22dracut-functions.sh: remove declared unused variablesDaniel Molkentin1-4/+1
2019-07-19dracut.sh: record the actual hostonly modules for hostonly modeKairui Song1-11/+0
2018-08-09dracut-functions: fix the word splittingLukas Nykryn1-1/+1
2018-07-18Record loaded kernel modules when hostonly mode is enabledKairui Song1-0/+11
2018-02-19dracut-function.sh:check_block_and_slaves() check for block devicesHarald Hoyer1-8/+10
2018-01-17Give --persistent_policy precedence over /dev/mapper namesMartin Wilck1-2/+8
2018-01-15dracut-functions.sh:check_vol_slaves() speedup LV -> VG nameHarald Hoyer1-35/+29
2017-12-14Simplify microcode lookup for for AMD CPUsDaniel Molkentin1-7/+2
2017-12-13Support Microcode Updates for AMD CPU Family 0x17Daniel Molkentin1-2/+4
2017-12-04dracut.sh: for_each_host_xx() function should indicate the empty casePingfan Liu1-3/+4
2017-07-29Add early microcode support for AMD family 16hjonathan-teh1-2/+4
2016-08-19dracut-functions.sh: catch all lvm slavesHarald Hoyer1-1/+24
2016-06-07Revert "network: remove awk call and replace it with a shell function"Harald Hoyer1-10/+0
2016-06-07network: remove awk call and replace it with a shell functionHarald Hoyer1-0/+10
2016-05-25move ln_r() to dracut-init.shHarald Hoyer1-12/+0
2016-01-18dracut-functions.sh:fix check_vol_slaves() volume group name strippingHarald Hoyer1-1/+1
2015-11-13reduce dracut-functions.sh and add to dracut-init.shHarald Hoyer1-1142/+6
2015-09-07Merge branch 'master' of github.com:haraldh/dracutHarald Hoyer1-1/+1
2015-09-03dracut-functions.sh: fixed dracutbasedir, when sourced directlyHarald Hoyer1-1/+1
2015-08-24dracut-functions.sh: remove duplicate declaratio of local variableLidong Zhong1-1/+1
2015-07-09dracut-functions.sh: simplify some for loopsHarald Hoyer1-41/+32
2015-07-09guard ${arrays[@]} with ""Harald Hoyer1-4/+4
2015-07-09Add all btrfs devicesHarald Hoyer1-0/+13
2015-07-02splitup dracut-init.sh from dracut-functions.shHarald Hoyer1-7/+2
2015-06-09dracut-functions.sh: only honor the first [0-9]+<module> dirHarald Hoyer1-8/+8
2015-05-18Merge remote-tracking branch 'github/master'Harald Hoyer1-1/+1
2015-04-28change "while read x" to cope with EOF without newlineHarald Hoyer1-16/+16
2015-04-27dracut-functions: use [[ ]] with -n and no quotesLukas Nykryn1-1/+1
2015-01-08dracut-functions.sh: avoid tokenizing ldconfig output with 'read'Lubomir Rintel1-11/+1
2014-12-17dracut-functions.sh: for module handling, strip all ".ko*"Harald Hoyer1-8/+8
2014-12-16dracut: Do not stop installing drivers if one failsThomas Renninger1-6/+4
2014-12-16Handle module alias properlyHannes Reinecke1-0/+7
2014-12-16Do not call 'lvm' for non-LVM device-mapper devicesHannes Reinecke1-1/+3
2014-11-24dracut-functions.sh: check if dinfo is a functionHarald Hoyer1-7/+7
2014-10-29dracut-functions.sh: fixup for 34a1ec6 for non-local modeHarald Hoyer1-1/+3
2014-10-28Fix location of dracut-install for local modeStefan Reimer1-2/+2
2014-10-24dracut: fixed module dependency handling040Harald Hoyer1-11/+26
2014-09-12dracut-functions.sh: exit for missing --force-add or --add dracut modulesHarald Hoyer1-2/+8
2014-09-11add "--loginstall <DIR>" and loginstall="<DIR>" optionsHarald Hoyer1-16/+16
2014-08-29remove all vim and emacs code format commentsHarald Hoyer1-2/+0
2014-08-20Check kernel config for early microcode and ACPI overrideHarald Hoyer1-1/+18
2014-08-15dracut-functions.sh:get_persistent_dev(): use printf, instead of echoHarald Hoyer1-1/+1
2014-08-15dracut-functions: get_persistent_dev() fall back to the original nameWANG Chao1-0/+1
2014-07-21dracut-functions.sh: fix inst*() functions for "-H" handlingHarald Hoyer1-14/+32
2014-07-08dracut-functions.sh: speed up ldconfig_paths()Harald Hoyer1-4/+3
2014-06-25install: add -H flag for installHarald Hoyer1-12/+18
2014-05-20dracut-functions.sh:require_binaries() clarify messageHarald Hoyer1-1/+1
2014-05-20dracut-functions.sh:print_vars() fix for values with spacesHarald Hoyer1-1/+1
2014-04-07Specify strstr tightly, add strglob/strglobin.Chapman Flack1-1/+5
2014-03-05dracut-functions.sh: degrade info about missing binaries to infoHarald Hoyer1-2/+2
2014-02-17dracut-functions.sh:find_kernel_modules_by_path() fixed updates searchHarald Hoyer1-1/+1
2014-02-06Factor out all the "type -V" commandsHarald Hoyer1-6/+51
2014-01-30dracut-functions.sh: also search in the updates directoryHarald Hoyer1-1/+1
2013-12-05Add DASD configuration for SuSEHannes Reinecke1-0/+28
2013-12-05dracut-functions.sh: do not force require modules.builtin*Harald Hoyer1-7/+0
2013-11-07dracut-functions.sh: Avoid loading unnecessary 32-bit libraries for 64-bit in...Colin Guthrie1-1/+2
2013-10-30Handle crypto modules with and without modaliasesHarald Hoyer1-4/+10
2013-10-18dracut-functions.sh:check_block_and_slaves*() skip LVM internal devsMarian Csontos1-2/+14
2013-10-04dracut-functions.sh:inst_rules() do not install rules in CWDHarald Hoyer1-1/+4
2013-09-11dracut-functions.sh: extend module_is_host_only()Harald Hoyer1-8/+26
2013-09-02dracut-functions.sh:for_each_module_dir() skip empty modulesHarald Hoyer1-0/+3
2013-08-27dracut-functions.sh:get_devpath_block() make local vars localHarald Hoyer1-1/+1
2013-08-26dmraid/mdraid: improve hostonly recognitionHarald Hoyer1-0/+17
2013-08-23dracut-functions.sh:get_persistent_dev() do not check non-existent dirsHarald Hoyer1-0/+1
2013-08-22use ${var:+val} rather than ${var+val}Harald Hoyer1-22/+20
2013-08-22dracut-functions.sh:inst_rules() do not install from /etc in generic modeHarald Hoyer1-2/+4
2013-08-22dracut-functions.sh: use builtin bash functions rather than trHarald Hoyer1-2/+2
2013-08-20dracut-functions.sh: add expand_persistent_dev()Harald Hoyer1-7/+31
2013-08-20add persistent_policy configuration optionHarald Hoyer1-1/+1
2013-08-20dracut-functions.sh:dracut_module_included() check with spacesHarald Hoyer1-1/+1
2013-08-16dracut.sh: add --persistent-policy optionHarald Hoyer1-1/+26
2013-08-15add parameter --print-cmdlineHarald Hoyer1-10/+33
2013-08-15dracut-functions.sh: add find_mp_fsoptsHarald Hoyer1-0/+16
2013-08-15dracut-functions.sh: no more 'echo'Harald Hoyer1-17/+17
2013-08-15dracut-functions.sh: add find_dev_fsopts()Harald Hoyer1-2/+23
2013-08-15Create initramfs without using udevadmHarald Hoyer1-43/+27
2013-08-14dracut-functions.sh: fixed vercmp()Harald Hoyer1-28/+29
2013-08-14dracut-functions.sh: if no libdirs are set, take the ld.so.cache pathsHarald Hoyer1-0/+18
2013-08-09omit drivers fixdyoung@redhat.com1-1/+2
2013-08-07dracut-functions.sh: inst_multiple == dracut_installHarald Hoyer1-4/+8
2013-08-07dracut-functions.sh: removed non dracut-install shell functionsHarald Hoyer1-259/+56
2013-08-07dracut.sh/dracut-functions.sh: handle root on non-block deviceHarald Hoyer1-1/+3
2013-07-31kernel-modules/module-setup.sh: silently omit some filesystem driversHarald Hoyer1-0/+8
2013-07-31remove "< <(" syntaxHarald Hoyer1-59/+65
2013-07-24dracut-functions.sh:get_fs_env() fallback to blkid for ID_FS_TYPE not foundHarald Hoyer1-1/+0
2013-07-19dracut-functions.sh: only wait for the last pid spawnedHarald Hoyer1-1/+3
2013-07-19dracut-functions.sh: don't warn twice about omitted modulesHarald Hoyer1-1/+0
2013-07-15dracut.sh: Support early microcode loading.Konrad Rzeszutek Wilk1-0/+33
2013-07-04beautified shell codeHarald Hoyer1-69/+83
2013-06-28use "rm --" to guard against filenames beginning with "-"Harald Hoyer1-1/+1
2013-06-24use findmnt with "--source" or "--target"Harald Hoyer1-6/+24
2013-05-31dracut-functions.sh:get_persistent_dev() fix case for multipathHarald Hoyer1-0/+1
2013-05-28dracut-functions.sh: clarify instmods() error messageHarald Hoyer1-2/+2
2013-04-09dracut-functions.sh: make use of findmntHarald Hoyer1-99/+64
2013-03-18kernel-modules/module-setup.sh: install all host filesystem driversHarald Hoyer1-0/+14
2013-03-11make host_fs_types a hashmapHarald Hoyer1-11/+3
2013-03-07split 95udev-rules/59-persistent-storage.rules to md and dm modulesHarald Hoyer1-0/+27
2013-03-07dracut-functions.sh: fix inst_rule_programs()Harald Hoyer1-3/+3
2013-03-06dracut-functions.sh: add dracut_need_initqueue() dracut_module_included()Harald Hoyer1-0/+16
2013-02-18dracut: enable initramfs building without kernel modulesHarald Hoyer1-7/+10
2013-01-25Support out-of-tree and updated drivers in initramfs creationJoe Lawrence1-1/+1
2013-01-23dracut-functions.sh: cope with optional field #7 in mountinfoHarald Hoyer1-12/+52
2013-01-22dracut-functions.sh: add pre-shutdown hookHarald Hoyer1-1/+1
2013-01-03dracut-functions.sh: fixed inst_rules search pathHarald Hoyer1-1/+1
2012-10-16dracut-functions.sh: don't ask question on gzip uncompressHarald Hoyer1-1/+1
2012-10-10consistently lowercase "dracut"Harald Hoyer1-6/+6
2012-10-08dracut-functions.sh: inst_rules_program() skip udev vars ${}Harald Hoyer1-9/+9
2012-10-08return proper value in function dracut_installDave Young1-1/+4
2012-10-08dracut-functions.sh: find_binary: path starting with variableAmadeusz Żołnowski1-1/+1
2012-10-04dracut-functions: add inst_rule_group_owner()Harald Hoyer1-0/+22
2012-10-04dracut-functions.sh:inst_rules_program() also recognize RUN+=Harald Hoyer1-2/+2
2012-10-03dracut-functions.sh: move the i2o_scsi to the omit_drivers variableHarald Hoyer1-1/+0
2012-10-03dracut-functions.sh: do not check all modules for filesystemsHarald Hoyer1-4/+17
2012-10-03dracut-functions.sh: make hostonly case more failsafe for new modulesHarald Hoyer1-11/+21
2012-09-28dracut-functions.sh:get_persistent_dev() exception for multipath devicesHarald Hoyer1-1/+1
2012-09-24use by-uuid firstly in get_persistent_devDave Young1-1/+1
2012-09-10move get_persistent_dev to dracut-functions.shDave Young1-0/+15
2012-09-06use check_block_and_slaves in for_each_host_dev_and_slavesDave Young1-1/+1
2012-09-06FIPS workaround for fipscheck dirMilan Broz1-0/+12
2012-08-23moved the /etc/host_devs write out to 99baseHarald Hoyer1-2/+0
2012-08-23Add for_each_host_dev_and_slaves for device only checkingdyoung@redhat.com1-1/+47
2012-08-01Revert "dracut-functions: $_x should exist, no need to test."Chao Wang1-0/+1
2012-07-30dracut-functions.sh: inst_hook() with [0-9]-<name>Harald Hoyer1-1/+1
2012-07-30dracut-functions: $_x should exist, no need to test.Chao Wang1-1/+0
2012-07-26dracut-functions.sh:inst_rule_programs() fix error messagesHarald Hoyer1-3/+3
2012-07-26dracut-functions.sh:inst_rule_programs() fixed IMPORT{program}Harald Hoyer1-2/+2
2012-07-26mv rootfs-block/module-setup.sh:search_option() in dracut-functions.shHarald Hoyer1-0/+20
2012-07-26dracut-functions.sh: corrected usage comment of find_mp_fstype()Harald Hoyer1-3/+3
2012-07-26dracut-functions.sh: add find_mp_fstype()Harald Hoyer1-0/+27
2012-07-24get rid of "basename"Harald Hoyer1-6/+6
2012-07-24dracut-functions.sh: small error print correctionHarald Hoyer1-1/+1
2012-07-20dracut-functions.sh: fixed host-only kernel module bugHarald Hoyer1-2/+2
2012-07-19dracut-functions.sh: set LC_MESSAGES=C not LC_ALLHarald Hoyer1-1/+1
2012-07-16dracut-functions.sh: output more info, if dependency modules are omittedHarald Hoyer1-4/+16
2012-07-09dracut-functions.sh: bail out, if $initdir is not setHarald Hoyer1-0/+5
2012-07-05fips: add instmods silent check mode "-c -s"Harald Hoyer1-6/+12
2012-07-02dracut-functions.sh:find_kernel_modules_by_path() fixed hostonly partHarald Hoyer1-1/+5
2012-07-02dracut-functions.sh: forgot --set-version $kernel for modprobeHarald Hoyer1-1/+2
2012-07-02dracut-functions.sh: create $initdir, if it does not existHarald Hoyer1-0/+4
2012-07-02dracut-functions.sh,dracut.sh: use xargs with "-r"Harald Hoyer1-9/+8
2012-07-02dracut-functions.sh: set LC_ALL=C to get correct parsing informationHarald Hoyer1-1/+1
2012-07-02move dracut-install to dracutbasedirHarald Hoyer1-52/+69
2012-06-29Use /usr/bin/dracut-install if availableHarald Hoyer1-208/+281
2012-06-29dracut-functions.sh: grep for "--relative" for the ln_r() checkHarald Hoyer1-1/+1
2012-06-29dracut.sh, dracut-functions.sh: add dracut_kernel_post()Harald Hoyer1-1/+22
2012-06-29dracut-functions.sh: error out, if $initdir is not setHarald Hoyer1-0/+4
2012-06-29dracut-functions: inst(),inst_binary() fixed inst_symlink callHarald Hoyer1-2/+2
2012-06-29dracut-functions.sh:inst_libdir_files() combine installsHarald Hoyer1-2/+4
2012-06-29dracut.sh, dracut-functions.sh: do lazy kernel module dep resolvingHarald Hoyer1-31/+61
2012-06-29dracut-functions.sh:find_kernel_modules_by_path() use IFS=:Harald Hoyer1-1/+6
2012-06-29dracut-functions.sh:inst_decompress() simplify functionHarald Hoyer1-15/+2
2012-06-29dracut-functions.sh:inst_simple() do inst_symlink for symlinksHarald Hoyer1-7/+10
2012-06-29dracut-functions.sh: cp with --reflink=auto and --sparse=autoHarald Hoyer1-1/+1
2012-06-29dracut-functions.sh: mksubdirs(): check for dir existence firstHarald Hoyer1-1/+1
2012-06-29dracut-functions.sh: replace strstr()Harald Hoyer1-1/+1
2012-06-21dracut-functions.sh: use "ln -r" instead of shell functionsHarald Hoyer1-4/+16
2012-06-18Set some global variables in dracut-functions.shHarald Hoyer1-3/+31
2012-06-18fixed instmods() return code and set pipefail globallyHarald Hoyer1-12/+9
2012-06-15dracut-functions.sh: fixup inst_libdir_file() againHarald Hoyer1-4/+4
2012-06-15Debian multiarch supportThomas Lange1-4/+4
2012-06-06modules are now only handled with /sys/modules and modules.depHarald Hoyer1-44/+12
2012-06-06make udevdir systemdutildir systemdsystemunitdir global varsHarald Hoyer1-6/+0
2012-06-06Avoid annonying warnings when pkg-config is not installed.Juan RP1-1/+1
2012-06-04use pkg-config to determine the udev directoryHarald Hoyer1-6/+42
2012-05-16check kernel module existanceCong Wang1-9/+28
2012-05-07removed old udev "vol_id"Harald Hoyer1-11/+0
2012-04-23merge "cleanup" and "pre-pivot-cleanup" hooksHarald Hoyer1-2/+2
2012-04-19add pre-pivot-cleanup hookDave Young1-1/+1
2012-04-16Debian multiarch supportJon Ander Hernandez1-0/+28
2012-03-30dracut-functions.sh:get_fs_env() bail out earlyHarald Hoyer1-9/+21
2012-03-29dracut-functions.sh: fix get_fs_env()Harald Hoyer1-2/+2
2012-03-29dracut-functions.sh: removed get_fs_uuid() and get_fs_type()Harald Hoyer1-36/+14
2012-03-29dracut-functions.sh: no '' for shell regexHarald Hoyer1-1/+1
2012-03-29dracut-functions.sh: proper return get_fs_env() and get_fs_type()Harald Hoyer1-3/+3
2012-03-28dracut-functions.sh: skip comment lines in fstabHarald Hoyer1-0/+2
2012-03-26inst_symlink: create parent dir if doesn't existAmadeusz Żołnowski1-0/+1
2012-03-08add initqueue --env and "online" hookWill Woods1-1/+1
2012-03-08add "initqueue/*" to hookdirs and create them in dracut itsselfHarald Hoyer1-2/+4
2012-03-08dracut-functions.sh: check for .kernelmodseen dir, before using itHarald Hoyer1-1/+2
2012-03-01dracut-functions.sh:install_kmod_with_fw() delay .kernelmodseenHarald Hoyer1-2/+2
2012-02-25dracut.sh/dracut-functions.sh: use a marker-dir for kernel modulesHarald Hoyer1-3/+7