mkarchiso: Also create package list for netboot

archiso/mkarchiso:
Change `_make_pkglist()` to also generate the package list when using the netboot build mode.
This commit is contained in:
David Runge 2021-05-10 22:42:27 +02:00
parent ace88aaaca
commit 6b11d7be7a
No known key found for this signature in database
GPG Key ID: 7258734B41C31549

View File

@ -1135,7 +1135,7 @@ _make_pkglist() {
"bootstrap") "bootstrap")
pacman -Q --sysroot "${pacstrap_dir}" > "${pacstrap_dir}/pkglist.${arch}.txt" pacman -Q --sysroot "${pacstrap_dir}" > "${pacstrap_dir}/pkglist.${arch}.txt"
;; ;;
"iso") "iso"|"netboot")
install -d -m 0755 -- "${isofs_dir}/${install_dir}" install -d -m 0755 -- "${isofs_dir}/${install_dir}"
pacman -Q --sysroot "${pacstrap_dir}" > "${isofs_dir}/${install_dir}/pkglist.${arch}.txt" pacman -Q --sysroot "${pacstrap_dir}" > "${isofs_dir}/${install_dir}/pkglist.${arch}.txt"
;; ;;