mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
make sure we depend on fakeroot existing #366 by pnoffke
This commit is contained in:
parent
3ed6fb0af3
commit
f46ae35ac3
@ -38,12 +38,14 @@ JFFS2_TARGET := $(subst ",,$(BR2_TARGET_ROOTFS_JFFS2_OUTPUT))
|
|||||||
# value of MKFS_JFFS2 to either the previously installed copy or the one
|
# value of MKFS_JFFS2 to either the previously installed copy or the one
|
||||||
# just built.
|
# just built.
|
||||||
#
|
#
|
||||||
$(JFFS2_TARGET): mtd-host
|
$(JFFS2_TARGET): host-fakeroot mtd-host
|
||||||
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
|
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true;
|
||||||
@rm -rf $(TARGET_DIR)/usr/man
|
@rm -rf $(TARGET_DIR)/usr/man
|
||||||
@rm -rf $(TARGET_DIR)/usr/share/man
|
@rm -rf $(TARGET_DIR)/usr/share/man
|
||||||
@rm -rf $(TARGET_DIR)/usr/info
|
@rm -rf $(TARGET_DIR)/usr/info
|
||||||
/sbin/ldconfig -r $(TARGET_DIR)
|
test -e "$(TARGET_DIR)/etc/ld.so.conf" \
|
||||||
|
&& /sbin/ldconfig -r $(TARGET_DIR) \
|
||||||
|
|| true
|
||||||
# Use fakeroot to pretend all target binaries are owned by root
|
# Use fakeroot to pretend all target binaries are owned by root
|
||||||
$(STAGING_DIR)/usr/bin/fakeroot \
|
$(STAGING_DIR)/usr/bin/fakeroot \
|
||||||
-i $(STAGING_DIR)/fakeroot.env \
|
-i $(STAGING_DIR)/fakeroot.env \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user