diff options
author | Marius Bakke <mbakke@fastmail.com> | 2018-11-07 21:09:57 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2018-11-07 21:09:57 +0100 |
commit | 55174e668f2985d1c4efda4fbf58f4061dde0db2 (patch) | |
tree | f55f7e50fff1a1c3d1e6d2e932a7ef19347e5011 /gnu/build/linux-initrd.scm | |
parent | 1badc85068ee0be2a028c1b94a3dd285901bc391 (diff) | |
parent | b31e1561611ebe4916890183b24e6e13cb83bf59 (diff) | |
download | patches-55174e668f2985d1c4efda4fbf58f4061dde0db2.tar patches-55174e668f2985d1c4efda4fbf58f4061dde0db2.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/build/linux-initrd.scm')
-rw-r--r-- | gnu/build/linux-initrd.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/build/linux-initrd.scm b/gnu/build/linux-initrd.scm index c65b5aacfa..fb8a1f5b2b 100644 --- a/gnu/build/linux-initrd.scm +++ b/gnu/build/linux-initrd.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2014, 2015, 2018 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -139,6 +139,12 @@ REFERENCES-GRAPHS." (write-cpio-archive output "." #:gzip gzip)) + ;; Make sure directories are writable so we can delete files. + (for-each make-file-writable + (find-files "contents" + (lambda (file stat) + (eq? 'directory (stat:type stat))) + #:directories? #t)) (delete-file-recursively "contents")) ;;; linux-initrd.scm ends here |