From fcc0df56724073acacbfa3330b922bcd12418505 Mon Sep 17 00:00:00 2001 From: arhabd Date: Sun, 14 Jul 2024 12:59:47 +0000 Subject: [PATCH 1/2] Add build instructions pretty much just follow the readme instructions --- .../Building-Heads/kgpe-d16.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Installing-and-Configuring/Building-Heads/kgpe-d16.md b/Installing-and-Configuring/Building-Heads/kgpe-d16.md index fc2e753..81342de 100644 --- a/Installing-and-Configuring/Building-Heads/kgpe-d16.md +++ b/Installing-and-Configuring/Building-Heads/kgpe-d16.md @@ -9,5 +9,21 @@ grand_parent: Installing and configuring Asus KGPE-D16 ==== +Clone repo +git clone https://github.com/linuxboot/heads.git -TO BE WRITTEN +Install nix +[ -d /nix ] || sh <(curl -L https://nixos.org/nix/install) --no-daemon +. /home/user/.nix-profile/etc/profile.d/nix.sh + +Enable flake support +mkdir -p ~/.config/nix +echo 'experimental-features = nix-command flakes' >>~/.config/nix/nix.conf + +Build docker image +nix --print-build-logs --verbose develop --ignore-environment --command true +nix --print-build-logs --verbose build .#dockerImage && docker load < result + +Build ISO +docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) linuxboot/heads:dev-env +make BOARD=UNMAINTAINED_kgpe-d16_workstation-usb_keyboard From 14d30c747285e1c3ca0efdca04de9ee43788be3f Mon Sep 17 00:00:00 2001 From: arhabd Date: Mon, 15 Jul 2024 07:20:18 +0000 Subject: [PATCH 2/2] build instructions for kgpe-d16 removed duplicate text --- .../Building-Heads/kgpe-d16.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/Installing-and-Configuring/Building-Heads/kgpe-d16.md b/Installing-and-Configuring/Building-Heads/kgpe-d16.md index 81342de..6cafe50 100644 --- a/Installing-and-Configuring/Building-Heads/kgpe-d16.md +++ b/Installing-and-Configuring/Building-Heads/kgpe-d16.md @@ -12,18 +12,7 @@ Asus KGPE-D16 Clone repo git clone https://github.com/linuxboot/heads.git -Install nix -[ -d /nix ] || sh <(curl -L https://nixos.org/nix/install) --no-daemon -. /home/user/.nix-profile/etc/profile.d/nix.sh +Follow README.md instructions for building located here https://github.com/linuxboot/heads/blob/master/README.md -Enable flake support -mkdir -p ~/.config/nix -echo 'experimental-features = nix-command flakes' >>~/.config/nix/nix.conf - -Build docker image -nix --print-build-logs --verbose develop --ignore-environment --command true -nix --print-build-logs --verbose build .#dockerImage && docker load < result - -Build ISO -docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) linuxboot/heads:dev-env +After having prepared nix and docker you can build using: make BOARD=UNMAINTAINED_kgpe-d16_workstation-usb_keyboard