linux/scripts/package
Michal Marek 91d161857c scripts/package: tar-pkg: use tar --owner=root
Use the --owner= and --group= options to make sure the entries in
the built tar file are owned by root.  Without this change, a
careless sysadmin using the tar-pkg target can easily end up
installing a kernel that is writable by the unprivileged user
account used to build the kernel.

Test that these options are understood before using them so that
non-GNU versions of tar can still be used if the operator is
appropriately cautious.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2009-12-12 13:08:15 +01:00
..
builddeb kbuild, deb-pkg: fix install scripts for posix sh 2009-07-17 23:02:57 +02:00
buildtar scripts/package: tar-pkg: use tar --owner=root 2009-12-12 13:08:15 +01:00
Makefile kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set 2009-10-11 23:21:24 +02:00
mkspec kbuild: fix the binrpm-pkg target to work with KBUILD_OUTPUT set 2009-10-11 23:21:24 +02:00