From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: [PATCH 03/11] linux-boot: Rename /root/etc/dmd directory. Date: Thu, 28 Jan 2016 00:10:28 +0300 Message-ID: <1453929036-10408-4-git-send-email-alezost@gmail.com> References: <1453929036-10408-1-git-send-email-alezost@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOXMf-00086V-K2 for guix-devel@gnu.org; Wed, 27 Jan 2016 16:10:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOXMe-0006WR-KO for guix-devel@gnu.org; Wed, 27 Jan 2016 16:10:57 -0500 Received: from mail-lb0-x242.google.com ([2a00:1450:4010:c04::242]:36495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOXMe-0006VT-Bw for guix-devel@gnu.org; Wed, 27 Jan 2016 16:10:56 -0500 Received: by mail-lb0-x242.google.com with SMTP id ad5so896782lbc.3 for ; Wed, 27 Jan 2016 13:10:56 -0800 (PST) Received: from localhost.localdomain ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id p66sm1045517lfe.42.2016.01.27.13.10.54 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jan 2016 13:10:55 -0800 (PST) In-Reply-To: <1453929036-10408-1-git-send-email-alezost@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/build/linux-boot.scm (mount-root-file-system): Rename "/root/etc/dmd" to "/root/etc/shepherd". --- gnu/build/linux-boot.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm index 0fc90af..c34a3f7 100644 --- a/gnu/build/linux-boot.scm +++ b/gnu/build/linux-boot.scm @@ -242,10 +242,10 @@ the last argument of `mknod'." is true, mount ROOT read-only and make it a union with a writable tmpfs using UNIONFS." (define (mark-as-not-killable pid) - ;; Tell the 'user-processes' dmd service that PID must be kept alive when - ;; shutting down. - (mkdir-p "/root/etc/dmd") - (let ((port (open-file "/root/etc/dmd/do-not-kill" "a"))) + ;; Tell the 'user-processes' shepherd service that PID must be kept alive + ;; when shutting down. + (mkdir-p "/root/etc/shepherd") + (let ((port (open-file "/root/etc/shepherd/do-not-kill" "a"))) (chmod port #o600) (write pid port) (newline port) -- 2.6.3