Skip to content

Commit

Permalink
quickstart: Fix kernel initramfs configuration
Browse files Browse the repository at this point in the history
ROOT_UID and ROOT_GID were being asked on build, by setting them with --set-val
this becomes automatic
  • Loading branch information
kbingham committed Feb 16, 2016
1 parent 0ea1dcc commit 65cc5a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,10 @@ kernel()
make $CFLAGS stm32_defconfig
yes "" | make $CFLAGS oldconfig
./scripts/config --file $KERNELBUILDDIR/.config \
--set-str INITRAMFS_ROOT_UID 0 \
--enable BLK_DEV_INITRD \
--set-str INITRAMFS_SOURCE $CPIO_FILE \
--set-val INITRAMFS_ROOT_UID 0 \
--set-val INITRAMFS_ROOT_GID 0 \
--enable RD_GZIP \
--enable INITRAMFS_COMPRESSION_GZIP
make $CFLAGS
Expand Down

0 comments on commit 65cc5a3

Please sign in to comment.