mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
system: hurd: Add "/bin/sh" symlink.
This allows login.c to succeed for root. * gnu/system/hurd.scm (cross-hurd-image): Link /bin/sh to full the full bash.
This commit is contained in:
parent
6598c6149b
commit
fe1f9646b4
1 changed files with 7 additions and 2 deletions
|
@ -21,6 +21,7 @@ (define-module (gnu system hurd)
|
|||
#:use-module (guix utils)
|
||||
#:use-module (gnu bootloader grub)
|
||||
#:use-module (gnu packages base)
|
||||
#:use-module (gnu packages bash)
|
||||
#:use-module (gnu packages cross-base)
|
||||
#:use-module (gnu packages hurd)
|
||||
#:use-module (gnu system vm)
|
||||
|
@ -44,7 +45,7 @@ (define hurd-os
|
|||
(directory-union "gnu+hurd"
|
||||
(cons (with-parameters ((%current-system "i686-linux"))
|
||||
gnumach)
|
||||
(for-hurd hurd coreutils grep sed)))))
|
||||
(for-hurd hurd bash coreutils grep sed)))))
|
||||
|
||||
(define grub.cfg
|
||||
(let ((hurd (with-parameters ((%current-target-system "i586-pc-gnu"))
|
||||
|
@ -122,7 +123,11 @@ (define hurd-directives
|
|||
("/etc/ttys" -> ,(file-append (with-parameters ((%current-target-system
|
||||
"i586-pc-gnu"))
|
||||
hurd)
|
||||
"/etc/ttys"))))
|
||||
"/etc/ttys"))
|
||||
("/bin/sh" -> ,(file-append (with-parameters ((%current-target-system
|
||||
"i586-pc-gnu"))
|
||||
bash)
|
||||
"/bin/sh"))))
|
||||
|
||||
(qemu-image #:file-system-type "ext2"
|
||||
#:file-system-options '("-o" "hurd")
|
||||
|
|
Loading…
Reference in a new issue