Skip to content

Commit 05c380a

Browse files
committed
Remove debug stops
1 parent 37b3d33 commit 05c380a

File tree

2 files changed

+1
-38
lines changed

2 files changed

+1
-38
lines changed

getKernelSources.sh

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -117,41 +117,4 @@ export SOURCE_TARGET
117117
# -E preserves environment variables
118118
sudo -E ./scripts/getKernelSources.sh
119119

120-
exit 0
121-
122-
123-
124-
125-
126-
127-
source scripts/jetson_variables.sh
128-
#Print Jetson version
129-
echo "$JETSON_DESCRIPTION"
130-
#Print Jetpack version
131-
echo "Jetpack $JETSON_JETPACK [L4T $JETSON_L4T]"
132-
133-
# Check to make sure we're installing the correct kernel sources
134-
L4TTarget="28.2.1"
135-
if [ $JETSON_L4T == $L4TTarget ] ; then
136-
echo "Getting kernel sources"
137-
sudo ./scripts/getKernelSourcesNoGUI.sh
138-
else
139-
echo ""
140-
tput setaf 1
141-
echo "==== L4T Kernel Version Mismatch! ============="
142-
tput sgr0
143-
echo ""
144-
echo "This repository branch is for installing the kernel sources for L4T "$L4TTarget
145-
echo "You are attempting to use these kernel sources on a L4T "$JETSON_L4T "system."
146-
echo "The kernel sources do not match their L4T release.!"
147-
echo ""
148-
echo "Please git checkout the appropriate kernel sources for your release"
149-
echo " "
150-
echo "You can list the tagged versions."
151-
echo "$ git tag -l"
152-
echo "And then checkout the latest version: "
153-
echo "For example"
154-
echo "$ git checkout v1.0-L4T"$JETSON_L4T
155-
echo ""
156-
fi
157120

scripts/getKernelSources.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fi
1414

1515
cd "$SOURCE_TARGET"
1616
echo "$PWD"
17-
exit
17+
1818
wget -N https://developer.nvidia.com/embedded/dlc/l4t-sources-32-1-jetson-nano
1919
# l4t-sources is a tbz2 file
2020
tar -xvf l4t-sources-32-1-jetson-nano public_sources/kernel_src.tbz2

0 commit comments

Comments
 (0)