[unpackfs] merge with upstream master branch
This commit is contained in:
parent
84a29ddfec
commit
78671a1547
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# === This file is part of Calamares - <http://github.com/calamares> ===
|
||||
# === This file is part of Calamares - <https://github.com/calamares> ===
|
||||
#
|
||||
# Copyright 2014, Teo Mrnjavac <teo@kde.org>
|
||||
# Copyright 2014, Daniel Hillenbrand <codeworkx@bbqlinux.org>
|
||||
@ -218,7 +218,7 @@ class UnpackOperation:
|
||||
|
||||
return None
|
||||
finally:
|
||||
shutil.rmtree(source_mount_path)
|
||||
shutil.rmtree(source_mount_path, ignore_errors=True, onerror=None)
|
||||
|
||||
def mount_image(self, entry, imgmountdir):
|
||||
"""
|
||||
|
@ -33,8 +33,6 @@ unpack:
|
||||
|
||||
# You can list filesystem source paths relative to the Calamares run
|
||||
# directory, if you use -d (this is only useful for testing, though).
|
||||
- source: "_root-image_"
|
||||
sourcefs: "squashfs"
|
||||
- source: ./example.sqfs
|
||||
sourcefs: squashfs
|
||||
destination: ""
|
||||
- source: "_desktop-image_"
|
||||
sourcefs: "squashfs"
|
||||
|
Loading…
Reference in New Issue
Block a user