kbuild: add support for squashing uid/gid in gen_initramfs_list.sh
authorMike Frysinger <vapier@gentoo.org>
Fri, 11 May 2007 05:44:28 +0000 (22:44 -0700)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 16 Jul 2007 19:15:52 +0000 (21:15 +0200)
commit4c6f2eb979c314b6362e655f3ff15749af565f86
tree0f79c99ccc21aea39f1b8633399df6b8472b46e5
parentf2434ec1e08e44c2568b29c2879b3346aa29dbd2
kbuild: add support for squashing uid/gid in gen_initramfs_list.sh

Sometimes it is useful to squash all uid's/gid's to 0:0 regardless of
current owner.  For example, in build systems that get run as arbitrary
users (uClinux-dist).  This adds a special "squash" keyword so you can do
'-g squash -u squash' and have ownership squashed to root.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/gen_initramfs_list.sh