xbps-src: require sudo to build packages.
The reason is that fakeroot can't read files that have restrictive perms and you'd have to change them before the src installation, and restoring them at binpkg pre-installation. I prefer to avoid all this and build the pkg with appropiate perms. --HG-- extra : convert_revision : 8a5086049ab575962913eda0cb2ace0c211b97f1
This commit is contained in:
@@ -76,7 +76,7 @@ To install binary packages, firstly a repository must be created as well as
|
||||
some binary packages for it. The flow for this task is:
|
||||
|
||||
1- xbps-src install <package>
|
||||
2- xbps-src build-pkg all
|
||||
2- xbps-src build-pkg all [requires sudo access]
|
||||
3- xbps-src genindex
|
||||
4- xbps-repo add $XBPS_PACKAGES
|
||||
5- xbps-bin install -r /rootdir <package>
|
||||
|
||||
@@ -43,6 +43,7 @@ xbps binary/source packages:
|
||||
* wget
|
||||
* libarchive (development package)
|
||||
* perl
|
||||
* sudo
|
||||
|
||||
Super-user privileges are required as well, because all packages are built
|
||||
in a chroot (except the ones that are included in a virtual package to be
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
REQUIREMENTS
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
To be able to build packages the following software is required:
|
||||
To be able to build packages from source the following software is required
|
||||
in the host system:
|
||||
|
||||
* GNU Binutils
|
||||
* GNU Bison
|
||||
@@ -20,8 +21,6 @@ Super-user privileges are required as well, because all packages are built
|
||||
in a chroot (except the ones that are included in a virtual package to be
|
||||
able to build a minimal system for the chroot).
|
||||
|
||||
PLEASE NOTE THAT fakechroot or fakeroot-ng DO NOT WORK.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
HOW TO BUILD/HANDLE PACKAGES FROM SOURCE
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user