git: initrd/mkinitrd.sh: Actually use check_initrd() and small changes
Aaron LI
aly at crater.dragonflybsd.org
Mon Aug 3 17:10:27 PDT 2026
commit 4cb09ffe7bd93789e50236a24dfceb6d6b3ae358
Author: Aaron LI <aly at aaronly.me>
Date: Tue Aug 4 06:32:50 2026 +0800
initrd/mkinitrd.sh: Actually use check_initrd() and small changes
* The check_initrd() was not used. Now use it before making the image.
* Simplify the awk command to be bc(1) to round up the image size.
* Shell syntax and style cleanups.
Summary of changes:
initrd/mkinitrd.sh | 43 +++++++++++++++++--------------------------
1 file changed, 17 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4cb09ffe7bd93789e50236a24dfceb6d6b3ae358
--
DragonFly BSD source repository
More information about the Commits
mailing list