Skip to content

Commit

Permalink
Hack support lambda drive by default
Browse files Browse the repository at this point in the history
  • Loading branch information
vfusco committed Oct 22, 2023
1 parent f49c3e8 commit 49d07d5
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/cartesi-machine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,9 @@ local remote_shutdown = false
local remote_create = true
local remote_destroy = true
local images_path = adjust_images_path(os.getenv("CARTESI_IMAGES_PATH"))
local flash_image_filename = { root = images_path .. "rootfs.ext2" }
local flash_label_order = { "root" }
local flash_shared = {}
local flash_image_filename = { root = images_path .. "rootfs.ext2", lambda = images_path .. "lambda.bin"}
local flash_label_order = { "root", "lambda"}
local flash_shared = { lambda = true }
local flash_start = {}
local flash_length = {}
local memory_range_replace = {}
Expand Down Expand Up @@ -626,6 +626,14 @@ local options = {
return true
end,
},
{
"^%-%-rollup$",
function(all)
if not all then return false end
-- for compatibility with old options
return true
end,
},
{
"^%-%-no%-rollup$",
function(all)
Expand Down

0 comments on commit 49d07d5

Please sign in to comment.