From a7199b7d994433eaabb989690887b921d053d761 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 6 Sep 2016 14:39:35 -0400 Subject: activation: Don't fail if /var/lib exists. This is a followup to commit 6526d43ea4fb0cd151a0d5e9a072c651c1c963d1. * gnu/build/activation.scm (activate-user+groups): Use mkdir-p to create /var/lib. --- gnu/build/activation.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/build/activation.scm') diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm index 7dc40b0961..1b31dc1538 100644 --- a/gnu/build/activation.scm +++ b/gnu/build/activation.scm @@ -234,7 +234,7 @@ numeric gid or #f." (touch "/etc/group") ;; Allow home directories to be created under /var/lib. - (mkdir "/var/lib") + (mkdir-p "/var/lib") ;; Create the root account so we can use 'useradd' and 'groupadd'. (activate-user (find (match-lambda -- cgit 1.4.1