Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunil Mohan Adapa <sunil@medhas.org>2015-02-11 22:35:45 +0530
committerSunil Mohan Adapa <sunil@medhas.org>2015-02-11 22:35:45 +0530
commite10edc5f3ef90c36785635baf744b5d8572a2517 (patch)
tree9f2ed49cca3c49b76109ce564631afc3fe0d78ee
parentdbddeb2979cebafa546035227f7d33c7fbda0eb0 (diff)
Disable btrfs for Raspberry Pi
Currently Raspberry Pi images built with btrfs turned on fails to boot. We are also using an external kernel which is not on of the Debian's stock kernels. FreedomBox 0.3 Raspberry Pi images have been built with with ext4 instead of btrfs.
-rwxr-xr-xbin/mk_freedombox_image6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/mk_freedombox_image b/bin/mk_freedombox_image
index 81144f1..c88b148 100755
--- a/bin/mk_freedombox_image
+++ b/bin/mk_freedombox_image
@@ -62,6 +62,7 @@ case "$MACHINE" in
--no-kernel \
--no-extlinux \
--foreign /usr/bin/qemu-arm-static \
+ --roottype ext4 \
"
;;
dreamplug)
@@ -73,6 +74,7 @@ case "$MACHINE" in
--no-kernel \
--no-extlinux \
--foreign /usr/bin/qemu-arm-static \
+ --roottype btrfs \
"
;;
beaglebone)
@@ -85,6 +87,7 @@ case "$MACHINE" in
--no-kernel \
--no-extlinux \
--foreign /usr/bin/qemu-arm-static \
+ --roottype btrfs \
"
;;
cubietruck)
@@ -97,11 +100,13 @@ case "$MACHINE" in
--no-kernel \
--no-extlinux \
--foreign /usr/bin/qemu-arm-static \
+ --roottype btrfs \
"
;;
virtualbox)
extra_opts="\
--grub \
+ --roottype btrfs \
" ;;
esac
@@ -149,7 +154,6 @@ sudo -H \
--customize "$basedir/bin/freedombox-customize" \
--lock-root-password \
--arch $ARCHITECTURE \
- --roottype btrfs \
--distribution $SUITE \
--enable-dhcp \
$extra_opts \