16 Commits

Author SHA1 Message Date
tomita 22ed4822a8 initrdscripts-secure-core: remove /sys and /proc from package
The following failure is shown during secure-core-image-initramfs:do_rootfs():

Error: Transaction check error: file /proc conflicts between attempted installs of initrdscripts-secure-core-1.0-r0.corei7_64 and base-files-3.0.14-r89.intel_x86_64 file /sys conflicts between attempted installs of initrdscripts-secure-core-1.0-r0.corei7_64 and base-files-3.0.14-r89.intel_x86_64

So remove /sys and /proc as base-files has already provided them.

Signed-off-by: tomita <tomita@cyberdefense.jp>
2021-11-22 17:19:37 +08:00
Tom Rini 15a25c9a4a initrdscripts-secure-core: Provide all directories init requires
Our "init" script requires additional directories to exist and since we
don't pull in something like base-files that gives us a full layout we
must make these additional directories on our own.

Signed-off-by: Tom Rini <trini@konsulko.com>
2018-04-27 10:37:13 +08:00
Wenzong Fan 6dff36ef09 Install packages if distro flag set (#21)
* install 'packagegroup-tpm2-initramfs' of distro flag 'tpm2' is set
* install 'initrdscripts-ima' if distro flag 'ima' is set
* install 'cryptfs-tpm2-initramfs' if distro flag 'luks' is set

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2017-09-25 03:25:27 -04:00
Jia Zhang b69537380c meta-secure-core: clean up ${COREBASE}/LICENSE and ${COREBASE}/meta/COPYING.MIT
${COREBASE}/LICENSE is not a valid license file. So it is recommended
to use '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in
LIC_FILES_CHKSUM. This will become an error in the future.

Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
2017-09-02 11:11:44 +08:00
Lans Zhang 0951a620b5 init: don't explicitly set the LUKS partition name
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-08-09 10:54:48 +08:00
Lans Zhang c82c3c56e8 initrdscripts-secure-core: install udevd and udevadm provided by either eudev or udev
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-26 22:51:08 +08:00
Lans Zhang 4eaaa557ff initrdscripts-secure-core: don't install sysvinit
/sbin/init should be covered by rootfs not here.

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-26 22:40:48 +08:00
Lans Zhang b9f73cac16 initrdscripts-secure-core: add RRECOMMENDS
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-11 12:50:32 +08:00
Lans Zhang 6882f39224 init: don't need to create /proc /sys and /run
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-05 10:53:18 +08:00
Lans Zhang 6ace7c99ba init: clean up
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-04 17:22:12 +08:00
Lans Zhang 55492bcc10 initrdscripts-secure-core: clean up RDEPENDS
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-04 17:17:56 +08:00
Lans Zhang 71da40089f initrdscripts-secure-core: renamed from initramfs-secure-core
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-04 17:15:30 +08:00
Lans Zhang d9b358b374 initramfs-secure-core: clean up /init script
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-04 12:04:41 +08:00
Lans Zhang 3816bb03fd init: clean up code style
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-03 15:48:25 +08:00
Lans Zhang a93993cdc9 initramfs-secure-core: fix missing the license file
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-03 10:07:38 +08:00
Lans Zhang c3f89c1931 initramfs-secure-core: define the /init script for the initramfs image
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-03 09:22:42 +08:00