Skip to content

Commit

Permalink
fixup! [#453] Package for fedora and ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
krendelhoff2 committed Aug 18, 2022
1 parent 12604f5 commit 1fe13f5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docker/package/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ def mk_node_unit(


def mk_rollup_packages():

def mk_units(type, proto):
startup_script = "/usr/bin/tezos-rollup-node-start"
service_file = ServiceFile(
Expand All @@ -454,7 +453,9 @@ def mk_units(type, proto):
"+/usr/bin/setfacl -m u:tezos:rwx /run/systemd/ask-password"
],
exec_start=startup_script,
exec_stop_post=["+/usr/bin/setfacl -x u:tezos /run/systemd/ask-password"],
exec_stop_post=[
"+/usr/bin/setfacl -x u:tezos /run/systemd/ask-password"
],
state_directory="tezos",
user="tezos",
type_="forking",
Expand All @@ -479,7 +480,11 @@ def mk_rollup_package(name, type, proto):
meta=packages_meta,
systemd_units=mk_units(type, proto) if name == "node" else [],
target_proto=proto,
additional_native_deps=["tezos-client", "tezos-node", "tezos-sapling-params"],
additional_native_deps=[
"tezos-client",
"tezos-node",
"tezos-sapling-params",
],
postinst_steps=daemon_postinst_common,
dune_filepath=f"src/proto_{proto_snake_case}/bin_{type}_rollup_{name}/main_{type}_rollup_{name}_{proto_snake_case}.exe",
)
Expand Down

0 comments on commit 1fe13f5

Please sign in to comment.