Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ func Make(ctx context.Context, rootfsPath string, sizeMb int64, blockSize int64)
cmd := exec.CommandContext(ctx,
"mkfs.ext4",
// Matches the final ext4 features used by tar2ext4 tool
// But enables resize_inode, sparse_super (default, required for resize_inode)
"-O", `^has_journal,^dir_index,^64bit,^dir_nlink,^metadata_csum,ext_attr,sparse_super2,filetype,extent,flex_bg,large_file,huge_file,extra_isize`,
// But enables resize_inode, sparse_super (default, required for resize_inode), has_journal (default), metadata_csum (default)
"-O", `^dir_index,^64bit,^dir_nlink,ext_attr,sparse_super2,filetype,extent,flex_bg,large_file,huge_file,extra_isize`,
"-b", strconv.FormatInt(blockSize, 10),
"-m", strconv.FormatInt(reservedBlocksPercentage, 10),
"-i", strconv.FormatInt(inodesRatio, 10),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/e2b-dev/infra/packages/shared/pkg/storage"
)

const hashingVersion = "v1"
const hashingVersion = "v2"

const minimalCachedTemplateVersion = 2

Expand Down
Loading