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

scripts/mkimage: create disk image without sudo #4701

Merged
merged 1 commit into from
Feb 20, 2016
Merged

scripts/mkimage: create disk image without sudo #4701

merged 1 commit into from
Feb 20, 2016

Conversation

vpeter4
Copy link
Contributor

@vpeter4 vpeter4 commented Feb 10, 2016

Mtools is used to format and copy files to vfat partition.
Populatefs is used to copy files to ext4 partition.

Tested on imx6 with u-boot, Generic with BIOS and EFI boot.

To avoid messing around with ext4 partition we could also provide "empty" disk image file. Both partitions would be already formatted and storage partition would already contain resize file. Then mkimage script would only copy kernel, system, bootloader files and install bootloader.
But current approach is more flexible for future use.

@lrusak
Copy link
Contributor

lrusak commented Feb 10, 2016

Awesome!

@lrusak
Copy link
Contributor

lrusak commented Feb 18, 2016

@vpeter4 are you able to provide some sample disk images for testing?

Mtools is used to format and copy files to vfat partition.
Populatefs is used to copy files to ext4 partition.

Tested on imx6 with u-boot, Generic with BIOS and EFI boot.

To avoid messing around with ext4 partition we could also provide "empty" disk image file. Both partitions would be already formatted and storage partition would already contain resize file. Then mkimage script would only copy kernel, system, bootloader files and install bootloader.
But current approach is more flexible for future use.
@vpeter4
Copy link
Contributor Author

vpeter4 commented Feb 19, 2016

Don't have anything at hand. But will build some for a test run over night.

sraue added a commit that referenced this pull request Feb 20, 2016
scripts/mkimage: create disk image without sudo
@sraue sraue merged commit 4eae60c into OpenELEC:master Feb 20, 2016
@vpeter4 vpeter4 deleted the non-root-image branch March 15, 2016 09:59
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.

None yet

3 participants