Skip to content

Commit 80c18d0

Browse files
committed
debos: rootfs: Fix missing kernel deps
Kernels built with deb-pkg lack dependencies on an initramfs generator and other standard dependencies that Debian kernels have. Signed-off-by: Loïc Minier <[email protected]>
1 parent 26a685b commit 80c18d0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

debos-recipes/qualcomm-linux-debian-rootfs.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,19 @@ actions:
184184
update-locale LANG=en_US.UTF-8
185185
fi
186186
187+
# usually these packages are pulled by Pre-Depends/Depends/Recommends of
188+
# Debian's linux-image, but kernel packages generated with the upstream
189+
# deb-pkg target don't have these dependencies, so install these before
190+
# installing kernels; this is a separate step because of the Pre-Depends
191+
- action: apt
192+
description: Install kernel dependencies
193+
recommends: true
194+
packages:
195+
- apparmor
196+
- initramfs-tools
197+
- kmod
198+
- linux-base
199+
187200
- action: apt
188201
description: Install kernel and firmware packages
189202
recommends: true

0 commit comments

Comments
 (0)