summaryrefslogtreecommitdiff
path: root/src/archive.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2019-06-03 09:27:33 +0300
committerTimo Teräs <timo.teras@iki.fi>2019-06-03 09:33:43 +0300
commit37fbafcd928c466c82c892a7868d686d710e5d07 (patch)
tree626eb11fa3ca37dbd72c5dced707ebccc5b9bf03 /src/archive.c
parentd901444ec94a1874e19c8c30b805e2d17b61e6fc (diff)
downloadapk-tools-37fbafcd928c466c82c892a7868d686d710e5d07.tar.gz
apk-tools-37fbafcd928c466c82c892a7868d686d710e5d07.tar.bz2
apk-tools-37fbafcd928c466c82c892a7868d686d710e5d07.tar.xz
apk-tools-37fbafcd928c466c82c892a7868d686d710e5d07.zip
add: make virtual packages upgradeable (ref #9957)
Originally the virtual packages could have dependencies added to it. However, commit b06e3b99 broke this behaviour to fix error reporting. The root cause however was that the virtual depedency package was not properly versioned. This fixes to use current date/time as the package version, and constructs the "faked" package hash from it. This effectively makes "add -t virtpkg deps.." replace the dependencies which should be the desired behaviour for "abuild deps". 'world' dependency to the generated virtual package is also now versioned to make sure it get's upgraded.
Diffstat (limited to 'src/archive.c')
0 files changed, 0 insertions, 0 deletions