forked from Mirror/pmbootstrap
remove local postmarketOS mirror folder support (!1718)
Obscure feature: it was possible to specify a local path as --mirror-pmOS. It would then get mounted to /mnt/postmarketos-mirror inside the chroot, and be specified as such in the generated /etc/apk/repositories file. I had used this once for some testing scripts, but I am sure nobody is using this anymore. The same can be achieved with running a local http server anyway: <https://wiki.postmarketos.org/wiki/Installing_packages_on_a_running_phone> Removing this makes it easier to support multiple postmarketOS mirrors (next commit).
This commit is contained in:
parent
2c6c5a9df9
commit
a92e6a89d0
2 changed files with 2 additions and 14 deletions
|
@ -97,11 +97,6 @@ def mount(args, suffix="native"):
|
|||
source = source.replace("$ARCH", arch)
|
||||
mountpoints[source] = target
|
||||
|
||||
# Add the pmOS binary repo (in case it is set and points to a local folder)
|
||||
mirror = args.mirror_postmarketos
|
||||
if os.path.exists(mirror):
|
||||
mountpoints[mirror] = "/mnt/postmarketos-mirror"
|
||||
|
||||
# Mount if necessary
|
||||
for source, target in mountpoints.items():
|
||||
target_full = args.work + "/chroot_" + suffix + target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue