Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for issue #285. Change ownership of files in initramfs to be root…

…/root for sgs2
  • Loading branch information...
commit 843882686995029c39bf08f2150718fafbaf36b8 1 parent c974938
Dave Hylands authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 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))" \
Please sign in to comment.
Something went wrong with that request. Please try again.