Part Number: AM4379
Tool/software: Linux
Hello,
I am trying to remove systemd and run sysvinit so that I can use psplash for my boot screen. I found this patch that implied it was possible...
www.mail-archive.com/.../msg07395.html
I have a layer that looks like this...
meta-mine/
├── conf
│ └── layer.conf
├── mine-config.txt
├── recipes-core
│ ├── images
│ │ └── mine.bb
│ └── psplash
│ ├── psplash
│ │ └── psplash-poky-img.h
│ └── psplash_git.bbappend
└── recipes-kernel
└── linux
├── files
│ └── logo.cfg
└── linux-ti-staging_%.bbappend
Inside meta-mine/mine-config.txt you can see what environment gets used for the build...
# This file takes repo entries in the format
# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
bitbake,git://git.openembedded.org/bitbake,1.30,HEAD,layers=
meta-arago,git://arago-project.org/git/meta-arago.git,krogoth,HEAD,layers=meta-arago-distro:meta-arago-extras
meta-qt5,git://github.com/meta-qt5/meta-qt5.git,krogoth,HEAD,layers=
meta-openembedded,git://git.openembedded.org/meta-openembedded,krogoth,HEAD,layers=meta-networking:meta-ruby:meta-python:meta-oe
meta-ti,git://git.yoctoproject.org/meta-ti,krogoth,HEAD,layers=
meta-linaro,git://git.linaro.org/openembedded/meta-linaro.git,krogoth,HEAD,layers=meta-linaro-toolchain:meta-optee
oe-core,git://git.openembedded.org/openembedded-core,krogoth,HEAD,layers=meta
meta-mine,./sources/meta-mine,master,HEAD,layers=
OECORELAYERCONF=./sample-files/bblayers.conf.sample
OECORELOCALCONF=./sample-files/local-arago64.conf.sample
Inside meta-mine/recipes-core/images/mine.bb I attempt to implement what the patch implemented...
# Mine Image - Starts with tisdk-rootfs-image, removes stuff we don't need,
# adds stuff we do need, then changes the name to mine
# building from meta-arago-distro
require recipes-core/images/tisdk-rootfs-image.bb
# remove systemd, it's not integrated with psplash
DISTRO_FEATURES_remove = "systemd"
VIRTUAL-RUNTIME_dev_manager = "udev"
VIRTUAL-RUNTIME_init_manager = "sysvinit"
VIRTUAL-RUNTIME_initscripts = "initscripts"
# add stuff as required
IMAGE_INSTALL += "psplash"
# overwrite the the name to mine
export IMAGE_BASENAME = "mine"
It all built fine, but when I boot it up, it's still running systemd. :(
Is the systemd feature removal too late in the build?
Do I need to hack arago.conf as the patch did? I was trying to not modify other peoples repos.
Thanks,
Nathan