pmb.helpers.git.rev_parse: add path argument (!1848)

This commit is contained in:
Oliver Smith 2019-12-24 12:40:16 +01:00 committed by Alexey Min
parent 2b1dfe7cfc
commit 9ca06bc6c2
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 6 additions and 5 deletions

View file

@ -24,7 +24,7 @@ import pmb.helpers.git
def write_os_release(args, suffix):
logging.info("(" + suffix + ") write /etc/os-release")
revision = pmb.helpers.git.rev_parse(args)
revision = pmb.helpers.git.rev_parse(args, args.aports)
filepath = args.work + "/chroot_" + suffix + "/tmp/os-release"
os_release = ('PRETTY_NAME="postmarketOS {version}"\n'
'NAME="postmarketOS"\n'