Skip to content

Commit

Permalink
Document -f switch
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Linderud <[email protected]>
  • Loading branch information
Foxboron committed Jun 13, 2020
1 parent 086c8e6 commit 4831104
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/repro.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Options
`DIFFOSCOPE` can be set in linkman:repro.conf[5] to change the
diffoscope command.

*-f*::
When enabled, `repro` check for a PKGBUILD file in the current working
directory. This one is used to build the package instead of checking out
a PKGBUILD from asp.

See Also
--------
linkman:makepkg[8]
2 changes: 1 addition & 1 deletion repro.in
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ install -d -o builduser -g builduser /pkgdest
install -d -o builduser -g builduser /srcpkgdest
install -d -o builduser -g builduser /build
__END__
exec_nspawn "$build" $args sudo -iu builduser bash -c ". /etc/profile; cd /startdir; SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH makepkg -sc --noconfirm --skippgpcheck $cmds"
exec_nspawn "$build" $args setsid -f -c -w sudo -iu builduser bash -c ". /etc/profile; cd /startdir; SOURCE_DATE_EPOCH=$SOURCE_DATE_EPOCH makepkg -sc --noconfirm --skippgpcheck $cmds"
mkdir -p "./build"
for pkgfile in "$BUILDDIRECTORY/$build"/pkgdest/*; do
mv "$pkgfile" "./build/"
Expand Down

0 comments on commit 4831104

Please sign in to comment.