summarylogtreecommitdiffstats
path: root/zfs.initcpio.install
diff options
context:
space:
mode:
authorKevin Stolp2023-01-13 17:36:43 -0800
committerKevin Stolp2023-01-16 00:36:57 -0800
commit603f3d6e1aa4f260d242b7533b2d9252a4ed6de2 (patch)
treeeda09bc5dc2a0e121ab7901842a442904acc6fed /zfs.initcpio.install
parent97f20df4942956908f92a45df06623f5be4d9f65 (diff)
downloadaur-603f3d6e1aa4f260d242b7533b2d9252a4ed6de2.tar.gz
Restore hostid handling
This was originally performed in commit f18efa1.
Diffstat (limited to 'zfs.initcpio.install')
-rw-r--r--zfs.initcpio.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/zfs.initcpio.install b/zfs.initcpio.install
index fd3387f66d68..27e11f587152 100644
--- a/zfs.initcpio.install
+++ b/zfs.initcpio.install
@@ -41,6 +41,7 @@ build() {
[[ -f /etc/zfs/zpool.cache ]] && cp "/etc/zfs/zpool.cache" "${BUILDROOT}/etc/zfs/zpool.cache.org"
[[ -f /etc/modprobe.d/zfs.conf ]] && add_file "/etc/modprobe.d/zfs.conf"
+ [[ -f /etc/hostid ]] && add_file "/etc/hostid"
[[ -f /etc/fstab ]] && add_file "/etc/fstab"
}