If community-patches were asked from .cfg and its dir is missing, make a clone of https://github.com/Frogging-Family/community-patches.git at the expected location.
Related to Frogging-Family/community-patches#6
This commit is contained in:
parent
afbf8ffab5
commit
77403be53a
@ -709,6 +709,9 @@ prepare() {
|
|||||||
|
|
||||||
# Community patches
|
# Community patches
|
||||||
if [ -n "$_community_patches" ]; then
|
if [ -n "$_community_patches" ]; then
|
||||||
|
if [ ! -d "$_where/../../community-patches" ]; then
|
||||||
|
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
fi
|
||||||
_community_patches=($_community_patches)
|
_community_patches=($_community_patches)
|
||||||
for _p in ${_community_patches[@]}; do
|
for _p in ${_community_patches[@]}; do
|
||||||
ln -s "$_where"/../../community-patches/linux54-tkg/$_p "$_where"/
|
ln -s "$_where"/../../community-patches/linux54-tkg/$_p "$_where"/
|
||||||
|
@ -761,6 +761,9 @@ prepare() {
|
|||||||
|
|
||||||
# Community patches
|
# Community patches
|
||||||
if [ -n "$_community_patches" ]; then
|
if [ -n "$_community_patches" ]; then
|
||||||
|
if [ ! -d "$_where/../../community-patches" ]; then
|
||||||
|
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
fi
|
||||||
_community_patches=($_community_patches)
|
_community_patches=($_community_patches)
|
||||||
for _p in ${_community_patches[@]}; do
|
for _p in ${_community_patches[@]}; do
|
||||||
ln -s "$_where"/../../community-patches/linux55-tkg/$_p "$_where"/
|
ln -s "$_where"/../../community-patches/linux55-tkg/$_p "$_where"/
|
||||||
|
@ -767,6 +767,9 @@ prepare() {
|
|||||||
|
|
||||||
# Community patches
|
# Community patches
|
||||||
if [ -n "$_community_patches" ]; then
|
if [ -n "$_community_patches" ]; then
|
||||||
|
if [ ! -d "$_where/../../community-patches" ]; then
|
||||||
|
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}"
|
||||||
|
fi
|
||||||
_community_patches=($_community_patches)
|
_community_patches=($_community_patches)
|
||||||
for _p in ${_community_patches[@]}; do
|
for _p in ${_community_patches[@]}; do
|
||||||
ln -s "$_where"/../../community-patches/linux56-tkg/$_p "$_where"/
|
ln -s "$_where"/../../community-patches/linux56-tkg/$_p "$_where"/
|
||||||
|
@ -755,6 +755,9 @@ prepare() {
|
|||||||
|
|
||||||
# Community patches
|
# Community patches
|
||||||
if [ -n "$_community_patches" ]; then
|
if [ -n "$_community_patches" ]; then
|
||||||
|
if [ ! -d "$_where/../../community-patches" ]; then
|
||||||
|
cd "$_where/../.." && git clone https://github.com/Frogging-Family/community-patches.git && cd "${srcdir}/linux-${_basekernel}-${_sub}"
|
||||||
|
fi
|
||||||
_community_patches=($_community_patches)
|
_community_patches=($_community_patches)
|
||||||
for _p in ${_community_patches[@]}; do
|
for _p in ${_community_patches[@]}; do
|
||||||
ln -s "$_where"/../../community-patches/linux57-tkg/$_p "$_where"/
|
ln -s "$_where"/../../community-patches/linux57-tkg/$_p "$_where"/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user