[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)



Package: debian-installer-6.0-netboot-armel
Version: 20110106.squeeze4
Severity: normal
Tags: d-i patch

Dear Maintainer,

Actually no Debian installer images are provided for LaCie NASes
based on Kirkwood SoC.

Please, consider applying the attached patch.

Note that this patch rely on the one provided with the bug report
#670527.

Regards,

Simon

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-00010-g0a7ba17 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

debian-installer-6.0-netboot-armel depends on no packages.

debian-installer-6.0-netboot-armel recommends no packages.

Versions of packages debian-installer-6.0-netboot-armel suggests:
pn  tftpd-hpa  <none>

-- no debconf information
diff --git a/build/config/armel/kirkwood/netboot.cfg b/build/config/armel/kirkwood/netboot.cfg
index 1fc5eeb..903d9cf 100644
--- a/build/config/armel/kirkwood/netboot.cfg
+++ b/build/config/armel/kirkwood/netboot.cfg
@@ -1,6 +1,6 @@
 MEDIA_TYPE = netboot image
 
-TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug
+TARGET = $(TEMP_INITRD) $(TEMP_KERNEL) openrd sheevaplug lacie
 EXTRANAME = $(MEDIUM)
 
 # OpenRD
@@ -22,3 +22,10 @@ sheevaplug:
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug/uImage "Linux kernel for GuruPlug"
 	update-manifest $(SOME_DEST)/$(EXTRANAME)/marvell/guruplug/uInitrd "initrd for GuruPlug"
 
+# 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"
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"

Reply to: