[configs/releng] Generate list of packages.

* For installed packages on live-enviroment use mkarchiso pkglist command.
* For packages in [core] repo in core.iso, make a list of them during repo generation.
  It uses the same format like done by pkglist command: <repo>/<package>-<version>
  (anyway repo is always core in this case).

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2012-04-08 22:58:21 -03:00
parent f12097b2c4
commit 08ebe04b00

View File

@ -151,6 +151,8 @@ make_core_repo() {
ln -sf ../any/${_pkg_name} ${_dst}
fi
done
mkdir -p ${work_dir}/iso/${install_dir}
pacman -Sp -r ${work_dir}/pacman.db --print-format "%r/%n-%v" ${_pkgs} | sort > ${work_dir}/iso/${install_dir}/pkglist.repo-core.${arch}.txt
: > ${work_dir}/build.${FUNCNAME}
fi
}
@ -167,6 +169,7 @@ make_aitab() {
# Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
make_prepare() {
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
}