cp /var/lib/dhclient/dhclient.leases /sysroot/dev/.dhclient-$dev.leases
mkinitrd for a while has copied the leases file to /dev, because it is
the only directory that survives switch_root. The system then can have
the entire leases file for whatever needed purposes.
Any objections to doing this in dracut?
Warren Togami
wtogami@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html