* Simon Guinot <simon.gui...@sequanux.org> [2015-06-11 10:43]: > On lacie-nas.org, we have a wiki page explaining how to install Debian > on a LaCie NAS: http://lacie-nas.org/doku.php?id=debian_install > > Preseeding is documented as well: > http://lacie-nas.org/doku.php?id=debian_install#prepare_network-console_files > > I know it is not ideal but people are able to install Debian on their > NAS by following this steps. ... > Definitively we should fix it. How can I help ?
After looking at the lacie-nas wiki, I think we have two options: 1) Continue to tell people to unpack the initrd and add the preseeding info. Add to the wiki that some machines require a DTB file. The problem with this approach is that it's error prone and differs between jessie and stretch (since I append the DTB already). 2) Change oldsys-preseed to do DHCP automatically on LaCie Kirkwood devices, and add the DTB in jessie to the devices that need it. The advantage of this approach that things will just work out of the box and we just need to update the wiki to point to the right installer image (depending on the device) and remove out of date info (about unpacking the initrd, etc). Actually, now that I think about it, these two issues are completely separate (one related to uImage and one to uInitrd). So imho we should definitely append the DTB in jessie for the devices that need it (I already made the change for stretch where all devices need the DTB). And then you can decide whether you prefer telling people to unpack/repack the initrd or to do it automatically in oldsys-preseed. Let me know what you prefer regarding the preseed file. The patch I have in mind for oldsys-preseed (if you want to go that way) is this: diff --git a/oldsys-preseed b/oldsys-preseed index 40a0ee0..3e0e995 100755 --- a/oldsys-preseed +++ b/oldsys-preseed @@ -309,6 +309,14 @@ case "`archdetect`" in GATEWAY=192.168.1.1 NAMESERVERS=192.168.1.1 dhcp_fallback $FILE + elif echo "$machine" | grep -q "^LaCie" || + echo "$dt_model" | grep -q "^LaCie"; then + NET_CONFIG=dhcp + IPADDRESS=192.168.1.100 + NETMASK=255.255.255.0 + GATEWAY=192.168.1.1 + NAMESERVERS=192.168.1.1 + dhcp_fallback $FILE else exit_unknown fi (i.e. do by DHCP and fall back to 192.168.1.100 if DHCP doesn't work. Not sure if there's a better default address for LaCie devices.) -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to debian-arm-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20150614225214.ga12...@jirafa.cyrius.com