Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/mkarchiso
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-08-18 21:59:18 +0300
committernl6720 <nl6720@gmail.com>2020-08-18 21:59:18 +0300
commit13b8c7d09901539cf9239d5accec1035bd9ef5bc (patch)
treeb970880dcaf8d50e509ab6e351221d78c2d43580 /archiso/mkarchiso
parent41d3d7d4897ca35812ec07327efcbe4248bd6bbd (diff)
archiso/mkarchiso: correct the path of airootfs/etc/machine-id
Use "${airootfs_dir}". Fixes a mistake introduced when rebasing https://gitlab.archlinux.org/archlinux/archiso/-/merge_requests/64 .
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso
index 7fd4c41..4a010ad 100755
--- a/archiso/mkarchiso
+++ b/archiso/mkarchiso
@@ -205,7 +205,7 @@ _cleanup () {
find "${work_dir}" \( -name '*.pacnew' -o -name '*.pacsave' -o -name '*.pacorig' \) -delete
_msg_info "Done!"
# Create an empty /etc/machine-id
- printf '' > "${work_dir}/airootfs/etc/machine-id"
+ printf '' > "${airootfs_dir}/etc/machine-id"
}
# Makes a ext4 filesystem inside a SquashFS from a source directory.