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

config.local errors when file uses carriage return #6

Closed
timonsku opened this issue Oct 31, 2021 · 0 comments · Fixed by #7
Closed

config.local errors when file uses carriage return #6

timonsku opened this issue Oct 31, 2021 · 0 comments · Fixed by #7

Comments

@timonsku
Copy link
Contributor

Adding my own config options seems to cause issues if the file is created under windows with carriage return on the line end.
The config parses correctly but when the value for f.e. resizing the partition is passed to dd it gets fed a carriage return.

....
EDITBASE_IMAGE_ENLARGEROOT=2000
EDITBASE_IMAGE_RESIZEROOT=200
EDITBASE_MOUNT_PATH=/CustoPiZer/workspace/mount
EDITBASE_PYPI_INDEX=
EDITBASE_ROOT_PARTITION=2
EDITBASE_WORKSPACE=/CustoPiZer/workspace
================================================================
/CustoPiZer/workspace /
 MB to partition 2 of /CustoPiZer/workspace/output.img
dd: invalid number: '2000\r'
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 a pull request may close this issue.

1 participant