This website requires JavaScript.
Explore
Help
Sign In
c
/
mirror_zfs
Watch
1
Star
0
Fork
0
You've already forked mirror_zfs
mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced
2025-01-08 17:20:25 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
a78a93e67e
mirror_zfs
/
cmd
/
zgenhostid
/
Makefile.am
6 lines
101 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 22:25:12 +03:00
i
n
c
l
u
d
e
$(
top_srcdir
)
/
c
o
n
f
i
g
/
R
u
l
e
s
.
a
m
Install zgenhostid to sbindir zgenhostid(8) is used to modify or create /etc/hostid. This administrative tool is currently installed to bindir. System utilities are typically placed in sbin. Modify the installation directory for zgenhostid. Additionally, track this change in its use in dracut and the rpm installation. Authored-by: наб <nabijaczleweli@nabijaczleweli.xyz> Authored-by: Antonio Russo <aerusso@aerusso.net> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Antonio Russo <aerusso@aerusso.net> Closes #11485
2021-01-21 23:58:24 +03:00
sbin_PROGRAMS
=
zgenhostid
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 22:25:12 +03:00
zgenhostid_SOURCES
=
zgenhostid.c
Reference in New Issue
Copy Permalink