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

Migrate from genisoimage package to https://github.com/kdomanski/iso9660 library #43

Open
yaroslav-gwit opened this issue Jun 11, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request low priority Will not be looked at for some time

Comments

@yaroslav-gwit
Copy link
Owner

genisoimage is not a part of the main FreeBSD image, so it would be beneficial to implement something native to Golang, in case the genisoimage ever gets changed or removed from the PKG repos.

@yaroslav-gwit yaroslav-gwit added the enhancement New feature or request label Jun 11, 2023
@yaroslav-gwit yaroslav-gwit self-assigned this Jun 11, 2023
@yaroslav-gwit yaroslav-gwit changed the title Migrate from genisoimage FreeBSD package to https://github.com/kdomanski/iso9660 Go library Migrate from genisoimage package to https://github.com/kdomanski/iso9660 Go library Jun 11, 2023
@yaroslav-gwit yaroslav-gwit changed the title Migrate from genisoimage package to https://github.com/kdomanski/iso9660 Go library Migrate from genisoimage package to https://github.com/kdomanski/iso9660 library Jun 11, 2023
@yaroslav-gwit yaroslav-gwit added the low priority Will not be looked at for some time label Sep 15, 2023
@yaroslav-gwit
Copy link
Owner Author

yaroslav-gwit commented Mar 19, 2024

I could use makefs instead (which is even better, because it's a part of the base system):

genisoimage -output "${VM_DS_PATH}/${_name}/seed.iso" -volid cidata -joliet -rock ${_cloud_init_dir}/* > /dev/null 2>&1 || util::err "Can't write seed.iso for cloud-init"
makefs -t cd9660 -o R,L=cidata "${VM_DS_PATH}/${_name}/seed.iso" ${_cloud_init_dir} || util::err "Can't write seed.iso for cloud-init"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low priority Will not be looked at for some time
Projects
None yet
Development

No branches or pull requests

1 participant