[Freedombox-discuss] Switch to btrfs on the Freedombox?

James Valleroy jvalleroy at mailbox.org
Sun Nov 16 16:19:45 UTC 2014


> On November 9, 2014 at 12:59 PM Petter Reinholdtsen <pere at hungry.com>
> wrote:
> [Anders Jackson]
> > But grub doesn't work with ARM CPU:s, does it?
> 
> No idea.  I do not have any hardware for arm myself.  If it does not,
> please provide more details in <URL: https://bugs.debian.org/742267 >
> to let the vmdebootstrap maintainer know that extlinux need to work
> better even with grub support in vmdebootrap.  For my need, building
> x86 images, grub fill the need.

With the latest changes to freedom-maker, I found I could not build the
raspberry-image because the grub2 package is not available for armel.
(vmdebootstrap didn't try to use extlinux. But the extlinux package isn't
available on armel either.)

Could we use the grub option only for virtualbox images? Here's a patch
for the change I'm suggesting:

diff --git a/bin/mk_freedombox_image b/bin/mk_freedombox_image
index 75bc53f..8056112 100755
--- a/bin/mk_freedombox_image
+++ b/bin/mk_freedombox_image
@@ -69,6 +69,7 @@ case "$MACHINE" in
        ;;
     virtualbox)
        extra_opts="\
+ --grub \
  --enable-dhcp \
 "      ;;
 esac
@@ -115,7 +116,6 @@ sudo -H \
     --customize "$basedir/bin/freedombox-customize" \
     --lock-root-password \
     --arch $ARCHITECTURE \
-    --grub \
     --roottype btrfs \
     --distribution $SUITE \
     $extra_opts \



More information about the Freedombox-discuss mailing list