From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Installer development Date: Tue, 4 Jul 2017 02:41:01 +0200 Message-ID: <20170704024101.22c1bf6f@scratchpost.org> References: <20170627221608.A23B52013B@smtp.hushmail.com> <20170628154943.36021286@scratchpost.org> <20170629132246.9E3F92013A@smtp.hushmail.com> <20170703013035.47d47177@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSBtq-0001GW-8U for guix-devel@gnu.org; Mon, 03 Jul 2017 20:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSBtp-0000XA-6L for guix-devel@gnu.org; Mon, 03 Jul 2017 20:41:06 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:38694) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dSBto-0000WW-Ve for guix-devel@gnu.org; Mon, 03 Jul 2017 20:41:05 -0400 In-Reply-To: <20170703013035.47d47177@scratchpost.org> 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" To: cinder88@hushmail.com Cc: guix-devel@gnu.org Hi, if you want, in order to start developing the installer, the easiest way is to run as NORMAL USER (not root): $ mkdir guix-installer $ cd guix-installer $ git clone -b wip-installer-2 https://git.savannah.gnu.org/git/guix.git $ cd guix $ ./pre-inst-env guix environment guix --fallback --pure --ad-hoc guile-ncurses [env] $ ./pre-inst-env guix system installer The "environment --pure" makes sure that parted, mkfs etc is not available and you don't kill your existing system by accident. In order to cancel the installer, press Ctrl-z and then invoke: guix [env] $ kill -9 %1 I pushed a wip-installer-2 branch, starting from master. Into the former I cherry-picked all the wip-installer-only commits and massaged them until the installer worked. I hope that's OK with everyone.