-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fixup 9534357 typo #3520
Conversation
@nbd168 ping |
@blogic ping |
Can you please change the commit title so it tells what you are changing? |
And please add a proper:
to the commit message. |
Fixes: 9534357 build: always build package/kernel/linux Reported-by: Jonas Albrecht <plonkbong100@protonmail.com> Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Paul Spooren <mail@aparcar.org>
ACK. This is breaking the buildbot in the packages feed. Almost all the red arrows are a result of this: https://github.com/openwrt/packages/pulls |
Having 'kernel/linux' in there is not a typo. The main problem is the fact that the SDK and the main build system have the 'linux' package in different subdirectories. I'll fix that part instead, so we don't need this PR. |
Tested and works, I'd suggest to create the kernel folder like shown below to save a diff --git a/target/sdk/Makefile b/target/sdk/Makefile
index 022a791ebf..67061861c0 100644
--- a/target/sdk/Makefile
+++ b/target/sdk/Makefile
@@ -82,7 +82,7 @@ KERNEL_FILES := $(patsubst $(TOPDIR)/%,%,$(wildcard $(addprefix $(LINUX_DIR)/,$(
all: compile
$(BIN_DIR)/$(SDK_NAME).tar.xz: clean
- mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package
+ mkdir -p $(SDK_BUILD_DIR)/dl $(SDK_BUILD_DIR)/package/kernel
$(CP) -L $(INCLUDE_DIR) $(SCRIPT_DIR) $(SDK_BUILD_DIR)/
$(TAR) -cf - -C $(TOPDIR) \
`cd $(TOPDIR); find $(KDIR_BASE)/ -name \*.ko` \
@@ -132,8 +132,10 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean
$(CP) \
$(TOPDIR)/package/Makefile \
$(TOPDIR)/package/libs/toolchain \
- $(TOPDIR)/package/kernel/linux \
$(SDK_BUILD_DIR)/package/
+ $(CP) \
+ $(TOPDIR)/package/kernel/linux \
+ $(SDK_BUILD_DIR)/package/kernel
-rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/.prereq-build
|
no changes in the master branch |
@nbd168 ping |
@adschm @ynezz This is unbelievable. Is anybody willing to do some changes to the master branch? What we should do with this? We are now sitting here and waiting to fix the culprit for at least a week here! Ping: @nbd168 |
@BKPepe This touches an area I have almost no experience with. Broken or not, I certainly won't mess with something I don't understand. |
So rather leaving it as broken and looking bad (failed checks) instead of reverting it. Did I understand it correctly or not? Anyway, @blocktrron cherry-picked it. |
the problem is here |
Yes, it's not my job to clean up behind others. Experience tells that people messing with or trying to fix stuff they don't understand don't make it better anyway. |
Yes I close PRs here once they are pulled into staging trees. I didn't except nothing would follow after the cherry-pick. Anyway, I'll leave future PRs open. |
Fixup 9534357 which added a non existing packages to the packages-y
list.
Reported-by: Jonas Albrecht plonkbong100@protonmail.com
Reported-by: Rosen Penev rosenp@gmail.com
Signed-off-by: Paul Spooren mail@aparcar.org