10 Commits

Author SHA1 Message Date
Yi Zhao d0a0285971 kernel-initramfs: fix typo for ALTERNATIVE
ALTERNATIVES_${PN} -> ALTERNATIVE:${PN}

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2022-07-02 17:45:13 +08:00
Yi Zhao 4042043742 meta-secure-core: Convert to new override syntax
Converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2021-08-09 18:51:13 +08:00
Hongxu Jia 8fc7d850d7 kernel-initramfs: depends on do_image_complete rather than do_rootfs
...
|install: cannot stat 'tmp-glibc/deploy/images/intel-x86-64/secure-core-image-init
ramfs-intel-x86-64.cpio.gz': No such file or directory
...

Depends do_image_complete after required image generated

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-05-24 09:18:59 +08:00
Yi Zhao deed416dd8 kernel-initramfs: fix inconsistent indentation
Use spaces consistently to indent do_install()

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2018-11-30 13:46:35 +08:00
Yi Zhao 13fcb2ff56 kernel-initramfs: rename INITRAMFS_BASE_NAME to INITRAMFS_NAME
The *_BASE_NAME was renamed to *_NAME in oe-core commit
f952c8e08b4798aa0f8bf764cfd70bda0eae9b8b. So we also need to do the same
thing here.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2018-09-18 11:11:12 +08:00
Tom Rini 4d27285e28 kernel-initramfs: Rework to use update-alternatives directly
- All valid initramfs types will be listed in INITRAMFS_FSTYPES so use
  that variable rather than open-coding a list of possibilities.
- Since we're using the list of things that must exist now we don't need
  to test if the files exist anymore.  And when signing, we can sign all
  of them now.
- Add some python to do_package to update all of the ALTERNATIVES
  variables dynamically based on how we're configured.  This introduces
  an alternative for the initramfs portion as well so there is a stable
  name.

Signed-off-by: Tom Rini <trini@konsulko.com>
2018-05-06 18:59:55 +08:00
Jackie Huang af05e4860f kernel-initramfs: use oe.utils.read_file
base_read_file has been removed from oe-core so use the
replacement function oe.utils.read_file.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2018-02-07 14:56:59 +08:00
fli 8206812e75 kernel-initramfs: fix the issue rm kernel source codes (#18)
The "${S}" is not used for kernel-initramfs and it will
cleanup the kernel source codes if it is specified to
${STAGING_KERNEL_DIR}, thus remove this definition.

Signed-off-by: Fupan Li <fupan.li@windriver.com>
2017-09-25 03:24:03 -04:00
Lans Zhang 59c66fed7a kernel-initramfs: set the default priority to -1
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-08-03 14:38:11 +08:00
Lans Zhang 5135786fa3 kernel-initramfs: define this package to include the initramfs image for kernel boot
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-03 09:21:44 +08:00