From 843882686995029c39bf08f2150718fafbaf36b8 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Thu, 26 Apr 2012 14:12:19 -0700 Subject: [PATCH] Fix for issue #285. Change ownership of files in initramfs to be root/root for sgs2 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 97452b70..dde9149b 100644 --- a/Makefile +++ b/Makefile @@ -252,12 +252,12 @@ kernel-galaxy-s2-ics: export CROSS_COMPILE="$(CCACHE) $(abspath $(KERNEL_TOOLCHAIN_PATH))/arm-eabi-" && \ export USE_SEC_FIPS_MODE=true && \ $(MAKE) -C $(KERNEL_PATH) $(MAKE_FLAGS) u1_defconfig && \ - $(MAKE) -C $(KERNEL_PATH) $(MAKE_FLAGS) CROSS_COMPILE="$$CROSS_COMPILE" CONFIG_INITRAMFS_SOURCE="$(PWD)/boot/initramfs" && \ + $(MAKE) -C $(KERNEL_PATH) $(MAKE_FLAGS) CROSS_COMPILE="$$CROSS_COMPILE" CONFIG_INITRAMFS_SOURCE="$(PWD)/boot/initramfs" CONFIG_INITRAMFS_ROOT_UID=squash CONFIG_INITRAMFS_ROOT_GID=squash && \ mkdir -p boot/initramfs/lib/modules && \ find "$(KERNEL_DIR)" -name dhd.ko -o -name j4fs.ko -o -name scsi_wait_scan.ko -o -name Si4709_driver.ko | \ xargs -I MOD cp MOD "$(PWD)/boot/initramfs/lib/modules" && \ chmod -R g-w $(PWD)/boot/initramfs && \ - $(MAKE) -C $(KERNEL_PATH) $(MAKE_FLAGS) CROSS_COMPILE="$$CROSS_COMPILE" CONFIG_INITRAMFS_SOURCE="$(PWD)/boot/initramfs" + $(MAKE) -C $(KERNEL_PATH) $(MAKE_FLAGS) CROSS_COMPILE="$$CROSS_COMPILE" CONFIG_INITRAMFS_SOURCE="$(PWD)/boot/initramfs" CONFIG_INITRAMFS_ROOT_UID=squash CONFIG_INITRAMFS_ROOT_GID=squash kernel-qemu: PATH="$$PATH:$(abspath $(KERNEL_TOOLCHAIN_PATH))" \