aboutsummaryrefslogtreecommitdiffstats
path: root/dracut.sh
AgeCommit message (Expand)AuthorFilesLines
2022-02-04fix(dracut): be more robust when using 'set -u'Renaud Métrich1-1/+1
2022-02-02feat(dracut.sh): add --aggresive-strip optionKairui Song1-2/+14
2021-12-11fix(dracut.sh): do not ignore invalid config file or dir pathAntonio Alvarez Feijoo1-2/+8
2021-11-26fix(dracut.sh): check kernel zstd support earlyMartin Wilck1-5/+12
2021-11-26fix(dracut.sh): check availability of configured compressionMartin Wilck1-0/+7
2021-11-26fix(dracut.sh): inform user about auto-selected compression methodMartin Wilck1-1/+3
2021-11-26fix(dracut.sh): drop pointless check for module compression methodMartin Wilck1-17/+0
2021-11-24feat(dracut.sh): add "--enhanced-cpio" option for calling dracut-cpioDavid Disseldorp1-18/+77
2021-09-11feat(dracut.sh): check if target kernel has zstd support compiled inAntonio Alvarez Feijoo1-0/+5
2021-09-09fix(dracut.sh): change misspelled variable nameAntonio Alvarez Feijoo1-1/+1
2021-09-09fix(dracut.sh): remove wrong $ in loop sequenceAntonio Alvarez Feijoo1-1/+1
2021-06-29fix(dracut.sh): handle symlinks appropriately while using '-i' optionKairui Song1-1/+1
2021-06-29fix(dracut.sh): handle '-i' option to include files beginning with '.'Hari Bathini1-1/+4
2021-05-21fix(dracut): pipe hardlink output to `dinfo`Harald Hoyer1-1/+1
2021-05-17feat(dracut.sh): detect running in a containerHarald Hoyer1-1/+8
2021-05-14fix(dracut): prevent symbolic links containing `//`Harald Hoyer1-0/+2
2021-05-11fix: deprecate gummibootJóhann B. Guðmundsson1-6/+2
2021-05-06fix: add a missing tmpfilesconfdir global variableJóhann B. Guðmundsson1-1/+7
2021-05-06fix(dracut-functions): implement a cache for get_maj_minRenaud Métrich1-0/+4
2021-05-05fix: shellcheck 0.7.2Harald Hoyer1-0/+3
2021-05-04feat: support ZSTD-compressed kernel modulesMikhail Novosyolov1-0/+1
2021-05-04style: make indent and let shfmt fail againHarald Hoyer1-1/+0
2021-05-04fix: install all depmod relevant configuration filesHarald Hoyer1-1/+12
2021-04-29fix(dracut): adding missing globalvars for udevJóhann B. Guðmundsson1-9/+24
2021-04-26fix: search for btrfs devices from actual mount poiontKairui Song1-2/+4
2021-04-20fix(dracut.sh): add global vars for modules-loadJóhann B. Guðmundsson1-4/+14
2021-04-20fix(dracut): sysctl global variablesJóhann B. Guðmundsson1-3/+3
2021-04-12fix(dracut.sh): omission is an addition to other omissions in conf filesJóhann B. Guðmundsson1-1/+1
2021-03-30feat(mkinitrd): remove mkinitrdHarald Hoyer1-3/+0
2021-03-29fix: shellcheck for dracut*.shHarald Hoyer1-2/+2
2021-03-13style: shfmt -s reformatHarald Hoyer1-68/+68
2021-03-13style: shfmt reformatHarald Hoyer1-397/+581
2021-03-13style: shfmt pre correctionHarald Hoyer1-2/+2
2021-03-09perf: disable initrd compression when squash module is enabledKairui Song1-0/+3
2021-03-09feat: squash module follow --compress optionKairui Song1-5/+15
2021-03-09refactor: delay compressor detectionKairui Song1-47/+47
2021-03-09refactor(squash): structure in a cleaner wayKairui Song1-2/+2
2021-03-09fix(squash): post install should be the last step before strippingKairui Song1-8/+8
2021-03-09refactor(squash): move the post install scripts into the module-setup.shKairui Song1-40/+2
2021-03-03fix: always use mkdir -pJóhann B. Guðmundsson1-2/+2
2021-03-02fix(dracut.sh): harden dracut against GZIP environment variableRenaud Métrich1-0/+1
2021-02-23fix(dracut.sh): remove unneeded variablesHarald Hoyer1-4/+0
2021-02-23fix(dracut.sh): unfreeze /boot on exitSergei Iudin1-1/+6
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-30/+34
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-38/+43
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-30/+43
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-30/+31
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-18/+22
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-29/+34
2021-02-15fix: shellcheck for dracut.shHarald Hoyer1-15/+19
2021-02-10fix: correct the squash quirkHarald Hoyer1-2/+2
2021-02-09feat(dracut.sh): allow overriding the systemctl command for sysrootZoltán Böszörményi1-0/+2
2021-02-09fix(dracut.sh): don't override path with foreign sysrootZoltán Böszörményi1-1/+2
2021-02-08fix: move ldconfig after library workaroundAlexander Tsoy1-14/+14
2021-02-08fix: do not set cmdline for uefi images unless askedMatthew Thode1-6/+9
2021-02-02feat(systemd-coredump): introducing systemd-coredump moduleJóhann B. Guðmundsson1-2/+6
2021-01-20feat: add addional global variablesJóhann B. Guðmundsson1-3/+5
2021-01-20feat: add addional global variablesJóhann B. Guðmundsson1-2/+67
2021-01-18feat: add addional global variablesJóhann B. Guðmundsson1-1/+74
2021-01-18feat(cli): add --no-uefi optionVladius251-1/+5
2020-12-02Revert "Add --uefi-output for custom output filename"Daniel Molkentin1-23/+13
2020-11-24Add --uefi-output for custom output filenameleo-lb1-13/+23
2020-10-26Add a --hostonly-nics optionKairui Song1-0/+6
2020-10-2199squash: Check require module earlier, and properlyKairui Song1-11/+0
2020-08-28dracut.sh: Add --versionDaniel Molkentin1-0/+11
2020-08-24dracut.sh: fix some indentation.Érico Rolim1-19/+19
2020-08-24dracut.sh: fix errors pointed out by shellcheck.Érico Rolim1-8/+8
2020-08-05UEFI Mode: only write kernel cmdline to UEFI binarymwberry1-1/+3
2020-08-0499squash: simplify the codeKairui Song1-69/+20
2020-08-03dracut.sh: fix ia32 detection for uefi executablesq661-1/+1
2020-07-26dracut.sh: fix early microcode detection logicq661-8/+15
2020-07-02dracut.sh: FIPS workaround for openssl-libs on Fedora/RHELKairui Song1-0/+11
2020-07-02dracut.sh: Move the library workaround after squashKairui Song1-9/+11
2020-03-18dracut.sh: add check for invalid configuration filesHarald Hoyer1-1/+13
2020-03-16don't prefer $TMPDIR over --tmpdirDusty Mabe1-1/+1
2020-03-06Use TMPDIR if availableTopi Miettinen1-1/+2
2020-03-06dracut.sh: don't call fsfreeze on subvol of root file systemMartin Wilck1-1/+35
2020-03-03Merge branch 'master' into regenerate_allDaniel Molkentin1-3/+19
2020-03-02Don't resolve libraries lazily if tmpdir is mounted with 'noexec'Topi Miettinen1-1/+7
2020-02-20Support the EFI Stub loader's splash image feature.Donovan Tremura1-1/+11
2020-02-13dracut.sh: added help for --regenerate-allRenaud Métrich1-3/+5
2020-01-27dracut.sh: check kmoddir is properly formedDaniel Cordero1-0/+15
2020-01-24ucode: use microcode found in packed cpio imagesJonas Witschel1-0/+18
2019-10-25Fix version reported by dracut --helpBöszörményi Zoltán1-0/+1
2019-10-25Set systemdutildir correctlyBöszörményi Zoltán1-4/+4
2019-10-25Handle -r / --sysroot option in dracut.shBöszörményi Zoltán1-1/+5
2019-10-25Allow running on a cross-compiled rootfsBöszörményi Zoltán1-75/+95
2019-10-25Fine tune mksquashfs options for squash moduleKairui Song1-1/+1
2019-10-25ucode: properly include early only ucodeDaniel Molkentin1-0/+1
2019-10-23Only generate hostonly-kernel-modules list in strict modeKairui Song1-1/+1
2019-09-03dracut.sh: suppress "ignored null byte in input" warningJonas Witschel1-1/+1
2019-08-29Print an error if included item ('-i' option) doesn't exist or is neither a d...Renaud Métrich1-1/+5
2019-08-09dracut.sh: Adjust squash and strip orderKairui Song1-18/+25
2019-07-19Replace $(arch) by $(uname -m)Jonas Witschel1-2/+2
2019-07-19move setting the "systemdutildir" variable before it's usedДамјан Георгиевски1-8/+10
2019-07-19dracut.sh: fix EFI directory if ESP is mounted to /efiJonas Witschel1-1/+1
2019-07-19add support for creating secureboot signed UEFI imagesMax Resch1-3/+26
2019-07-19Merge branch 'optimization' of https://github.com/ryncsn/dracut into ryncsn-o...Harald Hoyer1-4/+4
2019-07-19squash: also squash systemctl if switch-root is not neededKairui Song1-18/+22
2019-07-19squash: fix and simplify required_in_rootKairui Song1-23/+19
2019-07-19squash: squash systemd binary and udevadmKairui Song1-3/+5
2019-07-19dracut.sh: record the actual hostonly modules for hostonly modeKairui Song1-1/+1
2019-07-19dracut.sh: Fix udevdir detectionHongxu Jia1-2/+2
2019-02-22dracut: let module handling function accept optional path optionKairui Song1-4/+4
2018-12-20the strip command should avoid changing the file modification timeAttila Bruncsak1-2/+2
2018-11-12squash: unsquash the root image instead of mounting it on shutdownKairui Song1-2/+0
2018-11-08Fixed some SUSE specific typos and outputsPedro Monreal1-2/+2
2018-10-09Added space in Resolving executable dependencies done as in the rest of the m...Pedro Monreal1-1/+1
2018-09-21Add support for building a squashed initramfsKairui Song1-0/+114
2018-08-16dracut.sh: remove bogus dir removal for --rebuildHarald Hoyer1-3/+0
2018-07-18Record loaded kernel modules when hostonly mode is enabledKairui Song1-0/+3
2018-07-05dracut.sh: improve udevdir and systemdutildir fallback logicMike Gilbert1-4/+4
2018-07-05Introduce tri-state hostonly modeKairui Song1-0/+32
2018-06-14Remove obsolete prelinking functionalityDaniel Molkentin1-23/+0
2018-06-08Harden dracut against BASH_ENV environment variableRenaud Métrich1-1/+3
2018-05-22cleanup empty ldconfig_paths directoriesHarald Hoyer1-0/+5
2018-05-07s/find_btrfs_devs/btrfs_devsHarald Hoyer1-1/+1
2018-05-02Suppress sync/fsfreeze if not running on a live systemColin Walters1-8/+15
2018-01-18Enable 'early_microcode' by defaultThomas Backlund1-1/+1
2018-01-12Merge pull request #351 from danimo/91ziplHarald Hoyer1-0/+1
2018-01-11Add /boot/zipl to host devs if it is a mount pointThomas Renninger1-0/+1
2018-01-11dracut.sh: do not invoke fsfreeze on EFI System PartitionYu Watanabe1-1/+3
2018-01-08Merge pull request #339 from danimo/fix_include_parsingHarald Hoyer1-5/+9
2018-01-08Fix parsing of "-i" and "--include"Fabian Vogt1-5/+9
2017-12-19Merge pull request #331 from fcami/master-fsfreezeHarald Hoyer1-1/+6
2017-12-19call fsfreeze(8) on /boot to flush initramfs data & metadata to mediaFrançois Cami1-1/+6
2017-12-19Fix possible hang in dracutFabian Vogt1-1/+1
2017-10-26dracut.sh: after doing the lazy resolve always install dependenciesHarald Hoyer1-0/+4
2017-10-11dracut.sh: quote sync file argumentHarald Hoyer1-2/+1
2017-10-10dracut.sh: if /boot/vmlinuz-$version exists use /boot/ as output dirHarald Hoyer1-1/+3
2017-09-05add support for Zstandardtpgxyz1-1/+9
2017-08-23dracut.sh: disable lsinitrd logging when quietZiyue Yang1-1/+1
2017-08-18rootfs-block/module-setup.sh: check root_devs in cmdline_rootfs()Xunlei Pang1-1/+1
2017-08-18dracut.sh: introduce "--no-hostonly-default-device" argumentXunlei Pang1-1/+8
2017-08-09Sync initramfs after creationAnkit Kumar1-0/+6
2017-08-07dracut.sh: --nofscks does not take parametersHarald Hoyer1-1/+1
2017-07-17Do generate error when hostonly_cmdline is set to "no"Daniel Molkentin1-1/+1
2017-06-29bail out if module directory does not existHarald Hoyer1-6/+6
2017-06-27check for CONFIG_ACPI_TABLE_UPGRADEHarald Hoyer1-2/+2
2017-04-10Make binutils optional when elfutils are availableDaniel Molkentin1-3/+7
2017-03-30dracut.sh: strip NUL bytes in stream before push in stringHarald Hoyer1-1/+1
2017-03-20Correct path for UEFI stubHarald Hoyer1-1/+1
2017-01-18dracut: check for EUID instead of UIDHarald Hoyer1-4/+4
2017-01-18dracut.sh: add /dev/random and /dev/urandom to static device nodesHarald Hoyer1-0/+2
2017-01-18dracut: unset LC_* after setting LANG and LC_ALLHarald Hoyer1-2/+2
2017-01-16Do not "cp" the selinux contextHarald Hoyer1-3/+3
2017-01-16dracut.sh: add default path for --uefiHarald Hoyer1-10/+33
2017-01-09Merge pull request #157 from ddiss/fix_relative_tmpdirHarald Hoyer1-1/+5
2016-11-07dracut.sh: create the initramfs non-world readable also if early cpio is usedAndreas Stieger1-1/+1
2016-10-10dracut.sh: support --tmpdir as a relative pathDavid Disseldorp1-1/+5
2016-08-19dracut.sh: document --hostonly-i18n and --no-hostonly-i18nHarald Hoyer1-0/+3
2016-06-29dracut.sh: make tmp dirs after the trap function is installedHarald Hoyer1-6/+8
2016-06-07dracut.sh: fix $tmpfilesdir fallback when systemd-devel is not installed.Colin Guthrie1-2/+2
2016-04-15removed obsolete kernel module functions and host_modules variableHarald Hoyer1-29/+1
2016-04-15Merge pull request #123 from dracut-mailing-devs/40374262.eB5p3XdtTH@linux-lm...Harald Hoyer1-0/+21
2016-04-11Use dracut-install to install kernel modulesHarald Hoyer1-4/+4
2016-04-11dracut.sh: call dracut-install with "-f" in FIPS modeHarald Hoyer1-1/+1
2016-01-21Correctly handle module aliasesFabian Vogt1-0/+21
2016-01-13dracut.sh: fail hard, if we find modules and modules.dep is missingHarald Hoyer1-1/+6
2016-01-08dracut.sh: restorecon final image fileHarald Hoyer1-2/+5
2015-11-25dracut.sh: only create one TMPDIRHarald Hoyer1-36/+45
2015-11-18dracut.sh: for microcode generation, skip gpg filesHarald Hoyer1-1/+6
2015-11-17dracut.sh: save systemdutildir envHarald Hoyer1-1/+1
2015-11-16Check for systemd before installing systemd specific filesHarald Hoyer1-7/+9
2015-11-16dracut.sh: add back host_modules partHarald Hoyer1-0/+7
2015-11-13dracut.sh: remove the concept of host_modaliasHarald Hoyer1-21/+1
2015-11-13dracut.sh: Support --mount with just mountpoint as parameterFabian1-1/+15
2015-11-13add --no-reproducible to turn off reproducible modeHarald Hoyer1-1/+8
2015-11-11dracut.sh: fixed typo in microcode generationHarald Hoyer1-1/+1
2015-11-11dracut.sh: no microcode, if get_ucode_file returns empty fileHarald Hoyer1-4/+4
2015-11-11dracut.sh: do not create microcode, if no firmware is availableHarald Hoyer1-0/+4
2015-11-11dracut.sh: add command line option for install_i18_allHarald Hoyer1-0/+7
2015-11-11dracut.sh: quote $outfile on error removalHarald Hoyer1-1/+2
2015-11-11dracut.sh: remove "_EARLY" from CONFIG_MICROCODE_* checksHarald Hoyer1-5/+5
2015-11-11Merge pull request #91 from dracut-mailing-devs/1437470322-992-1-git-send-ema...Harald Hoyer1-0/+1
2015-08-24dracut.sh: remove duplicate call of push_host_devsLidong Zhong1-1/+0
2015-08-10dracut.sh: remove quotes from install_items and install_optional_itemsHarald Hoyer1-2/+2
2015-07-30dracut.sh: simplify modalias readingHarald Hoyer1-7/+3
2015-07-22Cleanup compressor handlingHarald Hoyer1-17/+61
2015-07-21remove the incomplete .img fileChao Fan1-0/+1
2015-07-15use mktemp "-p" instead of "--tmpdir" for busyboxHarald Hoyer1-5/+5
2015-07-09dracut.sh: early check for bash versionHarald Hoyer1-6/+7
2015-07-09dracut.sh: remember $0 for --regenerate-allHarald Hoyer1-5/+6
2015-07-09dracut.sh: reduce codeHarald Hoyer1-62/+18
2015-07-09guard ${arrays[@]} with ""Harald Hoyer1-3/+3
2015-07-09dracut.sh: remove pop()Harald Hoyer1-92/+27
2015-07-09dracut.sh: remove push()Harald Hoyer1-49/+28
2015-07-09Add all btrfs devicesHarald Hoyer1-2/+20
2015-07-02splitup dracut-init.sh from dracut-functions.shHarald Hoyer1-4/+4
2015-07-02dracut.sh: add devices with x-initrd.mount in /etc/fstab to host_devsHarald Hoyer1-0/+14
2015-06-22Fix default udev & systemd dir detection, in usr-merge configurations.Dimitri John Ledkov1-2/+2
2015-06-02Correct paths for openSUSEChristian Rodrigues1-1/+1
2015-06-02Merge pull request #67 from dracut-mailing-devs/1432116434-18050-1-git-send-e...Harald Hoyer1-0/+1
2015-06-02Merge pull request #68 from dracut-mailing-devs/1431698021-16626-3-git-send-e...Harald Hoyer1-2/+4
2015-06-02Merge pull request #65 from scop/commentHarald Hoyer1-1/+1
2015-06-02Merge pull request #66 from scop/lbzip2Harald Hoyer1-1/+2
2015-05-28dracut.sh: fall back to /usr/lib/os-release, if /etc/os-release missingHarald Hoyer1-0/+1
2015-05-24Use lbzip2 instead of bzip2 if availableVille Skyttä1-1/+2
2015-05-24Fix stale comment about required bash versionVille Skyttä1-1/+1
2015-05-20Change the fs_passno of nfs to 0Chao Fan1-0/+1