Hard Build System: Difference between revisions

m
Bot: Replace deprecated source tag with syntaxhighlight
[unchecked revision][unchecked revision]
m (The Sortix cross development information has been migrated to the cross-development(7) manual page as of the Sortix 1.0 release)
m (Bot: Replace deprecated source tag with syntaxhighlight)
 
Line 96:
 
An Easy Build System is responsible for as much as possible, avoiding any user effort. Degrees of this exist, of course. The ultimate easy build system is when the user blindly pipes an URL into an administrative shell:
<sourcesyntaxhighlight lang="bash">
download-to-stdout http://example.com/myos.sh | sudo sh
</syntaxhighlight>
</source>
 
It'll attempt to do as much work as possible to reliably understand the local operating system. It'll figure out what software needs to be installed, detect the distro and install the correct packages, download and compile source code if needed, might make global changes if needed, and generally try to pick sensible defaults. The script will be very complex because the systems out there are very different. The user can merely hope it works and doesn't screw up the local system too much.