rootfs: add util-linux#213
Conversation
So that kata-agent can call related commands. Fixes: kata-containers#212 Signed-off-by: Peng Tao <bergwolf@gmail.com>
The two might differ due to vm templating. We need to fix the drift by setting system clock from hardware clock since kvmclock should be trusted. Depends-on: github.com/kata-containers/packaging#260 Depends-on: github.com/kata-containers/osbuilder#213 Fixes: kata-containers#422 Signed-off-by: Peng Tao <bergwolf@gmail.com>
|
/test |
|
Technically, we only need this package if we're building an initrd since only an initrd can be used for VM templating. The problem is the rootfs builder can't know if it's going to be used for a rootfs image or an initrd image. We could only add this package if |
|
Yeah - space. We're only using a single binary from that package, so it does seem somewhat overkill to drag in over 100 binaries. Maybe we should remove all but |
| # Set OS_NAME to the desired debian "codename" | ||
| OS_NAME=${OS_NAME:-"stretch"} | ||
|
|
||
| PACKAGES="util-linux" |
There was a problem hiding this comment.
You dont need to add the package here, debian is reusing the config from ubuntu.
|
wow |
|
Fire enough. Let me try to copy what hwclock does with golang in the agent. |
|
Let's pursue grpc based solution since that would work for NUME as well which is missing rtc emulation. |
So that kata-agent can call related commands.
Fixes: #212
Signed-off-by: Peng Tao bergwolf@gmail.com