summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-03 10:06:04 +0200
committerErich Eckner <git@eckner.net>2018-09-03 10:06:04 +0200
commita98a0e3e6250d427b6edbe361afcadbe407c5558 (patch)
treeabb7a15af26d41b66ea759780279f9fb6acd32f7 /lib/mysql-functions
parent5aa69c7445a15c14044ebdfa6a5b21808cbe22bd (diff)
downloadbuilder-a98a0e3e6250d427b6edbe361afcadbe407c5558.tar.xz
lib/mysql-functions: update TODO
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-xlib/mysql-functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index e4224ec..2a41766 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -346,6 +346,11 @@ mysql_generate_package_metadata() {
# has two advantages: 1st, we separate data from the commands
# (aesthetic), 2nd, we can prepare/check the data to load "offline",
# 3rd, we are less sensitive to errors in the middle of the commit.
+ # For this we need some intermediate files which are loaded into
+ # temporary tables:
+ # - pkgbase -> pkgname
+ # - pkgname -> dependency
+ # - pkgname -> provides
# now each "ARCHINFO $pkgname $arch" file represents one binary package
find "${temp_dir}" -mindepth 1 -maxdepth 1 -name 'ARCHINFO * *' -printf '%f\n' | \