Skip to content

Commit

Permalink
Revert "scripts/mkimage: use only known features for creating part2"
Browse files Browse the repository at this point in the history
This reverts commit b760902.

This causes initial resize of STORAGE partition to take longer
  • Loading branch information
adamg committed Sep 15, 2019
1 parent 9efb761 commit 697f8e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/mkimage
Expand Up @@ -267,8 +267,7 @@ dd if="${DISK}" of="${LE_TMP}/part2.ext4" bs=512 skip="${STORAGE_PART_START}" co

# create filesystem on part2
echo "image: creating filesystem on part2..."
FEATURES="none,has_journal,ext_attr,resize_inode,dir_index,filetype,extent,flex_bg,sparse_super,large_file,huge_file,dir_nlink,extra_isize"
mke2fs -F -q -t ext4 -m 0 -O ${FEATURES} "${LE_TMP}/part2.ext4"
mke2fs -F -q -t ext4 -m 0 "${LE_TMP}/part2.ext4"
tune2fs -L "${DISTRO_DISKLABEL}" -U ${UUID_STORAGE} "${LE_TMP}/part2.ext4" >"${SAVE_ERROR}" 2>&1 || show_error
e2fsck -n "${LE_TMP}/part2.ext4" >"${SAVE_ERROR}" 2>&1 || show_error
sync
Expand Down

0 comments on commit 697f8e4

Please sign in to comment.