summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index c148fc9edd..2ff0d6850c 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -705,6 +705,7 @@ def sstate_package(ss, d):
705 pass 705 pass
706 except OSError as e: 706 except OSError as e:
707 # Handle read-only file systems gracefully 707 # Handle read-only file systems gracefully
708 import errno
708 if e.errno != errno.EROFS: 709 if e.errno != errno.EROFS:
709 raise e 710 raise e
710 711
@@ -1148,6 +1149,7 @@ python sstate_eventhandler() {
1148 pass 1149 pass
1149 except OSError as e: 1150 except OSError as e:
1150 # Handle read-only file systems gracefully 1151 # Handle read-only file systems gracefully
1152 import errno
1151 if e.errno != errno.EROFS: 1153 if e.errno != errno.EROFS:
1152 raise e 1154 raise e
1153 1155