From 08ebe04b00f4ae95129e90977144cb31c64787f7 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 8 Apr 2012 22:58:21 -0300 Subject: [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: /- (anyway repo is always core in this case). Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/build.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configs/releng') diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 2faf210..1d0ae73 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -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 } -- cgit v1.2.2