From 98a07976e824efb5a9931193c34c44977d6aa85a Mon Sep 17 00:00:00 2001 From: jetsonhacks Date: Thu, 21 May 2020 10:40:42 -0700 Subject: [PATCH] Rearrange scripts, add issues template --- .github/ISSUE_TEMPLATE/bug_report.md | 27 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++ README.md | 2 +- setssdroot.service => data/setssdroot.service | 0 setssdroot.sh => data/setssdroot.sh | 0 setup-service.sh | 4 +-- 6 files changed, 50 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md rename setssdroot.service => data/setssdroot.service (100%) rename setssdroot.sh => data/setssdroot.sh (100%) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..e8ec838 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Issue report +about: Create a report to help us improve +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Describe the issue** +Please describe the issue + +**What version of L4T/JetPack** +L4T/JetPack version: + +**Which Jetson** +Jetson: + +**To Reproduce** +Steps to reproduce the behavior: +For example, what command line did you run? + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..bfcb29d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[FEATURE REQUEST]" +labels: '' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/README.md b/README.md index 0eb3622..3243f8b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Then, setup the service. This will copy the .service file to the correct locatio $ ./setup-service.sh ``` -Note that setssdroot.sh is the script for installation, and should not be run individually. After setting up the service, reboot for the changes to take effect. +After setting up the service, reboot for the changes to take effect. ### Boot Notes These script changes the rootfs to the SSD after the kernel image is loaded from the eMMC/SD card. For the Xavier NX, you will still need to have the SD card installed for booting. As of this writing, the default configuration of the Jetson NX does not allow direct booting from the NVMe. diff --git a/setssdroot.service b/data/setssdroot.service similarity index 100% rename from setssdroot.service rename to data/setssdroot.service diff --git a/setssdroot.sh b/data/setssdroot.sh similarity index 100% rename from setssdroot.sh rename to data/setssdroot.sh diff --git a/setup-service.sh b/setup-service.sh index 6e3ab44..06845a5 100755 --- a/setup-service.sh +++ b/setup-service.sh @@ -1,7 +1,7 @@ #!/bin/sh # Setup the service to set the rootfs to point to the SSD -sudo cp setssdroot.service /etc/systemd/system -sudo cp setssdroot.sh /sbin +sudo cp data/setssdroot.service /etc/systemd/system +sudo cp data/setssdroot.sh /sbin sudo chmod 777 /sbin/setssdroot.sh systemctl daemon-reload sudo systemctl enable setssdroot.service