From 28e0c7f0cb1e37d3762e219ac927b677d4e0def8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sat, 13 Jan 2024 02:48:17 +0100 Subject: upgrade: remove procd-jail It can't be used on LXD instances. --- scripts/upgrade.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade.py b/scripts/upgrade.py index 088647c..012f10f 100644 --- a/scripts/upgrade.py +++ b/scripts/upgrade.py @@ -176,6 +176,8 @@ def main(argv): print("Start", new_name) new.start(wait=True) + # Can't use ujail on LXD instances + new.opkg_remove(['procd-ujail']) print("Ping downloads.openwrt.org") new.ping('downloads.openwrt.org') @@ -191,6 +193,7 @@ def main(argv): del_set = orig_set.difference(old_set) add_set = old_set.difference(orig_set) del_packages = list(del_set) + del_packages.append('procd-ujail') add_packages = list(add_set.difference(['iw'])) if len(del_packages) > 0: -- cgit v1.2.3