summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 22:05:16 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2018-01-20 22:50:56 +0100
commit84ee33787e011fbf7d04eed1bc2d0765cef57b52 (patch)
tree15c8d5036a49d1c644cac695aad7ba3e1127a8f4 /gnu/system
parentdf8a909660aeca43b38d96d5e57e84865793a5c4 (diff)
downloadpatches-84ee33787e011fbf7d04eed1bc2d0765cef57b52.tar
patches-84ee33787e011fbf7d04eed1bc2d0765cef57b52.tar.gz
system: Add Nintendo NES Classic Edition installer.
* gnu/bootloader/u-boot.scm (u-boot-nintendo-nes-classic-edition-bootloader): New exported variable. * gnu/packages/bootloaders.scm (u-boot-nintendo-nes-classic-edition): New exported variable. * gnu/system/install.scm (nintendo-nes-classic-edition-installation-os): New exported variable.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/install.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index e84e6a6bc1..fe330621ca 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -47,7 +47,8 @@
a20-olinuxino-lime2-emmc-installation-os
a20-olinuxino-micro-installation-os
banana-pi-m2-ultra-installation-os
- beaglebone-black-installation-os))
+ beaglebone-black-installation-os
+ nintendo-nes-classic-edition-installation-os))
;;; Commentary:
;;;
@@ -430,6 +431,11 @@ The bootloader BOOTLOADER is installed to BOOTLOADER-TARGET."
"/dev/mmcblk1" ; eMMC storage
"ttyS0"))
+(define nintendo-nes-classic-edition-installation-os
+ (embedded-installation-os u-boot-nintendo-nes-classic-edition-bootloader
+ "/dev/mmcblk0" ; SD card (solder it yourself)
+ "ttyS0"))
+
;; Return the default os here so 'guix system' can consume it directly.
installation-os