Heisath / wdmc2-kernel

Tools to create a mainline linux kernel and debian rootfs for WD MyCloud Gen2
GNU General Public License v2.0
33 stars 11 forks source link

Requirements #4

Closed Zeik0s closed 3 years ago

Zeik0s commented 3 years ago

Sorry to bother you again, i noticed two things when i built 5.10.3:

Heisath commented 3 years ago

No bother :)

Both should have been fixed with 580a47f and c0959db

Zeik0s commented 3 years ago

Exactly, bc is needed on the host, where the build is made. Also the clarification in the build script helps.

And i will continue to try building it, until now i haven't managed to get it running 😅

Heisath commented 3 years ago

Uff ok, if it helps I'm using Ubuntu Focal as a build host. You can also go back a few commits, 9b7f306, the build script had seperate kernel and rootfs scripts.

Also you can call build.sh --kernelonly to only test building the kernel. If it does not work you can post the output (if any), and I'll check it out.

Zeik0s commented 3 years ago

Yeah i will try focal next, maybe that's an issue due to older packages on debian. Just to be clear, for upgrading the Kernel, i need to copy uImage, uRamdisk and all linux kernel modules in /usr/lib/modules/$kernel-version ?

Heisath commented 3 years ago

To upgrade kernel you only need to copy uImage and modules. uRamdisk is only needed to load the file system and init. You don't have to upgrade it.