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

New buildscript with dialog #7

Closed Heisath closed 3 years ago

Heisath commented 3 years ago

Hey,

I changed the buildscript. Now there are no fixed config values in the script itself, but they can be passed via command line or if none are given, the user is asked to make selections via dialog. Configuration includes: What to build, kernel version, Debian release etc.

Also I changed the way, the tweaks folder works. Now the complete substructure (from ./tweaks/ ) is simply copied into the rootfs before packing. This should hopefully make it easier to add files.

Tested by building lk5.12 and bullseye.

What do you think? (Pinging @puxxi2003 and @Zeik0s as you have shown some interest in this repo).

Zeik0s commented 3 years ago

Nice, will try it soon since i have to recompile my kernel with the Option for ext4 acls enabled since Openmediavault relies on that.

Heisath commented 3 years ago

Cool, may I ask why you want to run OMV on the wdmc? Any cool features? Not sure it is worth it (compared to just setting up the services manually).

Zeik0s commented 3 years ago

Sure, i'm running it mainly for simplicity to configure things like smb shares, having a monitoring built in with mail alerts, and also to monitor the smart values of the drive, which i think i wouldn't have noticed before, that one drive has already read errors 😅

But yeah i'm not really a power user of OMV, but since the installation is only adding their repo, importing pgp keys for it and installing their package on top of debian, this is convenient for me.

Heisath commented 3 years ago

Ok, was just curious, as there seemed to be plenty problems with OMV (and RAID / ZFS) on Armbian/Helios atleast: https://forum.armbian.com/clubs/5-kobol-forum/

Found an issue: https://github.com/heisath/wdmc2-kernel/blob/new-ui/tweaks/etc/apt/sources.list Need a good way to setup the release now, I'am using premade files.

Zeik0s commented 3 years ago

Hm, i've not really found issues so far, but also don't use neither RAID or ZFS.

Zeik0s commented 3 years ago

Yeah, i think a note for that is enough. And if not, someone has to open an issue.

Heisath commented 3 years ago

Ok im merging this now, if anything else turns up, can still fix it later.