* Set GuixSD on Reiser4.
@ 2017-07-22 20:35 Dmitry Nikolaev
2017-07-23 12:52 ` Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Nikolaev @ 2017-07-22 20:35 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]
Hi. I recently wrote package definition for Linux with Reiser4 patch.
(define (linux-nonfree-urls version)
"Return a list of URLs for Linux-Nonfree VERSION."
(list (string-append
"https://www.kernel.org/pub/linux/kernel/v4.x/"
"linux-" version ".tar.xz")))
(define-public linux-reiser4
(let* ((version "4.11.11"))
(package
(inherit linux-libre)
(name "linux-reiser4")
(version version)
(source (origin
(method url-fetch)
(uri (linux-nonfree-urls version))
(sha256
(base32
"1dvs1r3vq15akyv0yxvim6j09pqac5dagqbchvdlsw5yi4fnylc8"))
(patches (list (computed-file "reiser4-for-4.11.0.patch"
(let ((compressed (origin
(method url-fetch)
(uri "
https://downloads.sourceforge.net/project/reiser4/reiser4-for-linux-4.x/reiser4-for-4.11.0.patch.gz
")
(sha256 (base32 "1qc421bqassrxv7z5pzsnwsf9d5pz0azm96rykxh02xlrf8ig3hc")))))
#~(system
(string-append
#+(file-append gzip "/bin/gunzip")
" < "
#$compressed
" > "
#$output))))))))
(synopsis "Linux with Reiser4 patch.")
(description "Linux-Reiser4 is a kernel that supports Reiser4 FS.")
(license gpl2)
(home-page "https://reiser4.wiki.kernel.org/index.php/Main_Page"))))
Can I install GuixSD on Reiser4 with it? Will it work? Does GRUB or EFI
loader in GuixSD repository supports Reiser4? Is mentioning reiser4 in
config.scm enought?
(file-systems (cons* (file-system
(device "root")
(title 'label)
(mount-point "/")
(type "reiser4")
(dependencies mapped-devices))
%base-file-systems))
Dmitry Nikolaev
[-- Attachment #2: Type: text/html, Size: 3504 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Set GuixSD on Reiser4.
2017-07-22 20:35 Set GuixSD on Reiser4 Dmitry Nikolaev
@ 2017-07-23 12:52 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2017-07-23 12:52 UTC (permalink / raw)
To: Dmitry Nikolaev; +Cc: help-guix
Hi Dmitry,
> Hi. I recently wrote package definition for Linux with Reiser4 patch.
Please do not post recipes for building the non-free Linux on the Guix
project’s communication channels.
The Reiser patches probably apply just as well to the Linux libre
sources.
> Can I install GuixSD on Reiser4 with it? Will it work? Does GRUB or EFI
> loader in GuixSD repository supports Reiser4? Is mentioning reiser4 in
> config.scm enought?
That’s likely not enough. You may also need to tell the initrd to
include the required modules. This can be done by adding a field like
this to your configuration:
--8<---------------cut here---------------start------------->8---
(define %linux-modules
'("name-of-the-module.ko"
…))
(operating-system
…
(initrd (lambda (fs . args)
(apply base-initrd fs
#:extra-modules %linux-modules
args)))
…)
--8<---------------cut here---------------end--------------->8---
I’m not sure if this alone would be sufficient, though. I’m not very
familiar with this.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-23 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-22 20:35 Set GuixSD on Reiser4 Dmitry Nikolaev
2017-07-23 12:52 ` Ricardo Wurmus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).