forked from mirrored-repos/manjaro-tools
[util-iso] honor multilib=false in profile.conf
This commit is contained in:
parent
200abe3832
commit
428d95ebf9
1 changed files with 3 additions and 5 deletions
|
@ -249,11 +249,9 @@ make_image_root() {
|
||||||
|
|
||||||
chroot_create "${path}" "${packages}" || die
|
chroot_create "${path}" "${packages}" || die
|
||||||
|
|
||||||
# if profile has 'multilib="false"'
|
# profide multilib usage to mhwd-script
|
||||||
# work around mhwd install error when multilib files are not present
|
if [[ ! -z ${multilib} ]]; then
|
||||||
# create an empty file which presence is checked by mhwd
|
echo 'MHWD64_IS_LIB32="'${multilib}'"' > "${path}/etc/mhwd-x86_64.conf"
|
||||||
if [[ ${multilib} == "false" ]]; then
|
|
||||||
touch "${path}/etc/mhwd-x86_64.conf"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pacman -Qr "${path}" > "${path}/rootfs-pkgs.txt"
|
pacman -Qr "${path}" > "${path}/rootfs-pkgs.txt"
|
||||||
|
|
Loading…
Reference in a new issue