diff options
author | Jonathan Bauer | 2020-11-11 14:56:15 +0100 |
---|---|---|
committer | Jonathan Bauer | 2020-11-11 14:56:15 +0100 |
commit | 9c589d04f5a699fef20c2e766718c3a690af5c16 (patch) | |
tree | 82ba1105ddc306f96032631ebd87b6367655de59 | |
parent | [dhcpc-busybox] do not bridge when not netbooted (diff) | |
download | mltk-9c589d04f5a699fef20c2e766718c3a690af5c16.tar.gz mltk-9c589d04f5a699fef20c2e766718c3a690af5c16.tar.xz mltk-9c589d04f5a699fef20c2e766718c3a690af5c16.zip |
[kernel-vanilla] don't patch aufs in install mode
-rw-r--r-- | core/modules/kernel-vanilla/module.build | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/core/modules/kernel-vanilla/module.build b/core/modules/kernel-vanilla/module.build index 26a58792..d8714cc8 100644 --- a/core/modules/kernel-vanilla/module.build +++ b/core/modules/kernel-vanilla/module.build @@ -34,13 +34,15 @@ fetch_source() { rm -rf "./ksrc" git clone --depth 1 "${REQUIRED_GIT}" -b "v${REQUIRED_KERNEL}" ksrc || perror "Could not clone kernel git." fi - # check for aufs - local RSL=$(find ksrc/ -type d -name aufs) - if [ -z "$RSL" ]; then - pinfo "aufs not found in kernel sources, patching it..." - patch_aufs - else - pinfo "aufs detected in kernel source :)" + if [ "$REMOTE_LOCAL_INSTALL" -eq 0 ]; then + # check for aufs + local RSL=$(find ksrc/ -type d -name aufs) + if [ -z "$RSL" ]; then + pinfo "aufs not found in kernel sources, patching it..." + patch_aufs + else + pinfo "aufs detected in kernel source :)" + fi fi # Other patches local patch |