aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfsbootenv/lzbe_pair.c
diff options
context:
space:
mode:
authorGeorgy Yakovlev <[email protected]>2020-09-16 12:25:12 -0700
committerGitHub <[email protected]>2020-09-16 12:25:12 -0700
commit9cc177baa06e8efc0d092886e2c9b3de4b3ee50f (patch)
treeff2101589f3bdb76eee55be8ba3d7c8535e9f147 /lib/libzfsbootenv/lzbe_pair.c
parent9569c31161453e29ec32e3612b91950d2faed83e (diff)
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 <[email protected]> Reviewed-by: Olaf Faaland <[email protected]> Signed-off-by: Georgy Yakovlev <[email protected]> Closes #10887 Closes #10925
Diffstat (limited to 'lib/libzfsbootenv/lzbe_pair.c')
0 files changed, 0 insertions, 0 deletions