Re: Debian installer for Buffalo LS Live (LS-CHL) and Mini (LS-WSGL)
* Benjamin Cama <benoar@free.fr> [2011-08-04 18:20]:
> -path=$(mount | grep ext[23] | sed -n '/sda1/ {s/\/dev\/sda1 on \(.*\) type.*/\1/; p}')
> +path=$(mount | grep ext[23] | sed -n '/sda1\|md0/ {s/\/dev\/\(sda1\|md0\) on \(.*\) type.*/\2/; p}')
> if [ -z "$path" ]; then
> echo "You have to create an ext2 filesystem on /dev/sda1"
I'd update this to say "... on /dev/sda1 or /dev/md0".
> if [ ! -e $path/uImage.buffalo ]; then
> - echo "You have to download the uImage.buffalo file from the debian-installer for Linkstation Pro/Live, and put it in $path"
> + echo "You have to download the uImage.buffalo file from the debian-installer for Linkstation Pro/Live or Mini, and put it in $path"
I'd probably just say "for Linkstation" here.
> + echo "You have to download the initrd.buffalo file from the debian-installer for Linkstation Pro/Live or Mini, and put it in $path"
Same.
> > It's in the debian-installer package.
>
> Thanks. I will submit this patch if you think it's ok.
Sure. Presumably Hector Oron will apply the patch for you when you
file a bug.
> > modify partman-ext3/check.d/ext2_or_ext3_boot and add the other LS
> > devices.
>
> Like that?:
>
> diff --git a/check.d/ext2_or_ext3_boot b/check.d/ext2_or_ext3_boot
> index cde0de0..e32d795 100755
> --- a/check.d/ext2_or_ext3_boot
> +++ b/check.d/ext2_or_ext3_boot
> @@ -8,7 +8,8 @@ case $ARCH in
> arm*)
> machine=$(grep "^Hardware" /proc/cpuinfo | sed 's/Hardware\s*:\s*//') || true
> case "$machine" in
> - "Buffalo Linkstation Pro/Live" | "Buffalo/Revogear Kurobox Pro")
> + "Buffalo Linkstation Pro/Live" | "Buffalo/Revogear Kurobox Pro" \
> + | "Buffalo Linkstation Mini")
Yes, but "Buffalo Linkstation LiveV3 (LS-CHL)" should probably be
added too. (I don't think I received any feedback from LS-CHL/LiveV3
users.)
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: