Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debos-recipes/qualcomm-linux-debian-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,18 @@ actions:
chroot: true
command: |
set -eux
# Fixes error when running outside qemu
dpkg-divert --local --rename --add /etc/kernel/postinst.d/u-boot-efi-dtb
ln -s /bin/true /etc/kernel/postinst.d/u-boot-efi-dtb
# u-boot-efi-dtb installs a kernel hook that will trigger on kernel
# installation/upgrade, but also calls it explicitely in its postinst in
# case it was installed after the kernel; it requires an ESP partition to
# copy the DTBs though, so install it after the ESP partition is
# available
apt -y install u-boot-efi-dtb
# Removing previous diversion and symlink
rm /etc/kernel/postinst.d/u-boot-efi-dtb
dpkg-divert --rename --remove /etc/kernel/postinst.d/u-boot-efi-dtb
# when building under debos, /sys/firmware/efi is not always present, so
# the u-boot-efi-dtb postinst doesn't install an initial copy of the
# DTBs; do this once here
Expand Down
Loading