Advanced Operating Systems
COMP9242 2017/S2 |
UNSW
CRICOS Provider Number: 00098G |
Printer-Friendly
Version
|
Milestone Submission OverviewYour milestones are marked based on your submissions to give. Specifically, you will be submitting a diff generated by git for each milestone. Take the time to understand these instructions to ensure that what you submit is what you want assessed. Commit everything you wish assessedBefore generating a diff and submitting, you should ensure you
have committed all files that you wish to be part of your
submission. Ensure that a Additionally you should ensure the cp .config configs/aos_defconfig Generating a diffAll diffs produced for submission need to be based off the original commit in the aos-YYYY repository. This commit has been tagged AOSYYYY (e.g. AOS2015). Even if we push out additional commits that you merge into your code base, you should still generate your submission diff from the AOSYYYY tag. To actually generate the diff use the follow example: git diff AOSYYYY > milestone.diffThis assumes you have the commit you want to submit currently checked out as HEAD . You probably want to tag the revision you
submit and do something like
git tag -a M0 git diff AOSYYYY M0 > m0.diff Submitting your diffTo submit your diff, execute an appropriate variation of give cs9242 m0 m0.diff The submission process will test your diff by applying it to the initial release and compiling the result. If for some reason your submission fails the submission test, here are the sequence of step it performs so that you can recreate them in a temporary directory in order to debug your submission. echo 'Checking out original source tree...' git clone ~cs9242/public_git/aos-YYYY cd aos-YYYY echo 'Checking out AOSYYYY tag...' git checkout -b dryrun AOSYYYY echo "Applying diff $DIFF..." git apply --index "../$DIFF" echo "Reseting toolchain to arm-none-linux-gnueabi-..." sed -i -e 's/^\(CONFIG_CROSS_COMPILER_PREFIX=\).*$/\1"arm-none-linux-gnueabi-"/' configs/aos_defconfig echo "Making configuration..." make aos_defconfig make silentoldconfig echo "Compiling..." make app-images Last modified: 04 Aug 2017. |