diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-04-08 22:58:21 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-04-09 23:37:27 -0300 |
commit | 08ebe04b00f4ae95129e90977144cb31c64787f7 (patch) | |
tree | 74a57323e8c4a1853b0c8e73bfef664e56bffb7b /configs/releng/build.sh | |
parent | f12097b2c4bc10f8a5824a51cd9a47150d82c2cb (diff) | |
download | archiso32-08ebe04b00f4ae95129e90977144cb31c64787f7.tar.xz |
[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>
Diffstat (limited to 'configs/releng/build.sh')
-rwxr-xr-x | configs/releng/build.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |