diff --git a/pmb/__init__.py b/pmb/__init__.py index 45576e20..3da30cfe 100644 --- a/pmb/__init__.py +++ b/pmb/__init__.py @@ -66,8 +66,6 @@ def main(): raise RuntimeError("Work path not found, please run 'pmbootstrap" " init' to create it.") - other.check_old_devices(args) - # Migrate work folder if necessary if args.action not in ["shutdown", "zap", "log"]: other.migrate_work_folder(args) diff --git a/pmb/helpers/other.py b/pmb/helpers/other.py index fc016128..3e3b9547 100644 --- a/pmb/helpers/other.py +++ b/pmb/helpers/other.py @@ -242,21 +242,6 @@ def migrate_work_folder(args: PmbArgs): " be lost.") -def check_old_devices(args): - """Check if there are any device ports in device/\\*/APKBUILD. - - Devices should be in device/\\*/\\*/APKBUILD (e.g. device/testing/...). - """ - g = glob.glob(args.aports + "/device/*/APKBUILD") - if not g: - return - - raise RuntimeError("Found device ports outside device/testing/... " - "Please run 'pmbootstrap pull' and/or move the " - "following device ports to device/testing:\n - " + - '\n - '.join(g)) - - def validate_hostname(hostname): """Check whether the string is a valid hostname.