mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
Use absolute path to resize2fs as on Debian /sbin is not in PATH by default.
This commit is contained in:
@@ -54,7 +54,7 @@ proc run_image { {unused ""} } {
|
|||||||
|
|
||||||
if {[image_disk_size] == 0} {
|
if {[image_disk_size] == 0} {
|
||||||
# resize image to only needed size and get size of resized image
|
# resize image to only needed size and get size of resized image
|
||||||
exec resize2fs -M [run_dir].partition 2>/dev/null
|
exec /sbin/resize2fs -M [run_dir].partition 2>/dev/null
|
||||||
set disk_size_b [expr [regsub {\s.*} [exec wc -c [run_dir].partition] {}]]
|
set disk_size_b [expr [regsub {\s.*} [exec wc -c [run_dir].partition] {}]]
|
||||||
set disk_size_kb [expr $disk_size_b / 1024]
|
set disk_size_kb [expr $disk_size_b / 1024]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user