mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
mkosi: Ignore version from versioned dependencies in .SRCINFO
Dependencies in .SRCINFO can be versioned. Let's make sure we ignore any specified versions when grepping it for dependencies. Also update the arch submodule to the latest to make sure the change works.
This commit is contained in:
committed by
Luca Boccassi
parent
39a8ef05cd
commit
b2173f50dc
@@ -17,7 +17,7 @@ fi
|
||||
# We get depends and optdepends from .SRCINFO as getting them from the PKGBUILD is rather complex.
|
||||
sed --expression 's/^[ \t]*//' "pkg/$ID/.SRCINFO" |
|
||||
grep --regexp '^depends =' --regexp '^optdepends =' |
|
||||
sed --expression 's/^depends = //' --expression 's/^optdepends = //' --expression 's/:.*//' |
|
||||
sed --expression 's/^depends = //' --expression 's/^optdepends = //' --expression 's/:.*//' --expression 's/=.*//' |
|
||||
xargs --delimiter '\n' mkosi-install
|
||||
|
||||
# We get makedepends from the PKGBUILD as .SRCINFO can't encode conditional dependencies depending on
|
||||
|
||||
2
pkg/arch
2
pkg/arch
Submodule pkg/arch updated: 124b1da790...6a2bc5773a
Reference in New Issue
Block a user