http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml ext3 is referenced instead of ext4. I get the following (harmless?) error from mkcard.sh: mkcard.sh: line 11: [: /usr/bin/bc: integer expression expected which must be from this line: CYLINDERS=`echo $SIZE/255/63/512 | bc` I may be mistaken but shouldn't the following line: ln -s /mnt/p2/etc/init.d/sshd /mnt/p2/etc/runlevels/default be: ln -s /etc/init.d/sshd /mnt/p2/etc/runlevels/default/sshd Reproducible: Always
(In reply to comment #0) > ext3 is referenced instead of ext4. How is that a bug?
(In reply to comment #1) > (In reply to comment #0) > > ext3 is referenced instead of ext4. > > How is that a bug? He means that the script creates an ext4 filesystem while in the guide i say it does an ext3 one.
(In reply to comment #0) > http://dev.gentoo.org/~armin76/arm/beaglebone/install.xml > > ext3 is referenced instead of ext4. > Fixed, the thing is that before the guide used another script which did an ext3 fs instead. > I get the following (harmless?) error from mkcard.sh: > > mkcard.sh: line 11: [: /usr/bin/bc: integer expression expected > > which must be from this line: > > CYLINDERS=`echo $SIZE/255/63/512 | bc` line 11 is related to this check: if [ `which bc` -ne 0 ]; then Not sure why mkcard.sh does that, because executing that either returns the full path to bc or returns "no cmd found on...", but it never returns a 0, afaik. But i have no idea, the mkcard.sh script is not mine, its the one used in a lot of places. > > I may be mistaken but shouldn't the following line: > > ln -s /mnt/p2/etc/init.d/sshd /mnt/p2/etc/runlevels/default > > be: > > ln -s /etc/init.d/sshd /mnt/p2/etc/runlevels/default/sshd > Yes, fixed. The guide probably needs an update, I think some stuff is now upstream. Thanks for the feedback