avij / rpms / anaconda

Forked from rpms/anaconda 5 years ago
Clone

Blame SOURCES/0018-rpmostreepayload-create-var-spool-mail-required-when.patch

fbcaed
From 723d1fa54243dc1cba14d0684f4e161251f02fd3 Mon Sep 17 00:00:00 2001
fbcaed
From: Radek Vykydal <rvykydal@redhat.com>
fbcaed
Date: Thu, 3 Jul 2014 13:23:09 +0200
fbcaed
Subject: [PATCH 18/20] rpmostreepayload: create /var/spool/mail required when
fbcaed
 adding user
fbcaed
fbcaed
Resolves: rhbz#1113535
fbcaed
Port of rpmostreepayload patches from master
fbcaed
commit 43ee318334e3c9c91c84323e3c699b77c5b3ad85
fbcaed
---
fbcaed
 pyanaconda/packaging/rpmostreepayload.py | 2 +-
fbcaed
 1 file changed, 1 insertion(+), 1 deletion(-)
fbcaed
fbcaed
diff --git a/pyanaconda/packaging/rpmostreepayload.py b/pyanaconda/packaging/rpmostreepayload.py
fbcaed
index b425ec4..aba85bb 100644
fbcaed
--- a/pyanaconda/packaging/rpmostreepayload.py
fbcaed
+++ b/pyanaconda/packaging/rpmostreepayload.py
fbcaed
@@ -192,7 +192,7 @@ class RPMOSTreePayload(ArchivePayload):
fbcaed
         # get it because that would require mounting the API filesystems in the
fbcaed
         # target.
fbcaed
         for varsubdir in ('home', 'roothome', 'lib/rpm', 'opt', 'srv',
fbcaed
-                          'usrlocal', 'mnt', 'media'):
fbcaed
+                          'usrlocal', 'mnt', 'media', 'spool'):
fbcaed
             self._safeExecWithRedirect("systemd-tmpfiles",
fbcaed
                                        ["--create", "--boot", "--root=" + iutil.getSysroot(),
fbcaed
                                         "--prefix=/var/" + varsubdir])
fbcaed
-- 
fbcaed
1.9.3
fbcaed