summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2017-07-06 15:35:43 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-06 16:24:29 -0700
commit595a22acee264b5b710897993f3736f57d89bc41 (patch)
tree9938c7cd24c6e1d1ef23b1732ffc8e2701b77246 /usr
parent3922920026c0242d752e62a3c88b758715c5c42f (diff)
downloadlinux-rpi3-595a22acee264b5b710897993f3736f57d89bc41.tar.gz
linux-rpi3-595a22acee264b5b710897993f3736f57d89bc41.tar.bz2
linux-rpi3-595a22acee264b5b710897993f3736f57d89bc41.zip
scripts/gen_initramfs_list.sh: teach INITRAMFS_ROOT_UID and INITRAMFS_ROOT_GID that -1 means "current user".
Teach INITRAMFS_ROOT_UID and INITRAMFS_ROOT_GID that -1 means "current user". Link: http://lkml.kernel.org/r/2df3a9fb-4378-fa16-679d-99e788926c05@landley.net Signed-off-by: Rob Landley <rob@landley.net> Cc: Michal Marek <mmarek@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'usr')
-rw-r--r--usr/Kconfig12
1 files changed, 4 insertions, 8 deletions
diff --git a/usr/Kconfig b/usr/Kconfig
index ad0543e21760..1edb2e936559 100644
--- a/usr/Kconfig
+++ b/usr/Kconfig
@@ -36,10 +36,8 @@ config INITRAMFS_ROOT_UID
depends on INITRAMFS_SOURCE!=""
default "0"
help
- This setting is only meaningful if the INITRAMFS_SOURCE is
- contains a directory. Setting this user ID (UID) to something
- other than "0" will cause all files owned by that UID to be
- owned by user root in the initial ramdisk image.
+ If INITRAMFS_SOURCE points to a directory, files owned by this UID
+ (-1 = current user) will be owned by root in the resulting image.
If you are not sure, leave it set to "0".
@@ -48,10 +46,8 @@ config INITRAMFS_ROOT_GID
depends on INITRAMFS_SOURCE!=""
default "0"
help
- This setting is only meaningful if the INITRAMFS_SOURCE is
- contains a directory. Setting this group ID (GID) to something
- other than "0" will cause all files owned by that GID to be
- owned by group root in the initial ramdisk image.
+ If INITRAMFS_SOURCE points to a directory, files owned by this GID
+ (-1 = current group) will be owned by root in the resulting image.
If you are not sure, leave it set to "0".