Compare commits
No commits in common. "c78bb7b32c69c32e8e2310f53e502382e64deea8" and "9dd5f5d4ad5c924dbcc617f5c2f93449436316a3" have entirely different histories.
c78bb7b32c
...
9dd5f5d4ad
@ -1,3 +1,2 @@
|
||||
getty.lua
|
||||
fsmanager.lua
|
||||
minitel.lua
|
||||
|
@ -20,10 +20,6 @@ function unionfs.create(...)
|
||||
return paths[1].."/"..path
|
||||
end
|
||||
|
||||
function proxy.setLabel()
|
||||
return false
|
||||
end
|
||||
|
||||
function proxy.spaceUsed()
|
||||
return fs.spaceUsed(paths[1])
|
||||
end
|
||||
@ -39,9 +35,6 @@ function unionfs.create(...)
|
||||
function proxy.lastModified(path)
|
||||
return fs.lastModified(realpath(path))
|
||||
end
|
||||
function proxy.getLabel()
|
||||
return fs.getLabel(paths[1])
|
||||
end
|
||||
|
||||
function proxy.exists(path)
|
||||
return fs.exists(realpath(path))
|
||||
@ -98,9 +91,7 @@ function unionfs.create(...)
|
||||
if not fids[fid] then
|
||||
return false, "file not open"
|
||||
end
|
||||
local rb = fids[fid]:read(d)
|
||||
if rb == "" then rb = nil end
|
||||
return rb
|
||||
return fids[fid]:read(d)
|
||||
end
|
||||
function proxy.seek(fid,d)
|
||||
if not fids[fid] then
|
||||
|
14
package.sh
14
package.sh
@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
#rm -r psychos
|
||||
#mkdir psychos
|
||||
#cp -r exec/ lib/ service/ psychos/
|
||||
#cp build/psychos.lua psychos/init.lua
|
||||
#cp default-init.txt psychos/init.txt
|
||||
#find psychos/ | cpio -oHbin > psychos.cpio
|
||||
cd target
|
||||
rm -r psychos
|
||||
mkdir psychos
|
||||
cp -r exec/ lib/ service/ psychos/
|
||||
cp build/psychos.lua psychos/init.lua
|
||||
cp default-init.txt psychos/init.txt
|
||||
find psychos/ | cpio -oHbin > psychos.cpio
|
||||
cd psychos
|
||||
find | cpio -oHbin > ../psychos-tarbomb.cpio
|
||||
|
Loading…
Reference in New Issue
Block a user