Hi Joachim!

On Wed, 12 Nov 2008 17:54:55 +0100, Joachim Breitner wrote:
> Am Mittwoch, den 12.11.2008, 09:57 +0100 schrieb Luca Capello:
>> Considering that dpkg itself does not support non-POSIX filesystems
>> and that we want to switch to stock Debian kernels sometime in the
>> future, I propose to officially drop the support for /boot on vfat.
>
> no objections (People can still manually put a kernel there and not use
> the kernel package, if they have to).

Another option: we support /boot on vfat, but for everything except the
kernel (untested):

--8<---------------cut here---------------start------------->8---
diff --git a/install.sh b/install.sh
index 0e3b036..6ec1195 100755
--- a/install.sh
+++ b/install.sh
@@ -175,7 +175,8 @@ Stages:
   fso              Installs packages required to use the Zhone GUI
   configuration    Configures various parts of the system, such as
                    the X server
-  kernel           Downloads and installs kernel package
+  kernel           Downloads and installs the Debian kernel package
+                   (only when $SD_PART1_FS is set to ext2)
   unmount          Unmounts the Debian filesystem mounted at $INST_DIR
 
 Unsupported or buggy stages, use at your own risk:
@@ -598,6 +599,15 @@ kernel)
 # Stage kernel
 #
 echo "Installing kernel package"
+
+if [ "$SD_PART1_FS" = "vfat" ]; then
+       echo "E: when using $SD_PART1_FS as filesystem for the first microSD 
card"
+       echo "   partition, you should manully install the kernel, since dpkg"
+       echo "   does not support non-POSIX filesystems:"
+       echo "     http://bugs.debian.org/bug=315493";
+       exit 1
+fi
+
 chroot $INST_DIR /bin/sh -e <<__END_CHROOT__
 apt-get --yes install linux-image-2.6.24-openmoko-gta02
 apt-get clean
--8<---------------cut here---------------end--------------->8---

I will commit the above patch on Wednesday if no one complains before.
Then, I will consider this issue as closed and in the future mark as
wontfix any related bugs.

Thx, bye,
Gismo / Luca

Attachment: pgpkQpkuCQRmx.pgp
Description: PGP signature

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to