diff options
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios index dabd538e9..298a9c41a 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios @@ -265,13 +265,6 @@ update_symlinks() { fi } -clear_ubi() { - mountdir="/media/${name}" - if is_mounted "${name}"; then - rm -rf $mountdir/..?* $mountdir/.[!.]* $mountdir/* - fi -} - ubi_cleanup() { # When ubi_cleanup is run, it expects one or no active version. activeVersion=$(busctl --list --no-pager tree \ @@ -350,10 +343,6 @@ case "$1" in updatesymlinks) update_symlinks ;; - ubiclear) - name="$2" - clear_ubi - ;; ubicleanup) ubi_cleanup ;; |