Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2013-10-27 21:14:48 +0100
committerPetter Reinholdtsen <pere@hungry.com>2013-10-27 21:14:48 +0100
commit3c4fd0ecbd9005b30b48932218337504ee6831f5 (patch)
tree58d39349f79eaa9e6f551362e51dee3697c6deab /bin/freedombox-customize
parenta290e9e856b457cf95429bc7c8fda1176c3ec0ce (diff)
Whitespace cleanup.
Diffstat (limited to 'bin/freedombox-customize')
-rwxr-xr-xbin/freedombox-customize7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/freedombox-customize b/bin/freedombox-customize
index 10974f2..abb51fa 100755
--- a/bin/freedombox-customize
+++ b/bin/freedombox-customize
@@ -60,7 +60,7 @@ chroot $rootdir apt-get install -y freedombox-setup
rm $rootdir/usr/sbin/policy-rc.d
# Install non-free binary blob needed to boot Raspberry Pi. This pull
-# in a kernel too.
+# in a kernel too.
if [ "$MACHINE" = raspberry ] ; then
# Packages used by rpi-update to make Raspberry Pi bootable
chroot $rootdir \
@@ -87,9 +87,10 @@ if [ "$MACHINE" = dreamplug ] ; then
export FK_MACHINE="Globalscale Technologies Dreamplug"
# Installing flash-kernel here, as installing it using debootstrap
- # causes all kernel related options so stop working.
+ # causes all kernel related postinst scripts to stop working when
+ # installed in a chroot.
+ chroot $rootdir apt-get install -y flash-kernel
- chroot $rootdir apt-get install -y flash-kernel
cat <<EOF > $rootdir/usr/lib/freedombox/setup.d/95_dreamplug-kernel
#!/bin/sh
# process installed kernel to create uImage, uInitrd, dtb