mirror of
https://gitlab.archlinux.org/archlinux/devtools.git
synced 2025-09-13 09:56:18 +02:00
Compare commits
7 Commits
fix/clean-
...
02b1e7e3c6
Author | SHA1 | Date | |
---|---|---|---|
![]() |
02b1e7e3c6 | ||
![]() |
40f31f98a3 | ||
![]() |
c6f5d72708 | ||
![]() |
b4a5e5dbd9 | ||
![]() |
4926d9d8c5 | ||
![]() |
7165e0d73e | ||
![]() |
e179df93a8 |
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
||||
SHELL=/bin/bash -o pipefail
|
||||
|
||||
V=1.3.1
|
||||
V=1.3.2
|
||||
BUILDTOOLVER ?= $(V)
|
||||
|
||||
PREFIX = /usr/local
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
# Flags used for the Rust compiler, similar in spirit to CFLAGS. Read
|
||||
# linkman:rustc[1] for more details on the available flags.
|
||||
RUSTFLAGS="-Cforce-frame-pointers=yes"
|
||||
RUSTFLAGS="-C force-frame-pointers=yes"
|
||||
|
||||
# Additional compiler flags appended to `RUSTFLAGS` for use in debugging.
|
||||
# Usually this would include: ``-C debuginfo=2''. Read linkman:rustc[1] for
|
||||
|
@@ -61,7 +61,7 @@ _pkgctl_build_args=(
|
||||
'--update-checksums[Force computation and update of the checksums (disables auto-detection)]'
|
||||
'(-e --edit)'{-e,--edit}'[Edit the PKGBUILD before building]'
|
||||
'(-r --release)'{-r,--release}'[Automatically commit, tag and release after building]'
|
||||
'(-m --message=)'{-m,--message=}"[Use the given <msg> as the commit message]:message:"
|
||||
'(-m --message)'{-m,--message}"[Use the given <msg> as the commit message]:message:"
|
||||
'(-u --db-update)'{-u,--db-update}'[Automatically update the pacman database as last action]'
|
||||
'(-h --help)'{-h,--help}'[Display usage]'
|
||||
'*:git_dir:_files -/'
|
||||
@@ -201,7 +201,7 @@ _pkgctl_issue_view_args=(
|
||||
)
|
||||
|
||||
_pkgctl_release_args=(
|
||||
'(-m --message=)'{-m,--message=}"[Use the given <msg> as the commit message]:message:"
|
||||
'(-m --message)'{-m,--message}"[Use the given <msg> as the commit message]:message:"
|
||||
'(-r --repo)'{-r,--repo}"[Specify a target repository for new packages]:repo:($DEVTOOLS_VALID_REPOS[*])"
|
||||
'(-s --staging)'{-s,--staging}'[Release to the staging counterpart of the auto-detected repo]'
|
||||
'(-t --testing)'{-t,--testing}'[Release to the testing counterpart of the auto-detected repo]'
|
||||
|
@@ -116,9 +116,6 @@ copy_hostconf () {
|
||||
cp "$makepkg_conf" "$working_dir/etc/makepkg.conf"
|
||||
if [[ -d "${makepkg_conf}.d" ]] && is_globfile "${makepkg_conf}.d"/*.conf; then
|
||||
mkdir --parents "$working_dir/etc/makepkg.conf.d/"
|
||||
if is_globfile "$working_dir/etc/makepkg.conf.d"/*.conf; then
|
||||
rm --force "$working_dir/etc/makepkg.conf.d"/*.conf
|
||||
fi
|
||||
cp "${makepkg_conf}.d/"*.conf "$working_dir/etc/makepkg.conf.d/"
|
||||
fi
|
||||
fi
|
||||
|
@@ -297,4 +297,6 @@ if [[ ${#uploads[*]} -gt 0 ]]; then
|
||||
unset new_uploads
|
||||
msg 'Uploading all package and signature files'
|
||||
rsync "${rsyncopts[@]}" "${uploads[@]}" "$server:staging/$repo/" || die
|
||||
else
|
||||
die 'No package to upload'
|
||||
fi
|
||||
|
@@ -42,10 +42,10 @@ pkgctl_build_usage() {
|
||||
|
||||
Build packages inside a clean chroot
|
||||
|
||||
When a new pkgver is set using the appropriate PKGBUILD options the
|
||||
checksums are automatically updated.
|
||||
Build packages in clean chroot environment, offering various options
|
||||
and functionalities to customize the package building process.
|
||||
|
||||
TODO
|
||||
By default, chroot environments are located in /var/lib/archbuild/.
|
||||
|
||||
BUILD OPTIONS
|
||||
--arch ARCH Specify architectures to build for (disables auto-detection)
|
||||
|
@@ -18,6 +18,9 @@ export LANG=C.UTF-8
|
||||
# Avoid systemd trying to color the terminal on systemd-nspawn
|
||||
export SYSTEMD_TINT_BACKGROUND=no
|
||||
|
||||
# Avoid diffoscope looking at remote debug info through readelf
|
||||
unset DEBUGINFOD_URLS
|
||||
|
||||
# Set buildtool properties
|
||||
export BUILDTOOL=devtools
|
||||
export BUILDTOOLVER=@buildtoolver@
|
||||
|
Reference in New Issue
Block a user