mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-25 20:26:34 +00:00
fs/initramfs: fix initramfs support
On commit a24877586a566e052897e50e6a0c2f53cfb029f TARGETS_ROOTFS was introduced, however fs/initramfs/initramfs.mk was never updated, hence a show-targets would be rootfs-initramfs with rootfs-cpio afterwards hence never rebuilding the kernel with a proper cpio archive since TARGETS is always before rootfs-* as stated in the commit description. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e4644b611c
commit
cfd1f70a10
@ -18,5 +18,5 @@ rootfs-initramfs-show-depends:
|
|||||||
@echo $(ROOTFS_INITRAMFS_DEPENDENCIES)
|
@echo $(ROOTFS_INITRAMFS_DEPENDENCIES)
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y)
|
||||||
TARGETS += rootfs-initramfs
|
TARGETS_ROOTFS += rootfs-initramfs
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user