Skip to content
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

Feature/k8s modules #14

Closed

Conversation

elasticdotventures
Copy link
Contributor

This is my attempt to solve #12

This patch file enables overlayfs, ipv6, br_netfilter, and industrial i/o (modbus) module builds

the basic problem is that this hardware requires a custom kernel, and running make menuconfig borks the arch/arm64/configs/longanpi_3h_defconfig file (even just saving the file with no changes will bork it! due to the patches)

the solution of course is to build yer own patchfile, with ONLY the changes to build the modules you need.
to do this:

cd build/linux
git checkout -b break-this
git add  arch/arm64/configs/longanpi_3h_defconfig
git commit -m "working versio"
make menuconfig
# load .. arch/arm64/configs/longanpi_3h_defconfig
# save .. (with no changes)
git checkout -b broken-build-before-config
git add  arch/arm64/configs/longanpi_3h_defconfig
git commit -m "this version is broked"
make menuconfig
# load arch/arm64/configs/longanpi_3h_defconfig
# .. make changes, then save
git add  arch/arm64/configs/longanpi_3h_defconfig
git commit -m "."
git format-patch HEAD -1
# restore your version
git am <filename> .

@elasticdotventures
Copy link
Contributor Author

This approach doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant