[arch-releng] [DRAFT][PATCH 2/2] [configs/releng] Generate list of packages.
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Sun Apr 8 22:18:19 EDT 2012
* 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).
---
configs/releng/build.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 2faf210..81efcaf 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 --print-format "%r/%n-%v" ${_pkgs} > ${work_dir}/iso/${install_dir}/pkglist.repo-core.${arch}.txt
: > ${work_dir}/build.${FUNCNAME}
fi
}
@@ -174,6 +176,7 @@ make_prepare() {
# args: $1 (core | netinstall)
make_iso() {
local _iso_type=${1}
+ mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${_iso_type}-${arch}.iso"
}
--
1.7.9.6
More information about the arch-releng
mailing list