[archiso] Disable ext4 resize_inode on airootfs.
Remove unused feature, just to save space sizeof ext4 image (empty): 4.3M vs 403K (du airootfs.img) sizeof used space (empty): 48M vs 20K (df) Thanks Christian Hesse for initial tip. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
This commit is contained in:
parent
b14adf04fe
commit
9f88990065
@ -205,7 +205,7 @@ _mkairootfs () {
|
|||||||
if [[ ${quiet} == "y" ]]; then
|
if [[ ${quiet} == "y" ]]; then
|
||||||
_qflag="-q"
|
_qflag="-q"
|
||||||
fi
|
fi
|
||||||
mkfs.ext4 ${_qflag} -O ^has_journal -E lazy_itable_init=0 -m 0 -F "${work_dir}/airootfs.img"
|
mkfs.ext4 ${_qflag} -O ^has_journal,^resize_inode -E lazy_itable_init=0 -m 0 -F "${work_dir}/airootfs.img"
|
||||||
tune2fs -c 0 -i 0 "${work_dir}/airootfs.img" &> /dev/null
|
tune2fs -c 0 -i 0 "${work_dir}/airootfs.img" &> /dev/null
|
||||||
_msg_info "Done!"
|
_msg_info "Done!"
|
||||||
_mount_airootfs
|
_mount_airootfs
|
||||||
|
Loading…
Reference in New Issue
Block a user