armbian / configurator

armbian-config drop-in replacement
GNU General Public License v3.0
5 stars 6 forks source link

Rework of the whole folder architecture #26

Closed Miouyouyou closed 2 years ago

Miouyouyou commented 2 years ago

In order to package the modules correctly, a package-manager specific directory architecture has been put in place.

I'll write the documentation by the end of the day.

Still, the whole idea to have something like that, inside the module directory :

The packager only needs to install :

The packaging script is not ready at the moment, though...

Notes :

First, note that the architectures directories are not required per-se. You can go with only "all-archs". Only create an "armv7" directory if it makes sense for you to have a Armv7 specific module. This is generally the case if the module needs to be built for a specific architecture.

Second, while the files (DEPS, POSTINST.sh, ...) are concatenated, each architecture is independent, and the packaging script WILL NOT OVERLAY ARCHITECTURES DIRECTORIES. Meaning that identical module files need to copied over and over, in each individual architecture directory.

Signed-off-by: Myy Miouyouyou myy@miouyouyou.fr

Miouyouyou commented 2 years ago

The new patches introduce BREAKING CHANGES. If you could test the whole thing before merging, this would help.

Miouyouyou commented 2 years ago

Also note that I won't be there until the start of September. I'll push the documentation of the new architecture today. But I won't have any script ready for the packaging.