loadup-lfg.sh script to create lfg.sysout - to be installed and run from LFG directory #1960
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NOTE: This PR is completely independent of the standard medley loadup scripts and any PR related thereof.
This PR contains 2 new files (in the MEDLEYDIR/scripts directory).
The first file
loadup-lfg.sh
needs to be copied into LFGDIR/scripts. Note that the "Lisp-ish CM here-doc" included in this file needs to updated to account for how LFG is actually loaded. What's there now is just a skeleton for testing.Also if there are more outputs of the loadup process that need to be preserved, then the line starting with
loadup_finish
will need to be updated accordingly.The second file
loadup-app-setup.sh
is to remain in MELDEYDIR/scripts directory. NOTE: until this PR is integrated AND the file is spread throughout all MEDLEYDIRs used for LFG, you will need to copy this file into MEDLEYDIR/scripts for all MEDLEYDIRs you want to use as a basis for lfg.sysout.To build a lfg.sysout, run
LFGDIR/scripts/loadup-lfg.sh
. You will need to specify a MEDLEYDIR to pull full.sysout from (and to host the second aforementioned file). You can specify the MEDLEYDIR either by setting the MEDLEYDIR env variable OR by using the-m <path to medley dir>
command-line argument. (Note: -medley and --medley are synonyms for -m.)By default, LFGDIR is set to the (parent of) the directory that the loadup-lfg script is being executed from. And the loadup build happens in LFGDIR/loadups/build. If the loadup is successful, the lfg.sysout and lfg.dribble files are copied into LFGDIR/loadups.
To change these defaults set the following env variables: LFG_DIR, LFG_WORKDIR and LFG_LOADUPSDIR. Any directories specified in this way must already exist - the script will not create them.
Again all of this does not depend on any of the medley loadup scripts.