[PATCH v3 0/3] fakeroot dwimery for deb-pkg target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

As Michal noticed, the tar*-pkg and *rpm-pkg targets can work fine
without being able to write files owned by root.  Only deb-pkg needs
to learn to acquire faked root privileges.  Here is an updated series
reflecting this.

This version no longer documents the KBUILD_PKG_ROOTCMD variable in
"make help" output.  If make already has root privileges or fakeroot
is installed, then the target will just work without any need for the
user to worry about this.  If not, instead of waiting from an error
from chmod, it seemed better to give an error right away with advice
to set KBUILD_PKG_ROOTCMD appropriately.

Since the scope of the variable’s applicability somewhat, I have not
carried over any acks.  But I am hoping you will still like the
patches. :)

Jonathan Nieder (2):
  scripts/package: add KBUILD_PKG_ROOTCMD variable
  scripts/package: deb-pkg: use fakeroot if available

Michal Marek (1):
  scripts/package: tar-pkg: use tar --owner=root

 scripts/package/Makefile |   20 +++++++++++++++++++-
 scripts/package/buildtar |    6 +++++-
 2 files changed, 24 insertions(+), 2 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux