IMAGE: manage exception for local partitions (bootfs, userfs, vendorfs)
Signed-off-by: Priouzeau Christophe <christophe.priouzeau@st.com>
This commit is contained in:
parent
82fedb1d9e
commit
2ea5422f29
|
|
@ -53,6 +53,10 @@ IMAGE_PREPROCESS_COMMAND_remove = "prelink_image;"
|
||||||
|
|
||||||
IMAGE_PREPROCESS_COMMAND_append = "reformat_rootfs;"
|
IMAGE_PREPROCESS_COMMAND_append = "reformat_rootfs;"
|
||||||
|
|
||||||
|
# remove specific systemd task
|
||||||
|
IMAGE_PREPROCESS_COMMAND_remove = "systemd-systemctl-native;"
|
||||||
|
IMAGE_PREPROCESS_COMMAND_remove = "systemd_preset_all;"
|
||||||
|
|
||||||
# Cleanup rootfs newly created
|
# Cleanup rootfs newly created
|
||||||
reformat_rootfs() {
|
reformat_rootfs() {
|
||||||
if [ -d ${IMAGE_ROOTFS}${IMAGE_PARTITION_MOUNTPOINT} ]; then
|
if [ -d ${IMAGE_ROOTFS}${IMAGE_PARTITION_MOUNTPOINT} ]; then
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,11 @@ PACKAGE_INSTALL += " \
|
||||||
linux-examples-stm32mp1-userfs \
|
linux-examples-stm32mp1-userfs \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
# Add demo application described on specific packagegroup
|
||||||
|
PACKAGE_INSTALL += " \
|
||||||
|
packagegroup-st-demo \
|
||||||
|
"
|
||||||
|
|
||||||
# Reset LDCONFIG to avoid runing ldconfig on image.
|
# Reset LDCONFIG to avoid runing ldconfig on image.
|
||||||
LDCONFIGDEPEND = ""
|
LDCONFIGDEPEND = ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,11 @@ IMAGE_PREPROCESS_COMMAND_remove = "prelink_image;"
|
||||||
|
|
||||||
IMAGE_PREPROCESS_COMMAND_append = "reformat_rootfs;"
|
IMAGE_PREPROCESS_COMMAND_append = "reformat_rootfs;"
|
||||||
|
|
||||||
|
# remove specific systemd task
|
||||||
|
IMAGE_PREPROCESS_COMMAND_remove = "systemd-systemctl-native;"
|
||||||
|
IMAGE_PREPROCESS_COMMAND_remove = "systemd_preset_all;"
|
||||||
|
|
||||||
|
|
||||||
# Cleanup rootfs newly created
|
# Cleanup rootfs newly created
|
||||||
reformat_rootfs() {
|
reformat_rootfs() {
|
||||||
if [ -d ${IMAGE_ROOTFS}${IMAGE_PARTITION_MOUNTPOINT} ]; then
|
if [ -d ${IMAGE_ROOTFS}${IMAGE_PARTITION_MOUNTPOINT} ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue