如何在没有用户交互的情况下运行snapcraft clean?

时间:2020-07-01 18:34:39

标签: jenkins continuous-integration ubuntu-20.04 snapcraft

尝试在Jenkins CI上运行snapcraft时遇到多个烦人的问题。

今天看来snapcraft clean停了下来,问我这个问题:

Found kernel: /boot/vmlinuz-4.15.0-1067-kvm
A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified.

  1. install the package maintainer's version    4. show a side-by-side difference between the versions         7. start a new shell to examine the situation
  2. keep the local version currently installed  5. show a 3-way difference between available versions
  3. show the differences between the versions   6. do a 3-way merge between available versions (experimental)
What would you like to do about menu.lst?

这当然在CI中非常糟糕。对于每个存储库克隆,似乎所有这些事情又都以某种方式再次发生。

如何保证snapcraft clean在没有用户交互的情况下运行?

0 个答案:

没有答案