[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:
parent
f12097b2c4
commit
08ebe04b00
@ -151,6 +151,8 @@ make_core_repo() {
|
|||||||
ln -sf ../any/${_pkg_name} ${_dst}
|
ln -sf ../any/${_pkg_name} ${_dst}
|
||||||
fi
|
fi
|
||||||
done
|
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}
|
: > ${work_dir}/build.${FUNCNAME}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -167,6 +169,7 @@ make_aitab() {
|
|||||||
|
|
||||||
# Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
|
# Build all filesystem images specified in aitab (.fs .fs.sfs .sfs)
|
||||||
make_prepare() {
|
make_prepare() {
|
||||||
|
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist
|
||||||
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
|
mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user