guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Add btrfs-progs.


From: Ludovic Courtès
Subject: Re: [PATCH] Add btrfs-progs.
Date: Fri, 06 Nov 2015 22:14:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi!

Patrick Hetu <address@hidden> skribis:

> I still need to figure out how to get rid of the "fsck.btrfs not
> found" when the system boots. Maybe it needs to be in the initrd.

(gnu build file-systems) is where “fsck.foo” is invoked, in
‘check-file-system’.

The other place to look at is ‘base-initrd’ in (gnu system
linux-initrd), where the ‘helper-packages’ variable hosts packages to be
added to the initrd.

If you adjust these two things, it should be possible to boot on a Btrfs
file system.

However note that there’s an ext2 superblock parser in (gnu build
file-systems), which is used to find partition labels and so on.  This
won’t work on Btrfs partitions I suppose, so you’ll have to refer to
them by device name rather than by label or UUID.

> Note that I'm also adding it to %base-packages like e2fsprogs.

I think I’d rather avoid it by default.  Users can still add it to their
‘packages’ field.

Now, we could add it in (gnu system install) so people can create Btrfs
partition from the installer.  That should be a separate commit, though.

> From 982302084d16b53b878b36cc29f4e0cefc2df608 Mon Sep 17 00:00:00 2001
> From: Patrick Hetu <address@hidden>
> Date: Thu, 5 Nov 2015 17:01:42 -0500
> Subject: [PATCH] gnu: Add btrfs-progs.

The MUA ate the patch!  It seems lines were wrapped or something.  Could
you send it again, the gnu/packages part?

Also, it would be great if you could try to write a commit entry in
ChangeLog format; see
<http://www.gnu.org/software/guix/manual/html_node/Submitting-Patches.html>.

Thank you!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]