Can build AppImages more successfully.
- The meta/Recipes script doesn't run the post-install of debian packages, so some weren't installed correctly. - This scheme lets vigil install into a container as usual. - The files in the AppDir are calculated as the difference between the files in the initial debootstrapped container, and the container after the installation.
This commit is contained in:
parent
928462f8ff
commit
d90d711703
9 changed files with 141 additions and 85 deletions
|
|
@ -18,14 +18,11 @@ class Worker:
|
|||
self.result = None
|
||||
self.process = None
|
||||
self.child_pgid = None
|
||||
self.script_path = (os.path.join(
|
||||
os.environ["APPDIR"], "usr", "bin", "vigil-worker")
|
||||
if "APPDIR" in os.environ else "vigil-worker")
|
||||
|
||||
@asyncio.coroutine
|
||||
def create_process(self):
|
||||
create = asyncio.create_subprocess_exec(
|
||||
self.script_path, stdin=asyncio.subprocess.PIPE,
|
||||
"vigil-worker", stdin=asyncio.subprocess.PIPE,
|
||||
stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE,
|
||||
preexec_fn=os.setsid)
|
||||
self.process = yield from create
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue