工具/软件:Linux
您好!
我正在尝试删除 systemd 并运行 sysvinit,以便我可以为引导屏幕使用闪屏。 我找到了这个修补程序、它暗示了它是可能的...
www.mail-archive.com/.../msg07395.html
我有一个看起来像这样的层...
元矿/
├──配置
│ └──lay.conf
├──mine-config.txt
├──食谱核心
│ ├──图像
│ │ └──mine.bb
│ └──闪屏
│ ├──闪屏
│ │ └──psplash-poky-img.h
│ └──psplash_git.bbappend
└──方案-内核
└──Linux
μ├──文件
│ └──logo.cfg
└──linux-ti-staging _%.bbappend
在 meta-min/mine-config.txt 中、您可以看到构建使用了什么环境...
#此文件采用格式的 repo 条目
# repo name、repo uri、repo branch、repo commit[、layers=layer1:layer2...:LayerN]
bitbake、git://git.openembedded.org/bitbake、1.30、head、图层=
meta-arago、git://arago-project.org/git/meta-arago.git、krogoth、head、stitels=meta-arago-distro:meta-arago-extras
meta-qt5、git://github.com/meta-qt5/meta-qt5.git、krogoth、head、图层=
meta-openembedded,git://git.openembedded.org/meta-openembedded、krogoth、head、图层=meta-networking:meta-ruby:meta-python:meta-OE
meta-ti、git://git.yoctoproject.org/meta-ti、krogoth、head、图层=
meta-linaro、git://git.linaro.org/openembedded/meta-linaro.git、krogoth、head、lages=meta-linaro-toolchain:meta-optee
OE 内核、git://git.openembedded.org/openembedded-core、krogoth、head、图层=meta
meta-mine、/sources/meta-mine、master、head、图层=
OECORELAYERCONF=./sample-files/bblayers.conf.sample
OECORELOCALCONF=./sample-files/local-arago64.conf.sample
在 meta-min/metice-core/images/min.bb 内部、我尝试实施修补程序实施的内容...
# Mine Image -以 tisdk-rootfs-image 开头、删除我们不需要的内容、
#添加我们需要的内容、然后将名称更改为我的名称
#从 meta-Arago-distro 构建
需要方法-核心/图像/tisdk-rootfs-imagebb
#删除 systemd,它未与闪屏集成
DISTRO 特性_REMOVE ="systemd"
虚拟运行时_dev_manager ="udev "
virtual-Runtime_init_manager ="sysvinit"
virtual-Runtime_initscripts ="initscripts"
#根据需要添加内容
image_install +="闪屏"
#覆盖我的名称
导出 IMAGE_BASENAME ="我的"
一切都很好、但当我启动它时、它仍在运行 systemd。 :(
在构建中删除 systemd 功能是否太晚?
我是否需要像修补程序那样 Hack Arago.conf? 我试图不改变其他人的错误。
谢谢、
Nathan