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

Replaced rc.local modification with resize2fs_once init script #125

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

bggardner
Copy link

The base Raspbian image (2020-02-13-raspbian-buster) uses this method, and is a little cleaner than doing the checksum/replace method.

@adonespitogo
Copy link

Will this still work on armbian?

@bggardner
Copy link
Author

I believe so, as armbian (or any Debian-based distro) uses the same init system. It has the /etc/rc3.d directory populated with similar scripts, and resize2fs is present in the stock armbian image. I would be surprised if it didn't work, but you'll just have to test it.

Copy link

@yeroc-sebrof yeroc-sebrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I made a fork of this fork to bring it to present and couldn't get it working

@bggardner
Copy link
Author

Updated to present and changed to use raspi-config --expand-rootfs in a one-time init script. Please test to verify.

Copy link

@yeroc-sebrof yeroc-sebrof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used this a handful of times now without issue, thank you for updating this @bggardner

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.

3 participants