summaryrefslogtreecommitdiffstats
path: root/recipes-sota/ostree-kernel-initramfs
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2020-07-07 08:36:17 +0200
committerGitHub <noreply@github.com>2020-07-07 08:36:17 +0200
commit254c1f3d2f0482864b3402b25788819cb6bb3858 (patch)
treee2e1b1f372d186b9a1d97d06e4e63da26e57e028 /recipes-sota/ostree-kernel-initramfs
parent2aead3b5403d747e12cb642ff8684bbd81f0df43 (diff)
parent1d358ad5344aa40f648f4f5604e2e70848012741 (diff)
downloadmeta-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.bb5
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
15FILES_ostree-kernel = "${nonarch_base_libdir}/modules/*/vmlinuz" 15FILES_ostree-kernel = "${nonarch_base_libdir}/modules/*/vmlinuz"
16FILES_ostree-initramfs = "${nonarch_base_libdir}/modules/*/initramfs.img" 16FILES_ostree-initramfs = "${nonarch_base_libdir}/modules/*/initramfs.img"
17FILES_ostree-devicetrees = "${nonarch_base_libdir}/modules/*/dtb/*" 17FILES_ostree-devicetrees = "${nonarch_base_libdir}/modules/*/dtb/* \
18 ${nonarch_base_libdir}/modules/*/devicetree \
19"
18 20
19PACKAGE_ARCH = "${MACHINE_ARCH}" 21PACKAGE_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}