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

refactor: change behavior of piconfig module #180

Merged
merged 6 commits into from
Dec 12, 2022
Merged

Conversation

KwadFan
Copy link
Member

@KwadFan KwadFan commented Dec 11, 2022

MainsailOS specific configuration is no added at the bottom of the original config.txt

This should make it more stable to changes in default config.txt

Signed-off-by: Stephan Wendel [email protected]

MainsailOS specific configuration is no added at the bottom of
the original config.txt

This should make it more stable to changes in default config.txt

Signed-off-by: Stephan Wendel <[email protected]>
Enabling SPI Communication is now done via "piconfig module"

If you need to run that module as Standalone make sure uncommenting

`dtparam=spi=on` in `/boot/config.txt`

Signed-off-by: Stephan Wendel <[email protected]>
Instead of copying a static file use sed to manipulate existing.

Values could be configured due piconfig/config file

Signed-off-by: Stephan Wendel <[email protected]>
@KwadFan KwadFan requested a review from meteyou December 11, 2022 14:48
@KwadFan KwadFan self-assigned this Dec 11, 2022
Moving file before its modified, leads to build error
copy instead.

(obvious sometime I am dumb)

Signed-off-by: Stephan Wendel <[email protected]>
@KwadFan KwadFan merged commit 825af74 into develop Dec 12, 2022
@KwadFan KwadFan deleted the refactor/piconfig branch December 12, 2022 21:13
KwadFan added a commit that referenced this pull request Dec 28, 2022
* refactor: change behavior of piconfig module

MainsailOS specific configuration is no added at the bottom of
the original config.txt

This should make it more stable to changes in default config.txt


Enabling SPI Communication is now done via "piconfig module"

If you need to run module "is_pre_install" as Standalone make sure uncommenting
`dtparam=spi=on` in `/boot/config.txt`

* refactor: set swap file size dynamicly

Instead of copying a static file use sed to manipulate existing.

Values could be configured due piconfig/config file

Signed-off-by: Stephan Wendel <[email protected]>

Signed-off-by: Stephan Wendel <[email protected]>
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.

2 participants