Skip to content

Commit

Permalink
jessie: target: just clone both, dtb-4.1-ti/dtb-4.4-ti, instead of gr…
Browse files Browse the repository at this point in the history
…eping around repo_rcnee_pkg_version

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed May 24, 2016
1 parent 62483b9 commit 6ed6b03
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 40 deletions.
15 changes: 5 additions & 10 deletions target/chroot/beagleboard.org-console-jessie.sh
Expand Up @@ -277,17 +277,12 @@ install_git_repos () {
fi
fi

is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.1. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.1-ti"
else
is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.4. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.4-ti"
fi
fi
git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-${git_branch}"
git_target_dir="/opt/source/dtb-4.1-ti"
git_clone_branch

git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-4.4-ti"
git_clone_branch

git_repo="https://github.com/beagleboard/bb.org-overlays"
Expand Down
15 changes: 5 additions & 10 deletions target/chroot/beagleboard.org-jessie.sh
Expand Up @@ -277,17 +277,12 @@ install_git_repos () {
fi
fi

is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.1. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.1-ti"
else
is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.4. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.4-ti"
fi
fi
git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-${git_branch}"
git_target_dir="/opt/source/dtb-4.1-ti"
git_clone_branch

git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-4.4-ti"
git_clone_branch

git_repo="https://github.com/beagleboard/bb.org-overlays"
Expand Down
15 changes: 5 additions & 10 deletions target/chroot/machinekit-jessie.sh
Expand Up @@ -278,17 +278,12 @@ install_git_repos () {
fi
fi

is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.1. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.1-ti"
else
is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.4. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.4-ti"
fi
fi
git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-${git_branch}"
git_target_dir="/opt/source/dtb-4.1-ti"
git_clone_branch

git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-4.4-ti"
git_clone_branch

git_repo="https://github.com/beagleboard/bb.org-overlays"
Expand Down
15 changes: 5 additions & 10 deletions target/chroot/seeed-jessie.sh
Expand Up @@ -355,17 +355,12 @@ install_git_repos () {
fi
fi

is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.1. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.1-ti"
else
is_kernel=$(echo ${repo_rcnee_pkg_version} | grep 4.4. || true)
if [ ! "x${is_kernel}" = "x" ] ; then
git_branch="4.4-ti"
fi
fi
git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-${git_branch}"
git_target_dir="/opt/source/dtb-4.1-ti"
git_clone_branch

git_repo="https://github.com/RobertCNelson/dtb-rebuilder.git"
git_target_dir="/opt/source/dtb-4.4-ti"
git_clone_branch

git_repo="https://github.com/beagleboard/bb.org-overlays"
Expand Down

0 comments on commit 6ed6b03

Please sign in to comment.