-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support to create ubuntu OS #6
base: master
Are you sure you want to change the base?
Conversation
Running following command to create ubuntu ostree: './deb-ostree-builder -a amd64 -p ubuntu focal --no-checkout -f' Signed-off-by: Jianlin Lv <[email protected]>
Hey Jianliv, First of all, I think the work you have done here to make the image builder create an image with Ubuntu and ostree is exactly what I need. I tried to run your repository that supports Ubuntu with the command OUTPUT:
|
hi, @KevyVo Please create /etc/deb-ostree-builder directory in host firstly, |
Hmm, it seems like I am still getting errors after creating the folder (/etc/deb-ostree-builder) you mention. Any ideas?
|
Could you paste more log info? |
This is the entire log message, I have put it in the txt file. It to long to paste here. If you see echo "TOMMY", it was my own echo to see more information so ignore that. Please let me know if you can help. |
I have not encountered such issue, May be the lack of Python on host.
You can install the following tools before building ostree (some tools are redundant)
|
Hey @Jianlin-lv, It looks like the build finish. Do you know where I can see the output of the ubuntu ostree?
|
Since you're not publishing it anywhere, I think it's in the temporary repo in |
@KevyVo Nicholson is right, the OSTree repo location is |
Hey @dbnicholson @Jianlin-lv , Thank you for all your help so far, I've made a lot of progress. I've now been able to use the deb-ostree-builder to create a commit of ubuntu OS managed by ostree. For my next steps, I am trying to use the create-deployment script to write this commit to some disk image, however, I'm running into a block:
Questions:Could someone clarify what the script is trying to do with the remote ref? Is it possible to build this image without sending it to a remote ostree repo? How do you host a remote ostree repo? There is not much documentation on this, therefore I am quite lost on how to do this. Any clarity on how we can leverage this script to write the ostree managed ubuntu OS to a disk image, would be appreciated. |
I was able to fix this problem by linking python3 to python since it was trying to reference it.
|
Running following command to create ubuntu ostree:
'./deb-ostree-builder -a amd64 -p ubuntu focal --no-checkout -f'
Signed-off-by: Jianlin Lv [email protected]