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

Missing docs of how we shall use the .../custom/files folder #571

Open
jomeier opened this issue Sep 26, 2024 · 2 comments
Open

Missing docs of how we shall use the .../custom/files folder #571

jomeier opened this issue Sep 26, 2024 · 2 comments

Comments

@jomeier
Copy link

jomeier commented Sep 26, 2024

Hi,
could you please provide an example of how to use custom files in the custom/files folder in the docs?
I want to copy some files to the file system in my home directory during combustion phase.

custom/files:
myfile
myscript.sh

Content of myscript.sh:

cp myfile /home/myname

For that I placed the file and a script in custom/files folder. I expected that the script will be called and the file will be copied to my home folder but this does not work.
What is wrong with this procedure?

Thanks and greetings,
Josef

@Miaoxiang-philips
Copy link

Hi @jomeier , Can you try it like this?

mount /home
cp myfile /home/myname
umount /home

@jomeier
Copy link
Author

jomeier commented Sep 28, 2024

Hi @jomeier , Can you try it like this?

mount /home
cp myfile /home/myname
umount /home

Will scripts in custom/files automatically be started during the combustion phase?

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

No branches or pull requests

2 participants