Replies: 3 comments 3 replies
-
My apologies I gave an outdated mkosi.conf file attached are the updated mkosi.conf, postinst script, and a debug file that has the output of mkosi --force --debug. I initially wanted to try using snap inside the image, so I use the chroot extension. Realizing I didn't have network acces, i removed the chroot extension and tried running in the host. mkosi.conf
mkosi.postinst
|
Beta Was this translation helpful? Give feedback.
-
File of debug text without the chroot extension |
Beta Was this translation helpful? Give feedback.
-
@chmjlg Use |
Beta Was this translation helpful? Give feedback.
-
mkosi commit the issue has been seen with
029cf06
Used host distribution
Ubuntu 24.04
Used target distribution
Ubuntu 22.04
Linux kernel version used
6.8.40-generic
Question
I'd like to have a few snap packages installed in my Ubuntu 22.04 image. I attempted using a mkosi.prepare and mkosi.postinst script to list out the snap packages I'd like to download (yq, and helm) but was unable to download them using snap. I wonder if these scripts are the correct locations to have the packages installed in the generated image.
Used mkosi config
Beta Was this translation helpful? Give feedback.
All reactions