diff options
author | Ravi Teja <raviteja28031990@gmail.com> | 2020-07-19 14:46:25 +0300 |
---|---|---|
committer | Andrew Geissler <geissonator@yahoo.com> | 2020-07-25 00:06:55 +0300 |
commit | 504c22fbecc94c7a3920f7cc82f79810eefc97f9 (patch) | |
tree | 83cdceb8d0bf2998c61728d4c4b54838b8484085 | |
parent | 9c9a0594e7cd442124cc43d5c4aa72bd3f494987 (diff) | |
download | openbmc-504c22fbecc94c7a3920f7cc82f79810eefc97f9.tar.xz |
Add support for nbd1 device for dump
For Dump offload use-case, we are using nbd1 device
this commit is to add support for nbd1 device in state_hook
(From meta-phosphor rev: 0d878479caa21c76606e041e18830d03c2d6fec2)
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: I6710f97d1ba67e801fbfa7eae9c13aaf9b4963c8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
-rwxr-xr-x | meta-phosphor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-phosphor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook b/meta-phosphor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook index 0df6ff9730..3f5a974b95 100755 --- a/meta-phosphor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook +++ b/meta-phosphor/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook @@ -16,6 +16,9 @@ case "$config" in 0) nbd_device=/dev/nbd0 ;; +1) + nbd_device=/dev/nbd1 + ;; *) echo "invalid config $config" >&2 exit 1 |