diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-01 16:27:43 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 11:23:03 -0700 |
commit | d3ae34eec2d312410da6cc1dd1c6fb85e8259261 (patch) | |
tree | 3f827986a0f5c4865d33b05001b2c59601208b76 /meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch | |
parent | 78de74100807303fe304ea0f088317d2aa0be917 (diff) | |
download | meta-openembedded-d3ae34eec2d312410da6cc1dd1c6fb85e8259261.tar.gz |
python3-blivet: 2.2.0 -> 3.0.1
- Drop 0004-Mount-var-volatile-during-install.patch and
0005-update-fstab-by-appending.patch
which are moved to python3-anaconda 28.22.11
- Drop 0013-Revert-Adapt-to-logging-module-name-change.patch
whichis obsolete
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch')
-rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch deleted file mode 100644 index 4f343b7d83..0000000000 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0005-update-fstab-by-appending.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 386ff899763f8473eb93a7a1578fb7cc4f86f66d Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Mon, 8 May 2017 16:28:12 +0800 | ||
4 | Subject: [PATCH 05/13] update fstab by appending | ||
5 | |||
6 | The 'storage.write()' has updated fstab by overwriting | ||
7 | the original one, we should update fstab by appending | ||
8 | to keep original tmpfs partitions. | ||
9 | |||
10 | Upstream-Status: Inappropriate [oe specific] | ||
11 | |||
12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
13 | --- | ||
14 | blivet/osinstall.py | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/blivet/osinstall.py b/blivet/osinstall.py | ||
18 | index 61819c2..afa82db 100644 | ||
19 | --- a/blivet/osinstall.py | ||
20 | +++ b/blivet/osinstall.py | ||
21 | @@ -728,7 +728,7 @@ class FSSet(object): | ||
22 | # /etc/fstab | ||
23 | fstab_path = os.path.normpath("%s/etc/fstab" % get_sysroot()) | ||
24 | fstab = self.fstab() | ||
25 | - open(fstab_path, "w").write(fstab) | ||
26 | + open(fstab_path, "a").write(fstab) | ||
27 | |||
28 | # /etc/crypttab | ||
29 | crypttab_path = os.path.normpath("%s/etc/crypttab" % get_sysroot()) | ||
30 | -- | ||
31 | 2.7.4 | ||
32 | |||