reproducible archlinux: update the distribution value to actually be archlinux

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 68e0d31d
......@@ -676,6 +676,14 @@ schema_updates = {
"INSERT INTO distributions (name) VALUES "
"('opensuse'), ('archlinux'), ('alpine')"
],
41: [ # mark archlinux packages as archlinx packages
"""UPDATE sources SET distribution=(
SELECT id FROM distributions WHERE name='archlinux')
WHERE suite LIKE 'archlinux_%%'""",
"""UPDATE stats_build SET distribution=(
SELECT id FROM distributions WHERE name='archlinux')
WHERE suite LIKE 'archlinux_%%'"""
],
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment