This website requires JavaScript.
Explore
Help
Register
Sign In
Archive-Team
/
zfs
Watch
2
Star
0
Fork
You've already forked zfs
0
Code
Issues
Pull Requests
Packages
Projects
Releases
103
Wiki
Activity
a09e3a8594
zfs
/
cmd
/
zgenhostid
/
Makefile.am
6 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
cmd/zgenhostid: replace with simple c implementation It was discovered that dracut scripts and zgenhostid always generate little-endian /etc/hostid. This commit provides simple endianess-aware binary and updates the scripts to use it. New features include: -f flag to force overwrite. -o flag to write to different file (for dracut) accepting both 0x01234567 and 01234567 values as input Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes #10887 Closes #10925
2020-09-16 19:25:12 +00:00
i
n
c
l
u
d
e
$(
top_srcdir
)
/
c
o
n
f
i
g
/
R
u
l
e
s
.
a
m
bin_PROGRAMS
=
zgenhostid
zgenhostid_SOURCES
=
zgenhostid.c