Hi all,
I'm reaching out to ask for help with the build of a custom Fedora IoT
image.
Starting from the official kickstart file:
*https://pagure.io/fedora-kickstarts/blob/f33/f/fedora-iot.ks
<
https://pagure.io/fedora-kickstarts/blob/f33/f/fedora-iot.ks>*
I added several actions in the *%post* section to automate the manual
customization process.
All the changes are applied to the final image but one: the installation of
a new package, not included in the standard set.
Specifically, I'm trying to install the *i2c-tools* package.
Following the official guide, tried the followings
- list the package name in the dedicated *%package* section: no effect
- add the command *rpm-ostree install i2c-tools in the* %post section: no
effect.
In both cases, I test the final image on my RPi 3B+ running the command
*i2cdetect -l -a*
with the result
*-bash: i2cdetect: command not found*
Please find attached the files used in the build process.
Could you please provide some guidance?
Thanks a lot in advance,
Andrea