Skip to content
Commit fb951b93 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

fs/ext2: fix blocks/inodes calculation



With the ROOTFS_TARGET conversion, EXT2_OPTS gets evaluated very early
(before TARGET_DIR is populated with files), so the calculated
blocks/inodes numbers are wrong.

Fix it by moving the calculation to a shell script wrapper around
genext2fs, so it only gets executed just before genext2fs runs.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent f7f01e18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment