diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2020-07-07 08:36:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-07 08:36:17 +0200 |
commit | 254c1f3d2f0482864b3402b25788819cb6bb3858 (patch) | |
tree | e2e1b1f372d186b9a1d97d06e4e63da26e57e028 /recipes-sota/ostree-kernel-initramfs | |
parent | 2aead3b5403d747e12cb642ff8684bbd81f0df43 (diff) | |
parent | 1d358ad5344aa40f648f4f5604e2e70848012741 (diff) | |
download | meta-updater-254c1f3d2f0482864b3402b25788819cb6bb3858.tar.gz |
Merge pull request #745 from antznin/fix-dtb-deployment
ostree-kernel-initramfs: fix devicetree deployment
Diffstat (limited to 'recipes-sota/ostree-kernel-initramfs')
-rw-r--r-- | recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb b/recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb index 6159f00..136bb22 100644 --- a/recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb +++ b/recipes-sota/ostree-kernel-initramfs/ostree-kernel-initramfs_0.0.1.bb | |||
@@ -14,7 +14,9 @@ ALLOW_EMPTY_ostree-devicetrees = "1" | |||
14 | 14 | ||
15 | FILES_ostree-kernel = "${nonarch_base_libdir}/modules/*/vmlinuz" | 15 | FILES_ostree-kernel = "${nonarch_base_libdir}/modules/*/vmlinuz" |
16 | FILES_ostree-initramfs = "${nonarch_base_libdir}/modules/*/initramfs.img" | 16 | FILES_ostree-initramfs = "${nonarch_base_libdir}/modules/*/initramfs.img" |
17 | FILES_ostree-devicetrees = "${nonarch_base_libdir}/modules/*/dtb/*" | 17 | FILES_ostree-devicetrees = "${nonarch_base_libdir}/modules/*/dtb/* \ |
18 | ${nonarch_base_libdir}/modules/*/devicetree \ | ||
19 | " | ||
18 | 20 | ||
19 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
20 | 22 | ||
@@ -45,6 +47,7 @@ do_install() { | |||
45 | dts_file_basename=$(basename $dts_file) | 47 | dts_file_basename=$(basename $dts_file) |
46 | cp ${DEPLOY_DIR_IMAGE}/$dts_file_basename $kerneldir/dtb/$dts_file_basename | 48 | cp ${DEPLOY_DIR_IMAGE}/$dts_file_basename $kerneldir/dtb/$dts_file_basename |
47 | done | 49 | done |
50 | cp $kerneldir/dtb/$(basename $(echo ${OSTREE_DEVICETREE} | awk '{print $1}')) $kerneldir/devicetree | ||
48 | fi | 51 | fi |
49 | fi | 52 | fi |
50 | } | 53 | } |