Small fixes.

This commit is contained in:
Sam Roxanne 2020-06-06 14:19:16 -05:00
parent 39ff04c2b6
commit ea6e5da1c3
4 changed files with 7 additions and 6 deletions

View File

@ -0,0 +1,3 @@
{
}

View File

@ -83,7 +83,7 @@ function arc:meta(path)
end
return {
local tsar = {
read = function(read, seek, close)
local tbl = {}
local lname = ""

View File

@ -26,9 +26,7 @@ local function load_lua(src, ...)
return load(src, ...)
end
local tsar = load([[
$[[cat src/zy-neo/builtins/util_tsar.lua | luamin -c]]
]])()
--#include "src/zy-neo/builtins/util_tsar.lua"
local builtins = {}
--#include "src/zy-neo/utils.lua"

View File

@ -1,7 +1,7 @@
local fs = require("filesystem")
print("Regenerating Zorya NEO initramfs...")
fs.copy("/.zy2/boot.tsar", "/.zy2/boot.tsar.old")
local f = io.open("/.zy2/boot.tsar", "wb")
fs.copy("/.zy2/image.tsar", "/.zy2/image.tsar.old")
local f = io.open("/.zy2/image.tsar", "wb")
local lst = {}
for ent in fs.list("/etc/zorya-neo/initramfs.d") do
if ent:sub(#ent) ~= "/" then