forked from Mirror/pmbootstrap
pmb.helpers: remove check for old device paths (MR 2252)
The migration to the new pmaports device layout was 3 years ago, I think it's reasonable that this check is no longer needed.
This commit is contained in:
parent
7b14ef597b
commit
9301412f90
2 changed files with 0 additions and 17 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue