green-green-avk / build-libarchive-minitar-android Goto Github PK
View Code? Open in Web Editor NEWBuild script and prebuilt binaries for Android for a very small command line tar/gz/bz2/xz unarchiver utility.
License: MIT License
Build script and prebuilt binaries for Android for a very small command line tar/gz/bz2/xz unarchiver utility.
License: MIT License
Hi, I get the below when I run the script:
( S=repo-linuxcontainers.sh ; "$TERMSH" copy -f -fu "https://raw.githubusercontent.com/green-green-avk/AnotherTerm-scripts/master/$S" -tp . && chmod 755 $S && sh ./$S )
Actual name: linuxcontainers-ubuntu-focal
To uninstall: run `rm -rf "$DATA_DIR/proots/linuxcontainers-ubuntu-focal"'
Creating favorites...
Done.
Arch: aarch64
Variant:
Root FS: ubuntu focal
Source: https://images.linuxcontainers.org//images/ubuntu/focal/arm64/default/20211105_07:42//rootfs.tar.xz
Getting Linux root FS...
19.164 MiB / 88.895 MiB of https://images.linuxcontainers.org//images/ubuntu/focal/arm64/default/20211105_07:42//rootfs.tar.xzPathname can't be converted from UTF-8 to current locale.
19.531 MiB / 88.895 MiB of https://images.linuxcontainers.org//images/ubuntu/focal/arm64/default/20211105_07:42//rootfs.tar.xz
write failed: EPIPE (Broken pipe)
Possibly URL was changed: recheck on the site.
Setting up run script...
Configuring...
./install-linuxcontainers.sh[401]: can't create bin/termsh: No such file or directory
1|:/data/data/green_green_avk.anotherterm.redist $
Thanks!
Dimitri Vlahakis
e. @.***
c. +19174187640
On November 5, 2021 at 9:21 AM, SilasMo @.***) wrote:
After downloading the app from google play, i was blinded. Then i came and read the docs and was enlightened. But still i didnt get the point because im my head i had told my self that android 4.4.4 is not too old :D.
In the install-linuxcontainers.sh script, i had replaced us.images.linuxcontainers.org with images.linuxcontainers.org but still received the java net ssl error, so i had no option but to opt to another method.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub ( green-green-avk/AnotherTerm#21 (comment) ), or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AOYL7UX3JYHWY2Y4SQBMKQ3UKPK55ANCNFSM5HBLAMAA ).
Originally posted by @dvlahakis in green-green-avk/AnotherTerm#21 (comment)
From green-green-avk/AnotherTerm#17
Hello,
I have a tablet with Android 4.4.2 that I want to use AnotherTerm on. AnotherTerm itself seems to run fine, but I have some issues with the install-linuxcontainers script. I followed the guide on here.
I tried to install the root filesystem for debian buster (I also tried debian bulseye, ubuntu, gentoo and those all fail with a similar error; alpine does work fine however).
The first issue was that the script failed on line 362 because the folder etc/profile.d
did not exist. This is easily remedied by adding a mkdir -p etc/profile.d
.
The second issue is that there seems to be a problem with unpacking the root filesystem. I get the error -25: 9: chdir() failure
. After the error, the script continues, but the terminals into the root file system immediately stop after being started. With certain root file systems I get an additional error Pathname can't be converted from UTF-8 to current locale.
Any ideas on what is going wrong and how it could be fixed?
thanks,
Ruben
I tried AnotherTerm with the script on my phone that runs Android 8.1 and there the script runs just fine for debian. So it seems to be related to Android 4.4.2.
I was happy to find your project because it still supports KitKat, so thanks for that.
I'll try to debug the script a bit more.
After further testing, I see that the problem is caused by minitar. It gives errors on hardlinks and these errors seem in turn to cause a lot of data to go missing in the unpacked root file system. This is what causes the etc/profile.d
folder to be missing and is likely also the reason that the chroot terminal is not working.
I tried to use a manipulated root file system without the hardlinks and that archive is working fine.
So something must be wrong when treating the hardlinks. For extra information, the unpacked root file system looks like the following when the hardlinks are still there:
linuxcontainers-debian-buster
\_ etc
\_ usr
\_bin
\_usr
\_bin
\_games
\_include
\_local
\_src
\_var
So, in the root folder I only get etc
, usr
and var
and something weird is going on with the usr
folder nested inside usr/bin
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.