diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-03-18 16:11:50 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2019-03-18 16:44:52 +0100 |
commit | 36e16f10055c74b46bbc25b85f9adf60b546b136 (patch) | |
tree | d771b3c67e9e406a4ab1d63b226413ca89069acb /mcp/reclass/classes | |
parent | b84ea4cd4cce6db24a2bc7c392e3be0e7dc4ac78 (diff) |
[lib] nbd: Explicitly map partitions
Certain kernels (e.g. 4.4.0-101+ in Ubuntu) no longer automatically
ack the partition table update after `kpartx -a /dev/nbdX`, see [1].
To avoid another dependency on `parted` packages, use `partx` from
`util-linux`, which is already installed as a dependency of e2fsprogs.
[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1743026
Change-Id: Ibd993fe210c1a11814e89a66759568d4d117d613
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/reclass/classes')
0 files changed, 0 insertions, 0 deletions