penelope icon indicating copy to clipboard operation
penelope copied to clipboard

Fix upload not working when the agent cannot be deployed

Open save196 opened this issue 1 year ago • 1 comments

When the agent cannot be deployed the upload command fails as remote_block_size is not set. This commit sets remote_block_size to 1 by default.

save196 avatar Mar 28 '24 14:03 save196

Updated the df command used in file upload to use -k (sets the block size to 1024 bytes) instead of --block-size. This improve compatibility with other versions of df, like BusyBox and Toybox implementations that do not support --block-size.

save196 avatar Mar 28 '24 21:03 save196

Updated the df command used in file upload to use -k (sets the block size to 1024 bytes) instead of --block-size. This improve compatibility with other versions of df, like BusyBox and Toybox implementations that do not support --block-size.

-k is not equivalent to -B 1 so I will need to change some more code

brightio avatar Aug 31 '24 08:08 brightio