mirror of
https://github.com/RasppleII/a2cloud.git
synced 2024-12-02 05:49:29 +00:00
30ccb87cd8
Cherry-picked the system_ident script from the refactor branch. This sets ras2_os and ras2_arch in a way that would be more useful for selecting a filename from among arch-specific alternatives. It's less good for identifying a Pi vs. desktop Debian or anything else, so I've kept around the isRpi variable for now. May revisit the variables in system_ident later on if it really would be useful to have ras2_os not include the release codename. For now though, this is fine. If nothing else this will encourage me to do more to get rid of the specific checks for the Pi. The major places the check seems to be used at the moment are: 1. Text output 2. Determining which version of java to install 3. Whether to spew out the USB lower/upper udev rules 4. How to compile GSport The question of which java to install is easily answered: The one you have available. Currently we're calling for java8 on RPi and ORACLE java7 on Debian. That doesn't actually make sense. On Debian we'd probably want to use openjdk, and the only reason to use Oracle's JDK on Raspbian is because you might already have it installed. I'm inclined to suggest that we should check if you have RPF's Oracle java installed, and if you don't install openjdk—unless someone can give me a good reason to use the JDK from those evil bastards at Oracle who believe that implementing a standard library compatible with theirs from published specs is somehow a Copyright infringement… Needless to say I have a bias against evil/stupid companies. GSport should literally use $ras2_arch if that once we have it replaced with GSplus. That just leaves the udev rules and flavor text. I think the problem will solve itself in time. |
||
---|---|---|
.. | ||
a2chat | ||
a2cloud-aliases | ||
a2cloud-help.txt | ||
a2cloudrc | ||
a2news | ||
acmd | ||
adtpro-start | ||
adtpro.sh | ||
baud | ||
cppo | ||
dopo | ||
dos2pro | ||
gsport | ||
gsport-setup | ||
gsport-setup-shell | ||
ivan.sh | ||
linapple | ||
mkpo | ||
motd-rpi.txt | ||
motd-vm.txt | ||
motd.txt | ||
setup.txt | ||
shk2image | ||
term | ||
ttyusbhandler.txt | ||
usbgetty-systemd.service | ||
usbgetty.txt | ||
vsd |