File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -76,12 +76,18 @@ actions:
7676 chroot : true
7777 command : |
7878 set -eux
79+ # Fixes error when running outside qemu
80+ dpkg-divert --local --rename --add /etc/kernel/postinst.d/u-boot-efi-dtb
81+ ln -s /bin/true /etc/kernel/postinst.d/u-boot-efi-dtb
7982 # u-boot-efi-dtb installs a kernel hook that will trigger on kernel
8083 # installation/upgrade, but also calls it explicitely in its postinst in
8184 # case it was installed after the kernel; it requires an ESP partition to
8285 # copy the DTBs though, so install it after the ESP partition is
8386 # available
8487 apt -y install u-boot-efi-dtb
88+ # Removing previous diversion and symlink
89+ rm /etc/kernel/postinst.d/u-boot-efi-dtb
90+ dpkg-divert --rename --remove /etc/kernel/postinst.d/u-boot-efi-dtb
8591 # when building under debos, /sys/firmware/efi is not always present, so
8692 # the u-boot-efi-dtb postinst doesn't install an initial copy of the
8793 # DTBs; do this once here
You can’t perform that action at this time.
0 commit comments