RPi-Distro / pi-gen

Tool used to create the official Raspberry Pi OS images
BSD 3-Clause "New" or "Revised" License
2.52k stars 1.58k forks source link

When building an image with zfs-dkms and DEBIAN_FRONTEND=noninteractive and still getting confirmation window #758

Closed VeloAddict closed 4 months ago

VeloAddict commented 4 months ago

In stage 2 00-packages I added : zfs-dkms zfsutils-linux. In config I added DEBIAN_FRONTEND=noninteractive Started a build. I was not expecting this:

SCR-20240228-rutw

What can I do to now have to interact with that prompt?

VeloAddict commented 4 months ago

I also tried running this in on_chroot: DEBIAN_FRONTEND=noninteractive apt install zfs-dkms zfsutils-linux

But got the same result.

VeloAddict commented 4 months ago

I figured it out. In 00-debconf I added: zfs-dkms zfs-dkms/note-incompatible-licenses note true

Maybe this will be helpful for others.

XECDesign commented 4 months ago

Thanks for posting the solution for others