diff options
author | Erich Eckner <git@eckner.net> | 2018-09-03 10:06:04 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-03 10:06:04 +0200 |
commit | a98a0e3e6250d427b6edbe361afcadbe407c5558 (patch) | |
tree | abb7a15af26d41b66ea759780279f9fb6acd32f7 | |
parent | 5aa69c7445a15c14044ebdfa6a5b21808cbe22bd (diff) | |
download | builder-a98a0e3e6250d427b6edbe361afcadbe407c5558.tar.xz |
lib/mysql-functions: update TODO
-rwxr-xr-x | lib/mysql-functions | 5 |
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' | \ |