Skip to content

Commit

Permalink
Fix for issue #285. Change ownership of files in initramfs to be root…
Browse files Browse the repository at this point in the history
…/root for sgs2
  • Loading branch information
dhylands committed Apr 26, 2012
1 parent c974938 commit 8438826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))" \
Expand Down

0 comments on commit 8438826

Please sign in to comment.