mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
create_grub2: ext2 default parameters for image
The mkfs.ext2 heuristics select the "small" ext2 usage type, which does not fit well with GiB-sized pen drives. For example, the block size is just 1024 bytes compared to 4096 for "default". Therefore, we enforce the default usage type as this fits our use case of dumping the image to USB sticks better.
This commit is contained in:
@@ -22,7 +22,7 @@ proc run_image { {unused ""} } {
|
||||
set grub_img "[genode_dir]/tool/grub2-head.img"
|
||||
set disk_img "[run_dir].img"
|
||||
set part1_img "[run_dir]-part1.img"
|
||||
set run_size [expr [regsub {\s.*} [exec du -sm [run_dir]] {}] + 4]
|
||||
set run_size [expr [regsub {\s.*} [exec du -sm [run_dir]] {}] + 8]
|
||||
if {[image_disk_size] > 0} {
|
||||
set disk_size [image_disk_size]
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user