Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[General]: How to install the distribution locally from rootfs.tar? #469

Open
PTALTS-LK opened this issue Nov 16, 2024 · 1 comment
Open
Labels
question Further information is requested

Comments

@PTALTS-LK
Copy link

Description

My connection to github release is very slow.
So I used other ways to download the rootfs file from github release, but I didn't find a way to let Proot-Distro install the rootfs locally. I tried the restore suboption, and it didn't work.

@PTALTS-LK PTALTS-LK added the question Further information is requested label Nov 16, 2024
@sylirre
Copy link
Member

sylirre commented Nov 19, 2024

Currently there no straightforward support for local tarballs.

You can use following workaround:

  1. cd $PREFIX/etc/proot-distro
  2. Open selected distribution script in text editor, e.g. nano debian.sh.
  3. Replace link with something like file:///sdcard/Download/debian.tar.gz.
  4. Update corresponding SHA256 checksum, you can get one with command like sha256sum /sdcard/Download/debian.tar.gz.

restore option requires special structure of tarball as it intended to be used only with proot-distro backups. Each backup must include distribution script besides rootfs data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants