return call_tool("rsync", args)
end
+--- call the gzip command
+-- @param file string: file to compress
+-- @return bool
+-- @return the last line ouf captured output
+function gzip(file)
+ local args = string.format("'%s'", file)
+ return call_tool("gzip", args)
+end
+
--- call the catcommand
-- @param args
-- @return bool
touch = { name = "touch", flags = "", optional = false },
uname = { name = "uname", flags = "", optional = false },
patch = { name = "patch", flags = "", optional = false },
+ gzip = { name = "gzip", flags = "", optional = false },
["e2-su"] = { name = buildconfig.PREFIX .. "/bin/e2-su", flags = "",
optional = false },
["e2-su-2.2"] = { name = buildconfig.PREFIX .. "/bin/e2-su-2.2",