a2cloud/setup
T. Joseph Carter 30ccb87cd8 Use system_ident, fix picopkg names
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.
2018-04-22 18:56:28 -07:00
..
a2chat Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
a2cloud-aliases Remove raspbian-update, update aliases 2016-12-09 09:26:53 -08:00
a2cloud-help.txt Remove raspbian-update, update aliases 2016-12-09 09:26:53 -08:00
a2cloudrc Add beta run-local support for development 2016-10-29 02:13:25 -07:00
a2news Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
acmd Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
adtpro-start Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
adtpro.sh Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
baud Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
cppo Add beta run-local support for development 2016-10-29 02:13:25 -07:00
dopo Add beta run-local support for development 2016-10-29 02:13:25 -07:00
dos2pro Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
gsport Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
gsport-setup Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
gsport-setup-shell Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
ivan.sh Use system_ident, fix picopkg names 2018-04-22 18:56:28 -07:00
linapple Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
mkpo Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
motd-rpi.txt Add MOTD files to source tree 2015-10-30 03:52:45 -07:00
motd-vm.txt motd-vm.txt: This wasn't added. 2016-04-08 01:25:00 -07:00
motd.txt fix motd, and icon creation error messages in setup 2016-07-23 06:59:22 -05:00
setup.txt Add new setup.txt 2018-04-12 00:57:08 -07:00
shk2image Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
term Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
ttyusbhandler.txt Fix indentation and remove dead code 2016-10-28 08:10:53 -07:00
usbgetty-systemd.service Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00
usbgetty.txt Fix indentation and remove dead code 2016-10-28 08:10:53 -07:00
vsd Removed a2cScriptURL and renmaed .txt from scripts 2018-04-22 14:44:27 -07:00