-
Notifications
You must be signed in to change notification settings - Fork 190
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
Copy extra files to chroot environment #34
Comments
Do you need to copy files only to the root of the chroot environment? |
I need to copy them anywhere in the chroot environment and then I can process them inside the customize_image function. In my case, it's a deb package that I need to install to the image. |
Hi @dangoncalves, Please go ahead, with your contribution. Thanks for all, |
Hi @dangoncalves , in case it hasn't already occurred to you, another approach would be to host the debian packages in a PPA or debian repository rather than manually installing them on the target image. In this way, you'll be able to provide updates to those packages in the future. The steps are to add the repo to the live host apt configuration and then use apt to install the packages. Here is an example: https://github.com/regolith-linux/regolith-ubuntu-iso-builder/blob/master/scripts/config-focal_standard.sh#L66 |
Hi @kgilmer & @dangoncalves , I often copy files to the chroot during & after the build script process. In the case of installing an offline .deb I copy the deb as above and use a preseed to install it during install.
I have a modified [build_iso] function to include generating a preseed. |
Is your feature request related to a problem? Please describe.
To build my live iso, I need to copy some files to the chroot environment. Currently we can't do that with the script.
Describe the solution you'd like
It could be useful if all files inside a specific directory where copied to the chroot environment.
Describe alternatives you've considered
Maintaining a list with the files to copy can be considered but will be less useful.
Additional context
I'm willing to work on this contribution.
The text was updated successfully, but these errors were encountered: