mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
target: remove BR2_TARGET_ROOTFS_*_SQUASH options
Everything besides ubifs does an unconditional chown -R 0:0 anyway.
This commit is contained in:
parent
5b8c84e717
commit
3b4a5f59e1
@ -113,10 +113,6 @@ config BR2_TARGET_ROOTFS_JFFS2_BE
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_JFFS2_SQUASH
|
|
||||||
bool "Make all files be owned by root"
|
|
||||||
depends on BR2_TARGET_ROOTFS_JFFS2
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
|
config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
|
||||||
bool "Produce a summarized JFFS2 image"
|
bool "Produce a summarized JFFS2 image"
|
||||||
depends on BR2_TARGET_ROOTFS_JFFS2
|
depends on BR2_TARGET_ROOTFS_JFFS2
|
||||||
|
@ -16,10 +16,6 @@ endif
|
|||||||
SUMTOOL_OPTS += -p
|
SUMTOOL_OPTS += -p
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_SQUASH),y)
|
|
||||||
JFFS2_OPTS += -q
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
|
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_LE),y)
|
||||||
JFFS2_OPTS += -l
|
JFFS2_OPTS += -l
|
||||||
SUMTOOL_OPTS += -l
|
SUMTOOL_OPTS += -l
|
||||||
|
@ -23,11 +23,6 @@ config BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT
|
|||||||
help
|
help
|
||||||
Some comment required here
|
Some comment required here
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_SQUASH
|
|
||||||
bool "Make all files be owned by root"
|
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
|
||||||
default y
|
|
||||||
|
|
||||||
config BR2_TARGET_ROOTFS_UBIFS_OUTPUT
|
config BR2_TARGET_ROOTFS_UBIFS_OUTPUT
|
||||||
string "Output File"
|
string "Output File"
|
||||||
depends on BR2_TARGET_ROOTFS_UBIFS
|
depends on BR2_TARGET_ROOTFS_UBIFS
|
||||||
|
@ -93,9 +93,7 @@ endif
|
|||||||
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
rm -f $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
||||||
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
touch $(PROJECT_BUILD_DIR)/.fakeroot.00000
|
||||||
cat $(PROJECT_BUILD_DIR)/.fakeroot* > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
cat $(PROJECT_BUILD_DIR)/.fakeroot* > $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
||||||
ifneq ($(BR2_TARGET_ROOTFS_UBIFS_SQUASH),)
|
|
||||||
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
echo "chown -R 0:0 $(TARGET_DIR)" >> $(PROJECT_BUILD_DIR)/_fakeroot.$(notdir $(UBIFS_TARGET))
|
||||||
endif
|
|
||||||
ifneq ($(TARGET_DEVICE_TABLE),)
|
ifneq ($(TARGET_DEVICE_TABLE),)
|
||||||
# Use fakeroot to pretend to create all needed device nodes
|
# Use fakeroot to pretend to create all needed device nodes
|
||||||
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
echo "$(HOST_DIR)/usr/bin/makedevs -d $(TARGET_DEVICE_TABLE) $(TARGET_DIR)" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user