Open TeddyCuoreDolce opened 8 months ago
Hi,
can you check whether gzip
is installed in busy box? an alternative could be to run gzip and then tar commands. This would be more generic approach, I guess.
Also, does junest runs well in busybox can you try it?
I'm trying to install JuNest on a Batocera machine. It was a method recommended in this reddit post I made about adding packages.
Not sure why, but others seem to have the -z option, while for some reason mine does not seem to.
gzip is available though with the following options
Usage: gzip [-cfkdt] [FILE]...
Compress FILEs (or stdin)
-d Decompress
-c Write to stdout
-f Force
-k Keep input files
-t Test integrity
and BusyBox is v1.35.0, but I can't confirm JuNest works well until I complete the install
I will change the script to include gzip command. In the meantime you can try it by changing this line here: https://github.com/fsquillace/junest/blob/master/lib/core/setup.sh#L55
Given I do not have busybox, can you try modify that line and tell what is the working commands? Also, I am afraid that constructing general commands might be hard given that tar
in busybox accepts a x
to extract file whereas in other linux systems is -x
.
I'm facing some tar related issue
So looks like my tar is missing the z option which you're using to extract a .tar.gz One workaround would be to replace the -z with an equivalent gzip command, which is available to me. Is it an option to try that in case straight tar fails?