<div dir="ltr"><br><div><div>Hi Thomas,</div><div><br></div><div>sorry to bother you again.</div><div>First of all - this request is very low priority - so take your time :)</div><div><br></div><div>During my ongoing work with armhf devices and fai I found that installing on micro-sd card is unfortunately not possible.</div><div>Reason behind this is that official debian stretch only contains fai-setup-storage 5.3.6.</div><div>In fai 5.6 the fai-disk-info script contains regex to match "mmcblk" device while 5.3.6 does not.</div><div><br></div><div>Unfortunately <a href="http://fai-project.org/download">http://fai-project.org/download</a> is not armhf enabled - due to this,</div><div>the packages fai packages cannot be updated from this repository.</div><div><br></div><div>My current workaround is to download .deb package on my amd64 machine and manually execute it on armhf device: </div><div>cd /tmp && apt-get download fai-setup-storage && cp /tmp/fai-setup-storage* /srv/fai/nfsroot-armhf/tmp/ && chroot /srv/fai/nfsroot-armhf dpkg -i /tmp/fai-setup-storage*</div><div><br></div><div>Do you think it is possible to enable the fai-project repository for armhf devices?</div><div>Should I create a Debian bug report/feature request about it instead of writing to this mailing list? (I am absolutely not sure which kind of communication medium suits you more)</div><div><br></div><div>Below is some more detailed output which shows the problem:</div><div><br></div><div>root@faiserver:~# ls -la /srv/fai/nfsroot/usr/lib/fai/fai-disk-info</div><div>-rwxr-xr-x 1 root root 1324 Feb 28 12:34 /srv/fai/nfsroot/usr/lib/fai/fai-disk-info</div><div>root@faiserver:~# ls -la /srv/fai/nfsroot-armhf/usr/lib/fai/fai-disk-info</div><div>-rwxr-xr-x 1 root root 1051 Apr 20  2017 /srv/fai/nfsroot-armhf/usr/lib/fai/fai-disk-info</div><div>root@faiserver:~# chroot /srv/fai/nfsroot apt list -a fai-setup-storage</div><div>Listing... Done</div><div>fai-setup-storage/stretch,now 5.6 all [installed,automatic]</div><div>fai-setup-storage/stable 5.3.6 all</div><div><br></div><div>root@faiserver:~# chroot /srv/fai/nfsroot-armhf apt list -a fai-setup-storage</div><div>Listing... Done</div><div>fai-setup-storage/stable,now 5.3.6 all [installed,automatic]</div><div><br></div><div>root@faiserver:~# diff /srv/fai/nfsroot/usr/lib/fai/fai-disk-info /srv/fai/nfsroot-armhf/usr/lib/fai/fai-disk-info</div><div>17,19d16</div><div><         if [ -n "$stick" ]; then</div><div><             [ $device = $stick ] && isdisk=0</div><div><         fi</div><div>24,31d20</div><div>< </div><div>< </div><div>< # determine the device of the USB stick we boot from</div><div>< stick=$(mount | awk '/run\/initramfs\/live/ {print $1}')</div><div>< stick=${stick#/dev/}</div><div>< stick=${stick%%[[:digit:]]*}</div><div>< </div><div>< </div><div>33c22</div><div>< ( egrep 'md[0-9]{3,}$' /proc/partitions; egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.+\b| cciss/c[[:digit:]]+d[[:digit:]]+\b| ida/c[[:digit:]]+d[[:digit:]]+\b| rd/c[[:digit:]]+d[[:digit:]]+\b| fio.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b| nvme[[:digit:]]n1$| mmcblk[[:digit:]]$' /proc/partitions ) | checkdisk</div><div>---</div><div>> ( egrep 'md[0-9]{3,}$' /proc/partitions; egrep ' etherd/e[[:digit:]]+\.[[:digit:]]+\b| i2o/hd.+\b| cciss/c[[:digit:]]+d[[:digit:]]+\b| ida/c[[:digit:]]+d[[:digit:]]+\b| rd/c[[:digit:]]+d[[:digit:]]+\b| fio.\b| hd.\b| sd[a-z]{1,2}\b|/disc\b| vd.\b| xvd.\b| nvme[[:digit:]]n1$' /proc/partitions ) | checkdisk</div><div><br></div><div>root@faiserver:~# chroot /srv/fai/nfsroot-armhf apt-get update</div><div>Ign:1 <a href="http://fai-project.org/download">http://fai-project.org/download</a> stretch InRelease</div><div>Hit:2 <a href="http://fai-project.org/download">http://fai-project.org/download</a> stretch Release                                                  </div><div>Ign:3 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> stretch InRelease                                                   </div><div>Get:4 <a href="http://security.debian.org/debian-security">http://security.debian.org/debian-security</a> stretch/updates InRelease [94.3 kB]                   </div><div>Get:5 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> stretch-updates InRelease [91.0 kB]                                 </div><div>Get:6 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> stretch-proposed-updates InRelease [96.3 kB]               </div><div>Hit:7 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> stretch Release         </div><div>Get:9 <a href="http://security.debian.org/debian-security">http://security.debian.org/debian-security</a> stretch/updates/main armhf Packages [357 kB]</div><div>Fetched 639 kB in 8s (75.2 kB/s)                                                                       </div><div>Reading package lists... Done</div><div>N: Skipping acquire of configured file 'koeln/binary-armhf/Packages' as repository '<a href="http://fai-project.org/download">http://fai-project.org/download</a> stretch InRelease' doesn't support architecture 'armhf'</div></div><div><br></div><div>Thank you for your effort</div></div>