Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(check_live_ram): increase /run tmpfs size, if needed #17

Merged
merged 1 commit into from
Mar 31, 2024

Conversation

LaszloGombos
Copy link
Contributor

@LaszloGombos LaszloGombos commented Mar 30, 2024

Check the size and available space in /run to enlarge it,
if needed.
Introduce the check_meminfo() function to dracut-lib.sh
to replace a less versatile sed call.
Also, use local variables,
use parameter expansion to assign a default value,
use test exit logic directly, where possible,
tweak comments,
and move the check_live_ram() function to img-lib.sh.

(Cherry-picked commit from dracutdevs/dracut#2551)

@github-actions github-actions bot added modules Issue tracker for all modules base Issues related to the base module img-lib Issues related to the img-lib module labels Mar 30, 2024
Check the size and available space in /run to enlarge it,
  if needed.
Introduce the check_meminfo() function to dracut-lib.sh
  to replace a less versatile sed call.
Also, use local variables,
  use parameter expansion to assign a default value,
  use test exit logic directly, where possible,
  tweak comments,
  and move the check_live_ram() function to img-lib.sh.
@Conan-Kudo Conan-Kudo merged commit e12ad73 into dracut-ng:main Mar 31, 2024
105 checks passed
@LaszloGombos LaszloGombos deleted the _2551 branch March 31, 2024 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base Issues related to the base module img-lib Issues related to the img-lib module modules Issue tracker for all modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants