mirror of
https://github.com/Adorable-Catgirl/Zorya-NEO.git
synced 2024-11-23 10:48:06 +11:00
Small fixes.
This commit is contained in:
parent
39ff04c2b6
commit
ea6e5da1c3
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -83,7 +83,7 @@ function arc:meta(path)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
return {
|
local tsar = {
|
||||||
read = function(read, seek, close)
|
read = function(read, seek, close)
|
||||||
local tbl = {}
|
local tbl = {}
|
||||||
local lname = ""
|
local lname = ""
|
||||||
|
@ -26,9 +26,7 @@ local function load_lua(src, ...)
|
|||||||
return load(src, ...)
|
return load(src, ...)
|
||||||
end
|
end
|
||||||
|
|
||||||
local tsar = load([[
|
--#include "src/zy-neo/builtins/util_tsar.lua"
|
||||||
$[[cat src/zy-neo/builtins/util_tsar.lua | luamin -c]]
|
|
||||||
]])()
|
|
||||||
|
|
||||||
local builtins = {}
|
local builtins = {}
|
||||||
--#include "src/zy-neo/utils.lua"
|
--#include "src/zy-neo/utils.lua"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
local fs = require("filesystem")
|
local fs = require("filesystem")
|
||||||
print("Regenerating Zorya NEO initramfs...")
|
print("Regenerating Zorya NEO initramfs...")
|
||||||
fs.copy("/.zy2/boot.tsar", "/.zy2/boot.tsar.old")
|
fs.copy("/.zy2/image.tsar", "/.zy2/image.tsar.old")
|
||||||
local f = io.open("/.zy2/boot.tsar", "wb")
|
local f = io.open("/.zy2/image.tsar", "wb")
|
||||||
local lst = {}
|
local lst = {}
|
||||||
for ent in fs.list("/etc/zorya-neo/initramfs.d") do
|
for ent in fs.list("/etc/zorya-neo/initramfs.d") do
|
||||||
if ent:sub(#ent) ~= "/" then
|
if ent:sub(#ent) ~= "/" then
|
||||||
|
Loading…
Reference in New Issue
Block a user