[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#670530: debian-installer-6.0-netboot-armel: missing support for LaCie NASes (Kirkwood)



On Fri, Apr 27, 2012 at 10:25:50AM +0100, Martin Michlmayr wrote:
> * Simon Guinot <simon@sequanux.org> [2012-04-26 16:09]:
> > I understand that creating the netboot image is wrong because the
> > network-console image already includes the same installer (plus the
> > network console). Isn't it ?
> 
> It's not wrong per so but I think it doesn't make sense to generate
> the netboot image when the majority of users will use network-console.
> Those with a serial console can always use the network-console image
> and then perform the installation on serial rather than via SSH.

You will find in attachment an updated patch. The netboot image is no
longer generated.
From 05fe3a472afb0959ebf97af95408699240c885c9 Mon Sep 17 00:00:00 2001
From: Simon Guinot <simon.guinot@sequanux.org>
Date: Wed, 25 Apr 2012 04:15:12 +0000
Subject: [PATCH] Generate image for LaCie Kirkwood NASes

This patch allows to generate a network-console image for the following
LaCie boards:

- LaCie 2Big Network v2
- LaCie 5Big Network v2
- LaCie Internet Space v2
- LaCie Network Space v2
- LaCie Network Space Max v2
- LaCie d2 Network v2
---
 build/config/armel/kirkwood/network-console.cfg |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build/config/armel/kirkwood/network-console.cfg b/build/config/armel/kirkwood/network-console.cfg
index 28b8e30..253916a 100644
--- a/build/config/armel/kirkwood/network-console.cfg
+++ b/build/config/armel/kirkwood/network-console.cfg
@@ -1,6 +1,6 @@
 MEDIA_TYPE = netboot image (SSH)
 
-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) ts219 ts41x
+TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) ts219 ts41x lacie
 EXTRANAME = $(MEDIUM)
 TYPE = netboot/network-console
 
@@ -40,3 +40,10 @@ ts41x:
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/qnap/ts-41x/kernel "Linux kernel for QNAP TS-41x"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/qnap/ts-41x/initrd.gz "initrd for QNAP TS-41x"
 
+# LaCie NAS series: Network Space v2 (and parents), d2 Network v2 and *Big Network v2
+lacie:
+	mkdir -p $(SOME_DEST)/$(EXTRANAME)/lacie
+	mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Debian kernel" -d $(TEMP_KERNEL) $(SOME_DEST)/$(EXTRANAME)/lacie/uImage
+	mkimage -A arm -O linux -T ramdisk -C gzip -a 0x0 -e 0x0 -n "debian-installer ramdisk" -d $(TEMP_INITRD) $(SOME_DEST)/$(EXTRANAME)/lacie/uInitrd
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/Lacie/uImage "Linux kernel for LaCie NAS"
+	update-manifest $(SOME_DEST)/$(EXTRANAME)/lacie/uInitrd "initrd for LaCie NAS"
-- 
1.7.9.5

Attachment: signature.asc
Description: Digital signature


Reply to: