Commit 200abe38 authored by Frede Hundewadt's avatar Frede Hundewadt Committed by Philip Müller

Add empty file /etc/mhwd-x86_64.conf

File is required to avoid errors when multilib files is not present
parent 86dae4f1
......@@ -249,6 +249,13 @@ make_image_root() {
chroot_create "${path}" "${packages}" || die
# if profile has 'multilib="false"'
# work around mhwd install error when multilib files are not present
# create an empty file which presence is checked by mhwd
if [[ ${multilib} == "false" ]]; then
touch "${path}/etc/mhwd-x86_64.conf"
pacman -Qr "${path}" > "${path}/rootfs-pkgs.txt"
copy_overlay "${profile_dir}/root-overlay" "${path}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment