mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #2079 from Kwiboo/apply-patches
scripts/unpack: apply more patches
This commit is contained in:
commit
01f3934769
@ -122,11 +122,12 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
for patch_dir in $PKG_PATCH_DIRS; do
|
||||
[ -d $PKG_DIR/patches/$patch_dir ] && PATCH_DIRS_PKG="$PATCH_DIRS_PKG $PKG_DIR/patches/$patch_dir/*.patch"
|
||||
[ -d $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/$patch_dir ] && PATCH_DIRS_PRJ="$PATCH_DIRS_PRJ $PROJECT_DIR/$PROJECT/patches/$PKG_NAME/$patch_dir/*.patch"
|
||||
[ -d $PROJECT_DIR/$PROJECT/devices/$DEVICE/patches/$PKG_NAME/$patch_dir ] && PATCH_DIRS_PRJ="$PATCH_DIRS_PRJ $PROJECT_DIR/$PROJECT/devices/$DEVICE/patches/$PKG_NAME/$patch_dir/*.patch"
|
||||
done
|
||||
fi
|
||||
|
||||
for i in $PKG_DIR/patches/$PKG_NAME-*.patch \
|
||||
$PKG_DIR/patches/$PATCH_ARCH/$PKG_NAME-*.patch \
|
||||
for i in $PKG_DIR/patches/*.patch \
|
||||
$PKG_DIR/patches/$PATCH_ARCH/*.patch \
|
||||
$PATCH_DIRS_PKG \
|
||||
$PKG_DIR/patches/$PKG_VERSION/*.patch \
|
||||
$PKG_DIR/patches/$PKG_VERSION/$PATCH_ARCH/*.patch \
|
||||
@ -157,6 +158,8 @@ if [ -d "$SOURCES/$1" -o -d "$PKG_DIR/sources" ]; then
|
||||
else
|
||||
if [[ "$thisdir" =~ ^$PKG_DIR/.* ]]; then
|
||||
PATCH_DESC="(common - $(basename "$thisdir"))"
|
||||
elif [[ "$thisdir" =~ ^$PROJECT_DIR/.*/devices/.* ]]; then
|
||||
PATCH_DESC="(device - $(basename "$thisdir"))"
|
||||
elif [[ "$thisdir" =~ ^$PROJECT_DIR/.* ]]; then
|
||||
PATCH_DESC="(project - $(basename "$thisdir"))"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user