Difference between revisions of "Manjaro-tools"
→build-set -> buildpkg
imported>Aaditya |
imported>Aaditya |
||
Line 81: | Line 81: | ||
{{Note|The set name should be different from a directory name in abs dir. Anything else should work, eg adding a date to the name.}} | {{Note|The set name should be different from a directory name in abs dir. Anything else should work, eg adding a date to the name.}} | ||
== | == buildpkg == | ||
buildpkg is used to build a particular package or a set. The help looks like the following for i686 | |||
$ | $ buildpkg -h | ||
Usage: | Usage: buildpkg [options] [--] [makepkg args] | ||
-p <profile> Set profile or pkg [default: default] | |||
-a <arch> Set arch [default: i686] | |||
-b <branch> Set branch [default: stable] | |||
-r <dir> Chroots directory [default: /srv/manjarobuild] | |||
-c Recreate chroot | |||
-w Clean up | |||
-n Install and run namcap check | |||
-s Sign packages | |||
-q Query settings and pretend build | |||
-h This help | |||
To build a single package, go into the directory which is one above the package build directory (which contains the PKGBUILD), and run it as: | To build a single package, go into the directory which is one above the package build directory (which contains the PKGBUILD), and run it as: | ||
buildpkg -p <package-name> | |||
For example, | For example, | ||
Line 115: | Line 115: | ||
manjaro-openrc openrc-net | manjaro-openrc openrc-net | ||
$ | $ buildpkg -pv upower-pm-utils | ||
==> manjaro-tools version: 0.9. | ==> manjaro-tools | ||
==> | -> version: 0.9.5.6 | ||
-> arch: | -> manjaro_tools_conf: /etc/manjaro-tools/manjaro-tools.conf | ||
-> branch: | ==> OPTIONS: | ||
-> arch: i686 | |||
-> branch: stable | |||
-> chroots: /srv/manjarobuild | -> chroots: /srv/manjarobuild | ||
==> ARGS: | |||
-> mkchrootpkg_args: -r /srv/manjarobuild/stable/i686 | |||
-> makepkg_args: | |||
-> clean_first: false | |||
-> wipe_clean: false | |||
-> namcap: false | |||
-> sign: false | |||
==> PATHS: | ==> PATHS: | ||
-> chrootdir: /srv/manjarobuild/ | -> chrootdir: /srv/manjarobuild/stable/i686 | ||
-> profiledir: /etc/manjaro-tools/sets | -> profiledir: /etc/manjaro-tools/sets | ||
-> | -> pkg_dir: /var/cache/manjaro-tools/stable/i686 | ||
-> pacman_conf: /usr/share/manjaro-tools/pacman-default.conf | -> pacman_conf: /usr/share/manjaro-tools/pacman-default.conf | ||
-> makepkg_conf: /usr/share/manjaro-tools/makepkg- | -> makepkg_conf: /usr/share/manjaro-tools/makepkg-i686.conf | ||
-> mirrors_conf: /usr/share/manjaro-tools/pacman-mirrors-stable.conf | |||
==> BLACKLIST: | |||
-> blacklist_trigger: eudev lib32-eudev upower-pm-utils eudev-systemdcompat lib32-eudev-systemdcompat | |||
-> blacklist: libsystemd | |||
==> SETS: | ==> SETS: | ||
-> profiles: default | -> profiles: default | ||
-> profile: | -> profile: upower-pm-utils | ||
-> is_profile: false | -> is_profile: false | ||
==> | ==> Build queue: | ||
-> | -> upower-pm-utils | ||