mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-26 19:09:31 +00:00
include all source not just GPL
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
16
licensing/packages.lua
Executable file
16
licensing/packages.lua
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/lua
|
||||
|
||||
p = {}
|
||||
f = io.open("/lib/apk/db/installed")
|
||||
|
||||
for line in f:lines() do
|
||||
if line == "" then
|
||||
print(p.P, p.L, p.c)
|
||||
p = {}
|
||||
else
|
||||
k, v = line:match("(%a):(.*)")
|
||||
if k then
|
||||
p[k] = v
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user